mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
588bdad7f6
* 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>
44 lines
1.8 KiB
TOML
44 lines
1.8 KiB
TOML
[package]
|
|
name = "cumulus-client-pov-recovery"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Cumulus-specific networking protocol"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] }
|
|
futures = "0.3.26"
|
|
futures-timer = "3.0.2"
|
|
rand = "0.8.5"
|
|
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-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
# Polkadot
|
|
polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
|
polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
|
polkadot-overseer = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
|
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"}
|
|
async-trait = "0.1.64"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.25.0", features = ["macros"] }
|
|
portpicker = "0.1.1"
|
|
|
|
# Cumulus
|
|
cumulus-test-service = { path = "../../test/service" }
|
|
|
|
# Substrate
|
|
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
|