mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 22:17:58 +00:00
afcfd2404a
* Increase delay for pov-recovery * Update client/service/src/lib.rs Co-authored-by: Bastian Köcher <git@kchr.de> * Comment * FMT * Clear waiting_recovery when block is recovered or recovery failed * Introduce recovery queue that preserved insertion order * Better error logs * Decrease slot duration * Style improvements * Add option to use unordered queue * Maintain cache of finalized blocks * Wait for one relay chain slot before recovery * Make retries testable * fmt * Improve docs * Improve docs * Simplify RecoveryQueue * Remove unwanted changes * Adjust to comments * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * Move recovery delay into the queue * Check for finalized number * Clean up * Use timer Co-authored-by: Bastian Köcher <git@kchr.de> * Simplify implementation * Revert "Use timer" This reverts commit 3809eed840d3a09d54212f99486782ff80cdc1c9. * Properly clear `to_recover` flag --------- Co-authored-by: Bastian Köcher <git@kchr.de>
41 lines
1.4 KiB
TOML
41 lines
1.4 KiB
TOML
[package]
|
|
name = "cumulus-client-consensus-common"
|
|
description = "Cumulus specific common consensus implementations"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.63"
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] }
|
|
dyn-clone = "1.0.10"
|
|
futures = "0.3.26"
|
|
log = "0.4.17"
|
|
tracing = "0.1.37"
|
|
|
|
# Substrate
|
|
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
# Polkadot
|
|
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
|
|
|
# Cumulus
|
|
cumulus-primitives-core = { path = "../../../primitives/core" }
|
|
cumulus-relay-chain-interface = { path = "../../relay-chain-interface" }
|
|
cumulus-client-pov-recovery = { path = "../../pov-recovery" }
|
|
schnellru = "0.2.1"
|
|
|
|
[dev-dependencies]
|
|
futures-timer = "3.0.2"
|
|
|
|
# Substrate
|
|
sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
# Cumulus
|
|
cumulus-test-client = { path = "../../../test/client" }
|