Commit graph

26 commits

Author SHA1 Message Date
Alex f35fa7d18d
Move things around 2022-07-21 17:37:52 +02:00
trinity-1686a 4745e7c4ba further work on streams
most changes still required are related to error handling
2022-06-08 09:54:38 +02: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 94c01a3565
try fix 2021-10-21 12:14:19 +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 01a2737bd8
Document 2021-10-14 11:35:05 +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
Alex f87dbe73dc
WIP v0.3.0 with changed API 2021-10-12 17:59:46 +02:00
Alex 50806b54b7
fix cargo fmt style 2021-10-12 13:33:42 +02:00
Alex 74e661febe
Fix clippy lints 2021-10-12 13:18:24 +02:00
Alex 7753b789b7
Upgrade to tokio 1.0 2021-10-12 13:07:34 +02:00
Alex 6ccf3a8495 Add resilience when peer_addr() fails 2021-02-17 17:43:07 +01:00
Alex 9e38b82edc Update documentation 2020-12-14 11:41:25 +01:00
Alex 6742638c81 Replace pk,pubkey,PublicKey by id,NodeID,etc 2020-12-12 21:14:15 +01:00
Alex 5040198972 Make it passive-client-friendly 2020-12-12 19:27:18 +01:00
Alex 609f0387ca Add ability to specify our public addr for people to contact us back 2020-12-11 15:53:59 +01:00
Alex 58ec2abe1a Small changes 2020-12-07 18:07:55 +01:00
Alex 5a9ae8615e Do not close connections immediately on close signal, await for remaining responses 2020-12-07 13:35:24 +01:00
Alex 83789a3076 Call on_disconnected_handler earlier (as soon as .disconnect() is called) 2020-12-07 12:39:34 +01:00
Alex 14d34e76f4 Documentate 2020-12-02 20:12:24 +01:00
Alex 46fae5d138 Better handle requests to ourself 2020-12-02 18:10:07 +01:00
Alex d4de2ffc40 First commit 2020-12-02 13:30:47 +01:00