mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 13:17:56 +00:00
a808a3a091
See #1345, <https://github.com/paritytech/substrate/pull/14207>. This adds all the necessary mixnet components, and puts them together in the "kitchen-sink" node/runtime. The components added are: - A pallet (`frame/mixnet`). This is responsible for determining the current mixnet session and phase, and the mixnodes to use in each session. It provides a function that validators can call to register a mixnode for the next session. The logic of this pallet is very similar to that of the `im-online` pallet. - A service (`client/mixnet`). This implements the core mixnet logic, building on the `mixnet` crate. The service communicates with other nodes using notifications sent over the "mixnet" protocol. - An RPC interface. This currently only supports sending transactions over the mixnet. --------- Co-authored-by: David Emett <dave@sp4m.net> Co-authored-by: Javier Viola <javier@parity.io>
58 lines
1.9 KiB
TOML
58 lines
1.9 KiB
TOML
[package]
|
|
name = "sc-rpc"
|
|
version = "4.0.0-dev"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
description = "Substrate Client RPC"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.6.1" }
|
|
futures = "0.3.21"
|
|
jsonrpsee = { version = "0.16.2", features = ["server"] }
|
|
log = "0.4.17"
|
|
parking_lot = "0.12.1"
|
|
serde_json = "1.0.107"
|
|
sc-block-builder = { path = "../block-builder" }
|
|
sc-chain-spec = { path = "../chain-spec" }
|
|
sc-client-api = { path = "../api" }
|
|
sc-mixnet = { path = "../mixnet" }
|
|
sc-rpc-api = { path = "../rpc-api" }
|
|
sc-tracing = { path = "../tracing" }
|
|
sc-transaction-pool-api = { path = "../transaction-pool/api" }
|
|
sc-utils = { path = "../utils" }
|
|
sp-api = { path = "../../primitives/api" }
|
|
sp-blockchain = { path = "../../primitives/blockchain" }
|
|
sp-core = { path = "../../primitives/core" }
|
|
sp-keystore = { path = "../../primitives/keystore" }
|
|
sp-offchain = { path = "../../primitives/offchain" }
|
|
sp-rpc = { path = "../../primitives/rpc" }
|
|
sp-runtime = { path = "../../primitives/runtime" }
|
|
sp-session = { path = "../../primitives/session" }
|
|
sp-version = { path = "../../primitives/version" }
|
|
sp-statement-store = { path = "../../primitives/statement-store" }
|
|
|
|
tokio = "1.22.0"
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.9"
|
|
assert_matches = "1.3.0"
|
|
sc-block-builder = { path = "../block-builder" }
|
|
sc-network = { path = "../network" }
|
|
sc-network-common = { path = "../network/common" }
|
|
sc-transaction-pool = { path = "../transaction-pool" }
|
|
sp-consensus = { path = "../../primitives/consensus/common" }
|
|
tokio = "1.22.0"
|
|
sp-io = { path = "../../primitives/io" }
|
|
substrate-test-runtime-client = { path = "../../test-utils/runtime/client" }
|
|
pretty_assertions = "1.2.1"
|
|
|
|
[features]
|
|
test-helpers = []
|