0g-storage-node/node
Bo QIU 9b68a8b7d7
Some checks failed
abi-consistent-check / build-and-compare (push) Has been cancelled
code-coverage / unittest-cov (push) Has been cancelled
rust / check (push) Has been cancelled
rust / test (push) Has been cancelled
rust / lints (push) Has been cancelled
functional-test / test (push) Has been cancelled
Implement file sync protocol V2 (#249)
* 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
..
chunk_pool Handle chunk write of rpc in parallel. (#126) 2024-07-15 15:50:51 +08:00
file_location_cache Adjust default value for testnet configs (#180) 2024-09-05 10:09:29 +08:00
log_entry_sync Optimizing recover perf by reducing sync progress events (#244) 2024-10-21 21:24:50 +08:00
miner Remove sender from contract call. (#242) 2024-10-21 16:58:50 +08:00
network Implement file sync protocol V2 (#249) 2024-10-28 14:56:08 +08:00
pruner do not fail on pruner first reward chunk revert error (#205) 2024-09-19 17:33:56 +08:00
router Implement file sync protocol V2 (#249) 2024-10-28 14:56:08 +08:00
rpc Test flow root consistency (#230) 2024-10-15 14:24:56 +08:00
shared_types fix: pad tx based on the on-chain contract result. (#224) 2024-10-09 15:20:42 +08:00
src Use LRU to cache MPT nodes. (#227) 2024-10-27 12:52:06 +08:00
storage Hardcode pad data segment root. (#250) 2024-10-27 20:58:03 +08:00
storage-async @peter/async padding (#219) 2024-10-08 13:13:32 +08:00
sync Implement file sync protocol V2 (#249) 2024-10-28 14:56:08 +08:00
.gitignore Initial commit 2024-01-04 18:05:32 +08:00
Cargo.toml opt zgs version (#211) 2024-09-24 16:42:38 +08:00