0g-storage-node/node/miner/Cargo.toml
peilun-conflux 4eb2a50b0e
Use inner lock in storage and use async lock. (#92)
* Use inner lock in storage.

* Remove mut.

* Remove async lock for storage.

* Fix tests and warnings.

* Use spawn_blocking for storage task.

* Fix clippy.

* Finalize the new tx at last.

* Revert "Finalize the new tx at last."

This reverts commit b56ad5582d.

* Wait for old same-root txs to finalize.

* Use async storage in miner.

* Update rust version to 1.79.0.

* Use Vec to avoid stack overflow.

* Fix unused warning.

* Fix clippy.

* Fix test warning.

* Fix test.

* fmt.

* Use async storage in pruner.

* nit.
2024-06-29 17:08:02 +08:00

24 lines
689 B
TOML

[package]
name = "miner"
version = "0.1.0"
edition = "2021"
[dependencies]
network = { path = "../network" }
storage = { path = "../storage" }
zgs_spec = { path = "../../common/spec" }
zgs_seal = { path = "../../common/zgs_seal" }
task_executor = { path = "../../common/task_executor" }
contract-interface = { path = "../../common/contract-interface" }
ethereum-types = "0.14"
tokio = { version = "1.19.2", features = ["full"] }
tracing = "0.1.35"
blake2 = "0.10"
tiny-keccak = {version="2.0",features = ["keccak"]}
rand = "^0.8"
ethers = "^2"
lazy_static = "1.4"
async-trait = "0.1.56"
shared_types = { path = "../shared_types" }
hex = "0.4"
storage-async = { path = "../storage-async" }