Commit Graph

6611 Commits

Author SHA1 Message Date
x
ebe6f4e5c4 net/dnet: add outbound connected/disconnected events 2023-08-22 13:52:03 +02:00
parazyd
a0b73961fb system: Use a bounded channel for StoppableTask. 2023-08-22 09:49:13 +02:00
parazyd
f782c236a4 system: Fully port to smol runtime. 2023-08-22 09:38:22 +02:00
aggstam
88d3a808d3 darkirc: forgotten detach() removed 2023-08-22 03:08:39 +03:00
aggstam
6ff0ddbd1d darkirc: use StoppableTask instead of detach() 2023-08-22 03:03:15 +03:00
aggstam
4be7ecd91c dhtd: use StoppableTask instead of detach()
This bin is broken/to-be-removed but I did it for consinstency sake
2023-08-22 02:19:33 +03:00
aggstam
1f50b676c3 chore: minor cleanup 2023-08-22 02:05:47 +03:00
aggstam
9ee8bae58e fud: use StoppableTask instead of detach() 2023-08-22 02:05:34 +03:00
aggstam
e25b243676 chore: minor cleanup 2023-08-22 01:53:02 +03:00
aggstam
7178bdb786 genevd: use StoppableTask instead of detach() 2023-08-22 01:52:42 +03:00
aggstam
fb0102a7e0 taud: use StoppableTask instead of detach() 2023-08-22 01:39:57 +03:00
aggstam
8cf64c489f faucetd: log targets added 2023-08-21 19:53:37 +03:00
aggstam
a2cf1149a8 faucetd: use StoppableTask instead of detach() 2023-08-21 19:50:08 +03:00
aggstam
3ee4db23d9 lilith: use StoppableTask for periodic prune task 2023-08-21 19:37:22 +03:00
aggstam
9044a15083 lilith: log targets added 2023-08-21 19:28:22 +03:00
aggstam
3335c203bc lilith: use StoppableTask instead of detach() 2023-08-21 19:25:06 +03:00
aggstam
3f6b79908b darkfid: use StoppableTask instead of detach() 2023-08-21 19:15:43 +03:00
aggstam
dbe413d8f0 darkfid2: use StoppableTask instead of detach() 2023-08-21 19:01:16 +03:00
aggstam
6c08581c8e chore: ported tests to new rpc impl 2023-08-21 17:02:08 +03:00
parazyd
fe4079c4ee Apply minor lints and cleanups. 2023-08-21 15:13:54 +02:00
parazyd
8fed5c49d3 consensus/validator: Disable subscriber notify functions.
The module is scheduled for deletion.
2023-08-21 14:47:44 +02:00
parazyd
717669bde7 taud: Convert common structs to a library. 2023-08-21 14:44:39 +02:00
parazyd
2eea9daffd taud: Finish new RPC port. 2023-08-21 14:44:39 +02:00
parazyd
805d465410 nodetool: Fix behaviour. 2023-08-21 12:01:19 +02:00
parazyd
27466c37e3 darkirc: Minor cleanup regarding dnet. 2023-08-21 12:01:19 +02:00
parazyd
5e839ac237 nodetool: Add license header. 2023-08-21 12:01:19 +02:00
parazyd
017cf68480 net/p2p: Expose the dnet subscriber through a function. 2023-08-21 12:01:19 +02:00
parazyd
02b15fd1c9 net/channel: Make ChannelInfo ID a u32. 2023-08-21 12:01:19 +02:00
parazyd
ee6d1d7b92 rpc: Add a few From impls from net module. 2023-08-21 12:01:18 +02:00
parazyd
d3f3ac8737 rpc: Have JSON notifications take JsonValue as params.
This outsources encoding/serialization to the caller.
2023-08-21 11:41:39 +02:00
parazyd
ebb4cab0ea chore: Add missing license headers. 2023-08-21 10:35:00 +02:00
x
e23fb30604 p2p: debug net info cleanup and add support to darkirc 2023-08-21 10:20:37 +02:00
Dastan-glitch
911262053c bin/darkirc: update tmux test script 2023-08-21 05:09:21 +03:00
Dastan-glitch
fc8740fe91 bin/darkirc: implement removing events older than one week, and save/load tree state 2023-08-21 05:05:17 +03:00
parazyd
4060ad6821 tau: WIP RPC update. 2023-08-20 18:53:52 +02:00
parazyd
a80a62ddf7 darkirc: Update to new RPC dependencies. 2023-08-20 18:53:52 +02:00
parazyd
f85d0d6c46 darkfid2: Update to new RPC dependencies. 2023-08-20 18:53:52 +02:00
parazyd
db607de661 darkfid: Update to new RPC dependencies. 2023-08-20 18:53:52 +02:00
parazyd
26aeb0829e faucetd: Update to new RPC dependencies. 2023-08-20 18:53:52 +02:00
parazyd
b473599b9b genev: Update to new RPC dependencies. 2023-08-20 18:53:52 +02:00
parazyd
3703c9abd6 fud: Update to new RPC dependencies. 2023-08-20 18:53:52 +02:00
parazyd
52f3b09769 lilith: Update to new RPC dependencies. 2023-08-20 18:53:52 +02:00
parazyd
21dd80ae99 rpc: Replace serde_json with tinyjson. 2023-08-20 18:53:52 +02:00
parazyd
56eda79c1b example: Remove rpc client/server.
They're essentially provided in tests/
2023-08-20 18:53:52 +02:00
parazyd
332b65cc74 rpc/clock_sync: Remove peer_request method.
This should not be done over JSON-RPC but rather in p2p.
2023-08-20 18:53:52 +02:00
parazyd
50ac8bf93c net: Remove most of dnet and replace with a ChannelInfo subscriber.
We want to make dnet event-based and not a polling thing, and we also
want to remove the JSON dependency directly in the p2p library. Such
format conversions should happen out of the library, likely in the
daemon providing debugging info.
2023-08-20 18:53:52 +02:00
parazyd
cf002a03b0 system/subscriber: Change SubscriptionId type to usize. 2023-08-20 18:53:52 +02:00
x
d4cf61f8fa script: add a nodetool. Since p2p is likely to change, just leave this code here since it has jsonrpc snippet in python we can use later. 2023-08-20 14:00:50 +02:00
x
d8c9f893a1 Revert "net: these lines aren't needed. The enable/disable guard is simply for channel message logging. The other info is still accessible and adds no costs."
This reverts commit 977f3027ff.
2023-08-20 13:50:43 +02:00
x
977f3027ff net: these lines aren't needed. The enable/disable guard is simply for channel message logging. The other info is still accessible and adds no costs. 2023-08-20 13:44:44 +02:00