mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 10:57:56 +00:00
673a32d968
* Move NewGossipTopology -> SessionGridTopology outside as this implementation is shared * Add method to return peers difference between topologies * Implement basic grid topology usage for the bitfield distribution * Fix tests * Oops, fix tests * Add some tests for random routing * Add a unit test for topology distribution * Store the current and the previous topology to match sessions boundaries * Update tests * Update node/network/bitfield-distribution/src/lib.rs Co-authored-by: Andronik <write@reusable.software> * Update node/network/protocol/src/grid_topology.rs Co-authored-by: Andronik <write@reusable.software> * Update node/network/bitfield-distribution/src/lib.rs Co-authored-by: Andronik <write@reusable.software> * Add some debug * Fix tests as HashSet order is undefined Co-authored-by: Andronik <write@reusable.software>
24 lines
847 B
TOML
24 lines
847 B
TOML
[package]
|
|
name = "polkadot-node-network-protocol"
|
|
version = "0.9.19"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
description = "Primitives types for the Node-side"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.53"
|
|
polkadot-primitives = { path = "../../../primitives" }
|
|
polkadot-node-primitives = { path = "../../primitives" }
|
|
polkadot-node-jaeger = { path = "../../jaeger" }
|
|
parity-scale-codec = { version = "3.1.2", default-features = false, features = ["derive"] }
|
|
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
strum = { version = "0.24", features = ["derive"] }
|
|
futures = "0.3.21"
|
|
thiserror = "1.0.31"
|
|
fatality = "0.0.6"
|
|
rand = "0.8"
|
|
derive_more = "0.99"
|
|
|
|
[dev-dependencies]
|
|
rand_chacha = "0.3.1" |