Commit Graph

1041 Commits

Author SHA1 Message Date
Christien Rioux
5976d30832 revert fix 2024-06-02 18:15:21 -04:00
Christien Rioux
faf8347aa8 keep 'last ditch watch cancel' from failing the whole operation 2024-06-02 12:54:06 -04:00
Christien Rioux
05180252e4 * API Breaking Change: CryptoSystem.verify() should return bool, and reserve errors for error cases, not validation failures.
* API Breaking Change: VeilidAPI.verify_signatures() returns Option<TypedKeySet> now
Fixes #313
2024-05-31 16:20:58 -04:00
Christien Rioux
f9b726806c clippy fixes 2024-05-21 15:23:09 -04:00
Christien Rioux
95bccaff46 address filter cleanout during restart 2024-05-21 15:08:51 -04:00
Christien Rioux
23d160a525 more race condition cleanup 2024-05-21 15:08:51 -04:00
Christien Rioux
908bb48f8c setvalue pre-empt 2024-05-21 15:08:51 -04:00
Christien Rioux
6590b76263 correctly handle local interface address changes
closes #350
2024-05-21 15:08:51 -04:00
Christien Rioux
046c15c668 dont run routing table ticks that require the network until it has started up 2024-05-21 15:08:51 -04:00
John Smith
6a57ee50dc unify routing domain handling code, fix edge case generating sender peer info 2024-05-21 15:08:51 -04:00
Christien Rioux
25d804f11a debug command crash fix 2024-05-21 15:08:51 -04:00
Christien Rioux
2bb43cebaf fix node dead check, fix punish clear, fix debug command crashes 2024-05-21 15:08:51 -04:00
Christien Rioux
8e90a83142 valueset bugfix 2024-05-21 15:08:51 -04:00
Christien Rioux
c272c768fc initial version of preempt for dht get_value 2024-05-21 15:08:51 -04:00
Debanjan Basu
8c50a9ccea fixed bug in interpreting hash 2024-05-19 02:16:37 +10:00
Debanjan Basu
fcc9e66106 fixed bug where writing desired version 2024-05-19 01:51:55 +10:00
Debanjan Basu
22cb06ce6d fixed a bug if file does not exists 2024-05-19 01:49:52 +10:00
Debanjan Basu
d0128474ae locked in capnp compiler version 2024-05-19 01:16:21 +10:00
Debanjan Basu
b44b5064dc minor capnp version bump 2024-05-17 17:27:52 +10:00
Debanjan Basu
293119ace6 updated hash comparison mechanism 2024-05-17 17:07:13 +10:00
Debanjan Basu
29d4de05ea Merge branch veilid:main into main 2024-05-17 07:06:48 +00:00
Christien Rioux
93d0031158 fix doc comment 2024-05-16 14:45:57 -04:00
Debanjan Basu
f6772a2894 updated to reflect changes if installed capnp versions get changed 2024-05-15 12:26:58 +10:00
Debanjan Basu
27d0037c56 updated capnp version 2024-05-14 22:46:44 +10:00
Christien Rioux
aec31443a0 consider nodes with allocated relays as disqualified from being a relay themselves 2024-05-05 16:52:35 -04:00
Christien Rioux
55de1dcb5c set default port to 5150 for veilid-server in config
improve testing fixtures
2024-05-05 09:55:01 -04:00
John Smith
a1b6da5ab4 keep retrying to start veilid-server 2024-05-04 16:38:36 -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
b71cb0ea6c Fix errors from new 1.78 clippy lints 2024-05-03 15:00:14 -04:00
Sashanoraa
5da287fae4 Assorted comment typo and formatting fixes 2024-05-03 15:00:14 -04:00
Christien Rioux
bcee358a0e update ndk and gradle versions
add subpackage to veilid-flutter with test fixtures for writing veilid integration tests in dart
2024-04-30 17:44:12 -04:00
TC Johnson
bdb7ad32f2
Version update: v0.3.1 → v0.3.2 2024-04-28 17:33:07 -05:00
Christien Rioux
b0ccd04a9f fix WASM build
improve Earthfile with better unit tests and updated dependencies
2024-04-28 16:15:09 -04:00
Christien Rioux
eba349d22c integration test for dht records 2024-04-28 12:42:13 -04:00
Christien Rioux
bac12131c6 fix bug where messages sent to a private route without a safety route would not receive replies
fix verbose-tracing feature flag
improve route allocation to avoid co-located nodes
2024-04-27 22:05:19 -04:00
Christien Rioux
7c7ea4e3c7 fix contact method for nodes on the same ipblock 2024-04-27 19:06:30 -04:00
Christien Rioux
b3c7c93f97 add support for maintaining AddressType-translation relays 2024-04-27 16:41:26 -04:00
Christien Rioux
4d9ad5fac0 fix inbound protocol map for discovery 2024-04-26 19:56:33 -04:00
John Smith
06aa4cfa69 windows fix 2024-04-26 16:34:58 -04:00
John Smith
4906c5df78 more refactor and clean up low level networking 2024-04-26 15:23:38 -04:00
John Smith
03e872c128 refactor net bind, wip 2024-04-25 21:32:35 -04:00
Christien Rioux
82d107f446 watchvalue debugging and improved timeout 2024-04-24 22:43:48 -04:00
Christien Rioux
d3b596a70e fix fanout regression 2024-04-23 18:52:38 -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
43e6be2912 add ping validator every 10 seconds for active watch nodes 2024-04-21 20:24:20 -04:00
Christien Rioux
ee040b32b9 don't fan out for watch value changes or cancels
fix fanout pop ordering
2024-04-21 18:01:06 -04:00
Christien Rioux
a0de48771e Merge branch 'main' into 'main'
removed hotfix, as this has been integrated into cargo-ndk already

See merge request veilid/veilid!269
2024-04-20 15:14:33 +00:00
Christien Rioux
62c38a7642 valuechange now fires for offline writes 2024-04-19 15:00:43 -04:00
Debanjan Basu
70bc2235d7 upgraded the ndk version 2024-04-14 15:31:16 +10:00
Christien Rioux
4a190a6853 add offline subkeys to dht record report 2024-04-13 14:15:09 -04:00
Debanjan Basu
0756107d95 removed hotfix, as this has been integrated into cargo-ndk already 2024-04-13 19:34:47 +10:00
Christien Rioux
ce3d333397 fanout seeding 2024-04-07 16:19:22 -04:00
Christien Rioux
918cd0de95 seed dht fanout 2024-04-07 11:43:34 -04:00
Christien Rioux
149aa49575 fix set dht value during a sequence number conflict 2024-04-06 22:33:00 -04:00
Christien Rioux
6f49acffbb watch member check bugfix 2024-04-06 20:20:10 -04:00
Christien Rioux
0b587e8f04 minor android fixes 2024-04-05 21:22:42 -04:00
TC Johnson
3effd2deef Version update: v0.3.0 → v0.3.1
Signed-off-by: TC Johnson <tc@veilid.org>
2024-04-04 19:35:13 -05:00
Christien Rioux
0ab27a6dea Merge branch 'dht-triage' into 'main'
DHT cleanup

See merge request veilid/veilid!266
2024-04-04 23:31:32 +00:00
Christien Rioux
ad085ed15e improve logging
dart ffi has duration measurements for veilid_api calls
2024-04-04 14:12:54 -04:00
Sergei Surovtsev
53555a5ebe fix dht rust integration test 2024-04-03 12:33:55 +03:00
Christien Rioux
9eaa353d57 correct the inspect capabilities too, don't worry about backward compatibility here. 2024-04-02 14:01:47 -04:00
Christien Rioux
3e7e0a381a fix default timestamp behind/ahead 2024-04-01 22:50:02 -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
ca9fec75d2 allow value changed data to be optional in rpc schema 2024-03-31 21:35:52 -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
TC Johnson
9d3ee579d3 Version update: v0.2.5 → v0.3.0 2024-03-27 21:11:00 -05:00
Christien Rioux
00758d3146 clean up rpc logging 2024-03-27 17:53:51 -05:00
Christien Rioux
8fd0491d11 fix crlf 2024-03-27 17:53:51 -05:00
Christien Rioux
6ed458260a fallback for inbound relaying 2024-03-27 17:53:51 -05:00
Christien Rioux
4d7e7ab3bd reduce this to a trace 2024-03-27 17:53:51 -05:00
Christien Rioux
d999ade143 reduce this to a trace 2024-03-27 17:53:51 -05:00
Christien Rioux
c484a2ae14 remote route recordkeeping fix 2024-03-27 17:53:51 -05:00
Christien Rioux
a5ffcee36f add missing file 2024-03-27 17:53:51 -05:00
Christien Rioux
b7aedbbe7d add missing expiration check for server side watches 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
37dbbc39fd testing cleanup 2024-03-27 17:53:51 -05:00
Christien Rioux
30cc4a814b add python watch test 2024-03-27 17:53:51 -05:00
Christien Rioux
3970b6f294 fix flutter/dart wasm 2024-03-27 17:53:51 -05:00
Christien Rioux
d586748333 add inspect test to wasm 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
39eee4708c more cleanup 2024-03-27 17:53:51 -05:00
Christien Rioux
630d2a53b1 clarify 2024-03-27 17:53:51 -05:00
Christien Rioux
d800f39c28 xfer 2024-03-27 17:53:51 -05:00
Christien Rioux
64832748a9 proper valuesubkeyrangeset truncation 2024-03-27 17:53:51 -05:00
John Smith
d67ef0eb2c increase minimum number of nodes for bootstrap 2024-03-27 17:53:51 -05:00
Christien Rioux
8bc3e7f9ef improve internal doc on validation 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
7a1e6f96e6 fix bugs 2024-03-27 17:53:51 -05:00