Commit Graph

97 Commits

Author SHA1 Message Date
Alex 648e015e3a
Update version 2022-05-09 12:01:02 +02:00
Alex 12fb3516c0
Also add addresses from incoming connections 2022-05-09 12:00:01 +02:00
Alex 677c471548
Handle the possibility of several alternative IP addresses for peers 2022-05-09 11:54:34 +02:00
Alex faecefc7a8
Fix span kind for RPC client side 2022-04-07 10:31:37 +02:00
Alex b1425230cc
Release 0.4.1 2022-03-15 17:05:29 +01:00
Alex 22eaa0f404
Add logic to handle ping timeouts and other failures 2022-03-15 17:03:41 +01:00
Alex fa7cdf3747
Fix test 2022-02-21 17:11:15 +01:00
Alex 96d1f14966
Avoid logging full node IDs 2022-02-21 16:57:07 +01:00
Alex 8858c94289
Implement version tag for application as well 2022-02-21 16:43:17 +01:00
Alex 96a3cc1e1f
Implement version check & transmit more error info 2022-02-21 13:45:41 +01:00
Alex 5bf3886fa2
fix 2022-02-21 13:11:49 +01:00
Alex 8f5cf60da3
Add missing deps to drone 2022-02-21 12:20:19 +01:00
Alex 3535d15bbd
Fix imports; rust stable in CI 2022-02-21 12:17:01 +01:00
Alex f439716500
remove unneeded dependency 2022-02-21 12:04:43 +01:00
Alex 706a3b4ac4
Formatting & clippy 2022-02-21 12:04:09 +01:00
Alex 3b8bff6341
Refactoring 2022-02-21 12:01:04 +01:00
Alex 109d6c143d Add length of query to span 2022-02-18 20:23:10 +01:00
Alex fb6b4dc9a9 Correct implementation of distributed tracing 2022-02-18 20:10:46 +01:00
Alex ab0f7785ae Add telemetry 2022-02-18 19:01:59 +01:00
Alex dc0b5c0305
Add method to know endpoint path 2022-02-16 13:00:26 +01:00
Alex c20d36892b
Ignore error when sending goodbye 2021-10-25 13:58:42 +02:00
Alex bb4ddf3b61
Better handle connection closing 2021-10-25 09:27:57 +02:00
Alex 9b64c27da6
clippy & fmt 2021-10-22 15:20:07 +02:00
Alex 57327f10e2
fix again 2021-10-21 12:33:35 +02:00
Alex d15378a224
invoke handler that wasn't invoked 2021-10-21 12:24:42 +02:00
Alex 94c01a3565
try fix 2021-10-21 12:14:19 +02:00
Alex e9add586a5
Add test for priority queue (it seems to work as intended) 2021-10-20 16:32:47 +02:00
Alex de981aace0
apply fmt 2021-10-18 12:59:55 +02:00
Alex cbdd6ab215
Make try_connect take &Arc<Self>
Actually no
2021-10-18 12:59:24 +02:00
Alex b32a799c76
Return None when no IPs could be resolved 2021-10-18 12:41:46 +02:00
Alex 238c0162c0
Add parse_and_resolve_peer_addr 2021-10-18 12:39:19 +02:00
Alex e621ba49de
Fix test 2021-10-18 11:29:41 +02:00
Alex dfb0ebb8e1
Full mesh peering strategy uses our local address if necessary 2021-10-15 15:34:03 +02:00
Alex 48d6a72ebd
Update kuska-handshake dependency to use official 0.2.0 release 2021-10-15 10:39:40 +02:00
Alex cfa64bc745
Add netapp function to drop all handlers 2021-10-14 17:33:12 +02:00
Alex 8a0bfa0ff6
Change call() to take a ref to the message to be sent
Handlers also receive a ref
2021-10-14 16:11:07 +02:00
Alex fba49cf93d
Add .is_up() on connection state 2021-10-14 14:13:44 +02:00
Alex fe16ff25e9
Export NodeKey and NetworkKey types 2021-10-14 12:08:39 +02:00
Alex 7e49d0dac8
Make a public function to parse peer addresses 2021-10-14 11:58:09 +02:00
Alex d62b161040
Remove some dependencies 2021-10-14 11:48:14 +02:00
Alex 01a2737bd8
Document 2021-10-14 11:35:05 +02:00
Alex baa714538d
Update dependencies 2021-10-14 10:50:14 +02:00
Alex e0c63415d3
Fix cargo fmt 2021-10-13 18:07:34 +02:00
Alex abaff96f7d
test in separate drone step (redundant stuff tho) 2021-10-13 18:06:16 +02:00
Alex dd881e2e60
Add a modest integration test 2021-10-13 18:05:49 +02:00
Alex 7eea46dcf3
Properly implement watches for Basalt 2021-10-13 17:30:41 +02:00
Alex bc86bd3986
improve comment 2021-10-13 17:14:26 +02:00
Alex 70839d70d8
Try to handle termination and closing of stuff properly 2021-10-13 17:12:13 +02:00
Alex 8dede69dee
Fix netapp protocol & adapt basalt to new api 2021-10-13 12:33:14 +02:00
Alex d9bd1182f7
Move out things from conn.rs into two separate files 2021-10-12 18:13:07 +02:00