mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 06:48:01 +00:00
94c29ff666
* grandpa: use AuthoritySetChanges to generate warp sync proof * node: init grandpa warp sync protocol * grandpa: iterator for AuthoritySetChanges * grandpa: rewrite warp sync proof generation * grandpa: remove old code for warp sync generation * grandpa: fix indentation * grandpa: fix off by one * grandpa: use binary search to find start idx when generating warp sync proof * grandpa: add method to verify warp sync proofs * grandpa: remove unnecessary code to skip authority set changes * grandpa: add test for warp sync proof generation and verification * grandpa: add missing docs * grandpa: remove trailing comma
37 lines
1.5 KiB
TOML
37 lines
1.5 KiB
TOML
[package]
|
|
description = "A request-response protocol for handling grandpa warp sync requests"
|
|
name = "sc-finality-grandpa-warp-sync"
|
|
version = "0.9.0"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "2.0.0" }
|
|
derive_more = "0.99.11"
|
|
futures = "0.3.8"
|
|
log = "0.4.11"
|
|
num-traits = "0.2.14"
|
|
parking_lot = "0.11.1"
|
|
prost = "0.7"
|
|
sc-client-api = { version = "3.0.0", path = "../api" }
|
|
sc-finality-grandpa = { version = "0.9.0", path = "../finality-grandpa" }
|
|
sc-network = { version = "0.9.0", path = "../network" }
|
|
sc-service = { version = "0.9.0", path = "../service" }
|
|
sp-blockchain = { version = "3.0.0", path = "../../primitives/blockchain" }
|
|
sp-finality-grandpa = { version = "3.0.0", path = "../../primitives/finality-grandpa" }
|
|
sp-runtime = { version = "3.0.0", path = "../../primitives/runtime" }
|
|
|
|
[dev-dependencies]
|
|
finality-grandpa = { version = "0.14.0" }
|
|
rand = "0.8"
|
|
sc-block-builder = { version = "0.9.0", path = "../block-builder" }
|
|
sp-consensus = { version = "0.9.0", path = "../../primitives/consensus/common" }
|
|
sp-keyring = { version = "3.0.0", path = "../../primitives/keyring" }
|
|
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
|