Commit Graph

272 Commits

Author SHA1 Message Date
Christien Rioux
86f7473727 clarify semantics 2024-03-27 17:53:51 -05:00
Christien Rioux
9b4e490994 break everything / xfer 2024-03-27 17:53:51 -05:00
Christien Rioux
e009b1097b watch ids 2024-03-27 17:53:51 -05:00
Christien Rioux
4b632d8156 more debugging 2024-03-27 17:53:51 -05:00
Christien Rioux
78e5590d5b fix record debug 2024-03-27 17:53:50 -05:00
Christien Rioux
8818e63dc0 add default veilid config to the api 2024-03-27 17:53:50 -05:00
Christien Rioux
ef6ecdab79 logging improvements 2024-03-27 17:53:50 -05:00
Christien Rioux
292664f3fe add veilid_api logging to debug calls through the api 2024-03-27 17:53:50 -05:00
Christien Rioux
0c3271b3b9 add writer to set_dht_value, allow multiple open_dht_record 2024-03-27 17:53:50 -05:00
Salvatore Testa
5e55be4b7a
Make Target copy-able
Clippy also informed us that we can drop some of the clone calls.

```
❯ cargo clippy
    Checking veilid-core v0.2.5 (~/Developer/veilid/veilid-core)
error: using `clone` on type `Target` which implements the `Copy` trait
   --> veilid-core/src/storage_manager/record_store.rs:912:33
    |
912 |                         target: w.target.clone(),
    |                                 ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `w.target`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
note: the lint level is defined here
   --> veilid-core/src/lib.rs:25:9
    |
25  | #![deny(clippy::all)]
    |         ^^^^^^^^^^^
    = note: `#[deny(clippy::clone_on_copy)]` implied by `#[deny(clippy::all)]`

error: using `clone` on type `Target` which implements the `Copy` trait
   --> veilid-core/src/storage_manager/watch_value.rs:199:21
    |
199 |                     target.clone(),
    |                     ^^^^^^^^^^^^^^ help: try removing the `clone` call: `target`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

error: using `clone` on type `Target` which implements the `Copy` trait
   --> veilid-core/src/storage_manager/mod.rs:737:17
    |
737 |                 vc.target.clone(),
    |                 ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `vc.target`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

error: could not compile `veilid-core` (lib) due to 3 previous errors
```
2024-02-01 14:32:30 -08:00
John Smith
7129343ea1 some debugging for bootstrap and route purge 2024-01-19 13:53:43 -05:00
John Smith
277aed5d40 private route respondto fix 2024-01-19 13:53:43 -05:00
John Smith
a076082763 punish clear 2024-01-19 13:53:43 -05:00
John Smith
2ffba2c528 bug fixes 2024-01-19 13:53:43 -05:00
Christien Rioux
8ed3f0672e fix clear screen 2024-01-19 13:53:43 -05:00
Christien Rioux
88d13d36c9 cleanup 2024-01-19 13:53:43 -05:00
John Smith
cdf823c1cc better debug commands for dht 2024-01-19 13:53:43 -05:00
Christien Rioux
a67bfde1f7 send valuechanged 2024-01-19 13:53:42 -05:00
Christien Rioux
d1dad8de61 checkpoint 2024-01-19 13:53:42 -05:00
Christien Rioux
9b8420d288 more watchvalue 2024-01-19 13:53:42 -05:00
Christien Rioux
a211c7cce3 more watchvalue 2024-01-19 13:53:42 -05:00
Christien Rioux
248f8dad06 watchvalue recordkeeping 2024-01-19 13:53:42 -05:00
Christien Rioux
70e256a25a checkpoint 2024-01-19 13:53:42 -05:00
Kyle H
af27b5aa85 Change 'whitelist' to 'allowlist' globally. 2023-11-23 14:49:45 +00:00
Christien Rioux
765ecee450 Merge branch 'safety-by-default' into 'main'
Safety by default

See merge request veilid/veilid!235
2023-11-06 01:40:02 +00:00
Christien Rioux
071d294a70 use Reliable and PreferOrdered by default for private routes 2023-11-05 19:48:33 -05:00
Christien Rioux
ee375ad430 safety by default 2023-11-05 18:38:05 -05:00
Christien Rioux
1b380cd915 Merge branch 'kyanha-safety-route-bidi' into 'main'
Make private route allocation bidirectional

Closes #341

See merge request veilid/veilid!231
2023-11-05 14:30:10 +00:00
Christien Rioux
ee1472f3ae fix #337 2023-11-04 19:53:14 -04:00
Christien Rioux
facb343160 clean up protect/refs 2023-11-04 19:53:14 -04:00
Christien Rioux
b964ddb6eb protect route hops + refactor 2023-11-04 19:53:14 -04:00
Kyle H
6ee78700f1 Make private route allocation bidirectional 2023-10-28 04:47:31 -04:00
Christien Rioux
697ac5e9ce error cleanup 2023-10-21 15:00:50 -04:00
Christien Rioux
97be49a9a7 clean up handling of errors in route spec store 2023-10-20 22:39:09 -04:00
Bruno Bigras
20442f7b9a fix typos 2023-10-05 12:11:42 -04:00
Brandon Vandegrift
80afa19678 (wasm) Treat arbitrary byte data as Uint8Array, instead of base64url marshalling. 2023-09-20 00:46:45 -04:00
Christien Rioux
f596b3ce05 more clippy 2023-09-18 15:22:40 -04:00
Christien Rioux
6438a64fc7 clippy work 2023-09-17 19:37:02 -04:00
Christien Rioux
eda99bbd47 node search fix 2023-09-16 16:51:59 -04:00
Christien Rioux
3a4c211e85 resolve work 2023-09-16 16:51:58 -04:00
Christien Rioux
bce74026d3 Merge branch 'more-debug-commands' into 'main'
Debugging

See merge request veilid/veilid!188
2023-09-14 18:06:34 +00:00
Christien Rioux
671f349578 conn table 2023-09-12 21:40:13 -04:00
Brandon Vandegrift
c2c607efac (wasm) Better TS types for serialized structs, RoutingContext++, more crypto fns 2023-09-11 18:42:05 -04:00
Christien Rioux
5b3d589bf2 print max 2023-09-10 20:36:39 -04:00
Christien Rioux
b3294d905d rename 2023-09-10 20:30:29 -04:00
Christien Rioux
6e26fb4c8f more nodeinfo 2023-09-10 20:16:57 -04:00
Christien Rioux
a5e17a0d65 appreply 2023-09-10 17:07:22 -04:00
Christien Rioux
28b08034f5 appmessage/call commands 2023-09-10 15:53:19 -04:00
Christien Rioux
b51e14783b resolve node 2023-09-10 11:56:50 -04:00
Christien Rioux
607b595807 fixes 2023-09-10 11:24:52 -04:00