Commit Graph

16 Commits

Author SHA1 Message Date
peilun-conflux
0c123500c9
Update the merkle tree with proof data. (#9)
* Add proof data for chunk proof.

* Support file proof.

* Update with segment proof and fix issues.

* Fix more issues.

* Fix the process of file proof.

* Merge branch 'main' into fix_proof

* Enable sync_test.

* Fix wrongly updated submodule.

* Fix bsc node version.
2024-01-26 10:29:09 +08:00
Bo QIU
2c2dba8730
fix ci failure (#10)
* fix ci failure

* fix ci failures

* fix py test issue

* disable --all-features for code coverage CI

* do not fail ci if failed to upload code coverage
2024-01-25 19:00:00 +08:00
Bo QIU
8b225fde43
Fix python test (#8)
* Fix stdouterr issue when shutdown storage node

* Fix random failure for submission test

* add more info for failed rpc

* use single file instead of subprocess pipe to launch CLI

* Opt test_all for windows

* wait for log entry before file sync by admin
2024-01-24 20:42:25 +08:00
MiniFrenchBread
7479f56474
feat: write cached segments to storage on log synced (#7) 2024-01-23 18:47:14 +08:00
peilun-conflux
77bf2e122f
Merge pull request #6 from zero-gravity-labs/test-sync-chunks
add python test for chunks sync by rpc
2024-01-23 00:06:14 +08:00
boqiu
99ead6423b add python test for chunks sync by rpc 2024-01-22 18:19:28 +08:00
Bo QIU
613c1a8eb5
add readme for python tests (#5) 2024-01-19 21:26:33 +08:00
peilun-conflux
877f484dd0
Merge pull request #2 from zero-gravity-labs/filter_address
Filter address in log sync.
2024-01-19 19:45:27 +08:00
Bo QIU
9b4b0436c3
Supports to sync partial chunks (#4)
* refactor p2p signed message

* add new pubsub messages in network layer to find chunks

* handle find chunks pubsub message in router

* Supports to sync partial chunks

* add admin rpc to sync chunks

* limit number of chunks to sync at a time

* refactor code to sync file and chunks

* add more switches to trigger file sync

* fix ut failure

* refactor code
2024-01-19 14:04:59 +08:00
Bo QIU
971d344acd
fmt code (#3) 2024-01-19 10:56:59 +08:00
Peilun Li
a26cef470a Merge branch 'main' into filter_address 2024-01-17 10:57:59 +08:00
Peilun Li
986bfa412c Add to start_recover. 2024-01-17 10:57:07 +08:00
peilun-conflux
5253436226
Merge pull request #1 from zero-gravity-labs/disable_check
Disable write window size check.
2024-01-17 10:55:34 +08:00
Peilun Li
e236c2f70a Filter address in log sync. 2024-01-16 17:54:23 +08:00
Peilun Li
6e15838060 Disable write window size check. 2024-01-10 17:29:11 +08:00
Peilun Li
9058467be1 Initial commit 2024-01-04 18:05:32 +08:00