0g-storage-node/run
Bo QIU 9b68a8b7d7
Implement file sync protocol V2 ()
* Add new P2P protocol NewFile

* Publish NewFile message when any file finalized

* handle NewFile message in router

* handle NewFile in sync servic to write in db

* use propagation source to handle NewFile message

* Disable sequential sync and store new file in v2 sync store

* Add shard config in FindFile

* Add AnnounceFile RPC message in network layer

* do not propagate FindFile to whole network

* Mark peer connected if FileAnnouncement RPC message received

* fix unit test failures

* Change P2P protocol version

* Ignore py tests of sequential auto sync

* Add py test for auto sync v2

* fmt code

* remove dummy code in py test

* fix random test failure

* Add comments

* Enable file sync protocol v2 in config file by default
2024-10-28 14:56:08 +08:00
..
config-testnet-standard.toml Implement file sync protocol V2 () 2024-10-28 14:56:08 +08:00
config-testnet-turbo.toml Implement file sync protocol V2 () 2024-10-28 14:56:08 +08:00
config.toml Implement file sync protocol V2 () 2024-10-28 14:56:08 +08:00
log_config Config query context interval & Add config comments () 2024-08-27 17:36:36 +08:00
log_config_debug opt router debug logs () 2024-08-16 10:34:28 +08:00