Commit Graph

13 Commits

Author SHA1 Message Date
0g-peterzhb
cfe4b45c41
add api of getting available file info by root ()
* add api of getting available file info by root
2025-03-24 16:51:53 +08:00
Bo QIU
baf0521c99
copy key file to bootnode folder in python tests () 2024-11-06 14:01:47 +08:00
bruno-valante
b2a70501c2
Test flow root consistency () 2024-10-15 14:24:56 +08:00
Bo QIU
ad80b22a1b
Optimize rpc config () 2024-09-25 16:48:40 +08:00
Bo QIU
b6972b97af
Adjust default value for testnet configs ()
* Adjust default value for testnet configs

* Supports to disable sequential auto sync

* Add py tests for auto sync

* fix py file name

* rm dummy ;py code

* change default block confirm count
2024-09-05 10:09:29 +08:00
peilun-conflux
1c72607fbc
Set sync start index based on data in db. ()
* Set sync start index based on data in db.

* Fix test.

* nit.
2024-08-23 12:41:25 +08:00
peilun-conflux
d80e7e22ca
Prune no reward chunks. ()
* Prune no reward chunks.

* Add tests.

* Fix tests.

* Fix clippy.

* Revert test.

* Enable market in shard_sync_test.

* Add tx prune status.

* Fix tests.
2024-08-06 15:06:15 +08:00
MiniFrenchBread
533bacb234
fix: admin_getFileLocation; test: sync test ()
* feat: add all_shards in admin_getFileLocation

* fix: admin_getFileLocation

* test: improve sync test

* fix: lint
2024-07-23 15:47:44 +08:00
peilun-conflux
c2c6e2d5fb
Store shard config for peers and choose sync peers accordingly. ()
* Implement Pruner.

* Put pruner in a crate.

* Fix clippy.

* Add rpc zgs_getShardConfig.

* Fix.

* Increase wait time.

* Add pruner_test and use max_num_chunks instead of size_limit.

* Store shard config for peers and choose sync peers accordingly.

* Add test and fix sync.

* Fix clippy and test.

* Fix some ut.

* Add AnnounceShardConfig gossip and fix tests.

* Add sharded tx finalize check in LogManager.

* Try,

* Rename.

* Longer timeout for mine_test.

* Save test logs.
2024-06-07 16:58:15 +08:00
Bo QIU
3e22a6a027
Supports evmos as blockchain fullnode in python tests ()
* refine blockchain type

* Supports evmos

* cp evmos to code dir

* improve timestamp
2024-04-09 15:45:02 +08:00
Bo QIU
c2b8b1cab3
Rpc enhancements ()
* add admin rpc to terminate file or chunks sync

* Disallow to change file sync goal when failed

* split admin rpc into separate endpoints

* Support to launch public and private rpc at one port

* use one rpc port for python test

* fix lint

* restart to sync file or chunks if sync already completed or failed
2024-01-30 16:50:35 +08:00
boqiu
99ead6423b add python test for chunks sync by rpc 2024-01-22 18:19:28 +08:00
Peilun Li
9058467be1 Initial commit 2024-01-04 18:05:32 +08:00