0g-storage-node/node/router/Cargo.toml
peilun-conflux c2c6e2d5fb
Store shard config for peers and choose sync peers accordingly. (#77)
* 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

26 lines
671 B
TOML

[package]
name = "router"
version = "0.1.0"
edition = "2021"
[dependencies]
chrono = "0.4.19"
error-chain = "0.12.4"
futures = "0.3.21"
file_location_cache = { path = "../file_location_cache" }
lazy_static = "1.4.0"
miner = { path = "../miner" }
network = { path = "../network" }
shared_types = { path = "../shared_types" }
storage = { path = "../storage" }
storage-async = { path = "../storage-async" }
sync = { path = "../sync" }
task_executor = { path = "../../common/task_executor" }
pruner = { path = "../pruner" }
tokio = { version = "1.19.2", features = ["full"] }
tracing = "0.1.35"
rand = "0.8.5"
[dev-dependencies]
channel = { path = "../../common/channel" }