0g-storage-node/node/router/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
..
batcher.rs Enhance P2P network protocol to support batch messages for performance concern (#173) 2024-08-29 09:55:24 +08:00
lib.rs Supports custom public ip to announce file (#233) 2024-10-14 14:57:42 +08:00
libp2p_event_handler.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 Add shard config in STATUS message and only dail to shard config matched peers (#285) 2024-11-25 10:15:30 +08:00
peer_manager.rs Filter out file announcement of private ip (#113) 2024-07-08 18:45:55 +08:00
service.rs Add shard config in STATUS message and only dail to shard config matched peers (#285) 2024-11-25 10:15:30 +08:00