mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 10:47:55 +00:00
21779b8cf2
* core: implement logic for tracking dag of possible pending changes * core: move pending justifications dag to its own crate * core: remove unnecessary clone bounds on dag * core: request justifications in-order from the dag * core: dag: rename changes variables to node * core: dag: allow finalizing blocks not part of dag * core: dag: track best finalized number * core: dag: add more tests * core: sync: clean up pending justifications dag * core: dag: derive codec decode encode * core: dag: better error support * core: dag: add finalization guarded by predicate * core: grandpa: track multiple authority set changes in dag * core: dag: add pre-order iterator * core: grandpa: request justifications on startup * core: dag: rearrange order of definitions * core: rename util/dag to util/fork_tree * core: fork_tree: add docs * core: fork_tree: add more tests * core: fork_tree: fix issues found in tests * core: grandpa: fix authorities tests * core: grandpa: add docs for is_descendent_of * core: sync: add docs for PendingJustifications * core: sync: add test for justification requests across forks * core: sync: don't resend import or finality notifications in tests * core: grandpa: add test for importing multiple change blocks * core: grandpa: fix logic for checking if a block enacts a change * core: grandpa: fix authorities tests
42 lines
1.4 KiB
TOML
42 lines
1.4 KiB
TOML
[package]
|
|
description = "Substrate network protocol"
|
|
name = "substrate-network"
|
|
version = "0.1.0"
|
|
license = "GPL-3.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
crossbeam-channel = "0.3.6"
|
|
log = "0.4"
|
|
parking_lot = "0.7.1"
|
|
error-chain = "0.12"
|
|
bitflags = "1.0"
|
|
futures = "0.1.17"
|
|
linked-hash-map = "0.5"
|
|
lru-cache = "0.1.1"
|
|
rustc-hex = "2.0"
|
|
rand = "0.6"
|
|
fork-tree = { path = "../../core/util/fork-tree" }
|
|
primitives = { package = "substrate-primitives", path = "../../core/primitives" }
|
|
consensus = { package = "substrate-consensus-common", path = "../../core/consensus/common" }
|
|
client = { package = "substrate-client", path = "../../core/client" }
|
|
runtime_primitives = { package = "sr-primitives", path = "../../core/sr-primitives" }
|
|
parity-codec = "3.0"
|
|
parity-codec-derive = "3.0"
|
|
network_libp2p = { package = "substrate-network-libp2p", path = "../../core/network-libp2p" }
|
|
tokio = "0.1.11"
|
|
keyring = { package = "substrate-keyring", path = "../../core/keyring", optional = true }
|
|
test_client = { package = "substrate-test-client", path = "../../core/test-client", optional = true }
|
|
|
|
[dev-dependencies]
|
|
env_logger = { version = "0.6" }
|
|
keyring = { package = "substrate-keyring", path = "../../core/keyring" }
|
|
test_client = { package = "substrate-test-client", path = "../../core/test-client" }
|
|
|
|
[features]
|
|
default = []
|
|
test-helpers = ["keyring", "test_client"]
|