Commit Graph

302 Commits

Author SHA1 Message Date
Christien Rioux
c272c768fc initial version of preempt for dht get_value 2024-05-21 15:08:51 -04:00
Christien Rioux
93d0031158 fix doc comment 2024-05-16 14:45:57 -04:00
Christien Rioux
f178ddcb7b Merge branch 'typos' into 'main'
Assorted comment typo and formatting fixes

See merge request veilid/veilid!277
2024-05-04 20:32:26 +00:00
John Smith
a4becfec38 add punish clear command back in 2024-05-04 13:34:33 -04:00
Sashanoraa
5da287fae4 Assorted comment typo and formatting fixes 2024-05-03 15:00:14 -04:00
Christien Rioux
6373cc0e9d more offline subkey write improvements 2024-04-23 12:22:54 -04:00
Christien Rioux
3268836a5b improve offline subkey writes to ensure failed setvalue even when online tries again
add help for record list opened as well as active watch debugging
2024-04-22 22:16:41 -04:00
Christien Rioux
4a190a6853 add offline subkeys to dht record report 2024-04-13 14:15:09 -04:00
Christien Rioux
ad085ed15e improve logging
dart ffi has duration measurements for veilid_api calls
2024-04-04 14:12:54 -04:00
Christien Rioux
39d5e0435c fix debug commands
clean up dht capabilities
add temporary fanout debugging logs
2024-04-01 22:29:04 -04:00
Christien Rioux
0589e6dc31 add entries debug command filter by capability 2024-04-01 14:34:12 -04:00
Christien Rioux
6e1439306a make valuechanged update no longer happen when value hasn't changed or is older 2024-03-31 16:34:12 -04:00
Christien Rioux
2ec00e18da Merge branch 'parse_as_target_no_async' into 'main'
Make VeilidAPI::parse_as_target a sync function

See merge request veilid/veilid!262
2024-03-30 15:14:27 +00:00
Sashanoraa
b5cf325c5a Make VeilidAPI::parse_as_target a sync function
VeilidAPI::parse_as_target doesn't perform any async operations so it
should be a sync function.
2024-03-30 10:40:29 -04:00
Christien Rioux
4a4271db61 clippy fixes and cleanup 2024-03-29 21:24:20 -04:00
Christien Rioux
c484a2ae14 remote route recordkeeping fix 2024-03-27 17:53:51 -05:00
Christien Rioux
94ce43f944 reliable + ensureordered is now the routingcontext and private route default 2024-03-27 17:53:51 -05:00
Christien Rioux
800348451e improve route selection and add generate_shared_secret 2024-03-27 17:53:51 -05:00
Christien Rioux
ee54358c27 wasm unit tests work and attachment manager fix 2024-03-27 17:53:51 -05:00
Christien Rioux
ff28273a59 wasm support for inspect and watchvalue
(needs tests)
2024-03-27 17:53:51 -05:00
Christien Rioux
cfce0a35b4 add inspect to python api 2024-03-27 17:53:51 -05:00
Christien Rioux
c9f0003150 reporting correction and better debug 2024-03-27 17:53:51 -05:00
Christien Rioux
64832748a9 proper valuesubkeyrangeset truncation 2024-03-27 17:53:51 -05:00
Christien Rioux
4cfbc18f4a better doc 2024-03-27 17:53:51 -05:00
Christien Rioux
7fdd5f9555 more inspect work 2024-03-27 17:53:51 -05:00
Christien Rioux
ea74d646f8 more inspectvalue, en route to rehydration 2024-03-27 17:53:51 -05:00
Christien Rioux
9bccb59f77 first stab at inspectvalue 2024-03-27 17:53:51 -05:00
Christien Rioux
946d33ced6 fixes for privacy issues, closes #357 2024-03-27 17:53:51 -05:00
Christien Rioux
ab419f03ef do not permit node id to be a schema member. closes #359 2024-03-27 17:53:51 -05:00
Christien Rioux
fdc3de906f major logging cleanup 2024-03-27 17:53:51 -05:00
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