Commit Graph

8155 Commits

Author SHA1 Message Date
skoupidi
d7495510dd darkfid: better locks handling and minor code improvements 2024-02-29 14:54:19 +02:00
skoupidi
dc6f4ecd6c darkfid: replaced RpcClient with RpcChadClient 2024-02-29 14:26:19 +02:00
skoupidi
d920493173 rpc/client: new RpcChadClient added 2024-02-29 14:25:23 +02:00
skoupidi
9643b5af87 rpc/from_impl: proper event-graph feature usage 2024-02-29 13:05:25 +02:00
dasman
103e7b64f8 bin/genev: add dnet task & rpc calls 2024-02-29 04:33:15 +03:00
dasman
47a319fd00 bin/genev: add deg task and related rpc calls 2024-02-29 04:28:28 +03:00
dasman
8f281cf354 bin/deg: .gitignore 2024-02-29 04:26:12 +03:00
dasman
bc1f903d57 bin/deg: introduce eventgraph debugging tool DEG 2024-02-29 04:25:34 +03:00
dasman
532d67e972 src/eventgraph: support debugging msgs 2024-02-29 04:24:34 +03:00
draoi
ecf81d9f93 net: make a generic base class for PeerDiscovery
Making PeerDiscovery generic means that in the future we can have
different types of PeerDiscovery.

Specifically, swarming requires us to have 2 kinds of Peer Discovery, a
an overlay network PeerDiscovery (like the one we have currency), and a
PeerDiscovery for subnets that looks for subnets within the overlay
network.

This paves the way for future changes of this nature
2024-02-28 13:19:22 +01:00
draoi
532168fea8 doc: small fixes on learn.md 2024-02-28 10:17:45 +01:00
parazyd
29a783f49e zk/gadget: Finish SMT gadget 2024-02-27 18:01:57 +01:00
parazyd
caac0f9bec zk/gadget: WIP sparse Merkle tree gadget implementation
Missing proper tests and appropriate API, things are likely incorrect as-is.
2024-02-27 15:59:06 +01:00
zero
c275c5c08c darkfid-single-node README: add info about scan 2024-02-27 13:34:35 +01:00
draoi
3c06e215a2 net: rename rejected to blacklist
also add documentation, and upgrade "Peer {} is blacklisted" debug statements to warnings
2024-02-27 12:44:12 +01:00
draoi
71b1e8ddab channel: create ban() method
Explicitly ban a node when it misbehaves and stop the channel.
2024-02-27 12:28:23 +01:00
draoi
e6e64911b4 update Cargo.lock 2024-02-27 11:37:51 +01:00
draoi
b1ca14688c lilith: upgrade to v0.4.2 2024-02-27 11:37:51 +01:00
draoi
3d020df820 Revert "lilith: upgrade to v0.4.2"
This reverts commit 256712017628e5a7c06872269deed8c6f19ac867.
2024-02-27 11:37:51 +01:00
draoi
75d6dbed7a lilith: upgrade to v0.4.2 2024-02-27 11:37:51 +01:00
zero
2c0a3990ed delete redundant debug messages from message.rs 2024-02-27 11:35:43 +01:00
zero
86dd32b207 fix serialization bugs in net/message.rs 2024-02-27 11:30:09 +01:00
parazyd
492974eaab zk/gadget: Implement is_equal and assert_equal chips. 2024-02-27 11:23:55 +01:00
draoi
89d7a48f8c net: fix logic bug in version exchange 2024-02-27 11:04:38 +01:00
parazyd
d9b8bcf84a net/hosts: Drop q lock when possible. 2024-02-27 10:49:12 +01:00
draoi
de78b48549 net: downgrade host (don't remove or blacklist) if we can't connect 2024-02-27 10:43:30 +01:00
skoupidi
57bb4f8477 darkfid: minor communications fixes 2024-02-26 21:42:52 +02:00
skoupidi
490615a94b .github/workflows: update apt cache before installing deps 2024-02-26 21:32:13 +02:00
skoupidi
59580b55b2 .github/workflows: update apt cache before installing deps 2024-02-26 21:27:46 +02:00
zero
18efbb9c28 book: expand contrib net task list 2024-02-26 16:35:56 +01:00
draoi
b126c6f71e outbound: don't try to connect to nodes that are being migrated 2024-02-26 15:27:58 +01:00
draoi
874c2cc85e net: only remove peer from hostlist after the configured quarantine limit 2024-02-25 13:51:27 +01:00
skoupidi
5b38b29884 darkfid/tests: ducktaping 2024-02-23 16:59:17 +02:00
skoupidi
4e8e1ea0a2 chore: clippy 2024-02-23 15:33:08 +02:00
nighthawk24
0a51a11ed0 serial/derive : Use unwrap_or_else instead of match 2024-02-23 15:29:25 +02:00
nighthawk24
9d2adcd93a runtime : Use unwrap_or_else to set retdata 2024-02-23 15:29:25 +02:00
nighthawk24
ae11be0d20 serial : Fix max_value will be deprecated: replaced by the MAX associated constant on this type 2024-02-23 15:29:25 +02:00
nighthawk24
3d4bd17a2e net/transport/tls | crypto/constants : Match the order of impl members with the trait 2024-02-23 15:29:25 +02:00
nighthawk24
668743b83a net : Remove unnecessary casts 2024-02-23 15:29:25 +02:00
nighthawk24
c25df52c64 fud | lilith | research/dhtd/ | geode | tests : Refactor to return match statements 2024-02-23 15:29:25 +02:00
skoupidi
22c4f2604b contrib/localnet/darkfid*: tmux scripts beautifications 2024-02-23 15:28:53 +02:00
skoupidi
ed96c06adb darkfid: ask peers if they are synced on sync task 2024-02-23 15:28:33 +02:00
skoupidi
b468b9c399 net/message_subscriber: new fn receive_with_timeout added on message subscription 2024-02-23 15:27:33 +02:00
skoupidi
505571188d rpc/client: new fn chad_request added 2024-02-22 20:46:04 +02:00
skoupidi
20117e3e7d darkfid/proto/protocol_proposal: added missing dispatcher 2024-02-22 20:45:14 +02:00
skoupidi
3a9455e646 contrib/localnet/darkfid*: updated tmux scripts 2024-02-22 20:44:01 +02:00
skoupidi
cff856971d darkfid: consensus fixes 2024-02-22 17:52:56 +02:00
skoupidi
5e9892363a validator: changed block ranking logic 2024-02-22 15:38:54 +02:00
zero
8ce95eeacb book/wallet: add feedback from others 2024-02-22 11:55:18 +01:00
zero
5101de7160 book: fix broken URL 2024-02-22 11:26:20 +01:00