0g-storage-node/node/network/src
Bo QIU b9e6431a4d
Add shard config in STATUS message and only dail to shard config matched peers (#285)
* Add shard config in status message

* verify shard config for status message

* Notify peer connected to sync layer after status message exchanged

* Do not dial to shard config mismatched peers

* Upgrade network protocol version

* disconnect peer instead of ban peer if shard config mismatch

* Add python test for TCP connection by shard config
2024-11-25 10:15:30 +08:00
..
behaviour Ban peer if failed to decode pubsub message (#259) 2024-11-05 15:10:44 +08:00
discovery Refuse network identity incompatible nodes in UDP discovery layer (#253) 2024-10-30 17:26:02 +08:00
peer_manager Add shard config in STATUS message and only dail to shard config matched peers (#285) 2024-11-25 10:15:30 +08:00
rpc Add shard config in STATUS message and only dail to shard config matched peers (#285) 2024-11-25 10:15:30 +08:00
types Implement file sync protocol V2 (#249) 2024-10-28 14:56:08 +08:00
config.rs Improve rate limit for UDP discovery (#261) 2024-11-06 18:25:08 +08:00
lib.rs Add shard config in STATUS message and only dail to shard config matched peers (#285) 2024-11-25 10:15:30 +08:00
metrics.rs Initial commit 2024-01-04 18:05:32 +08:00
nat.rs Add more metrics for network unbounded channel (#264) 2024-11-12 17:25:49 +08:00
service.rs Add more metrics for network unbounded channel (#264) 2024-11-12 17:25:49 +08:00