mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17:58 +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>
29 lines
1.0 KiB
TOML
29 lines
1.0 KiB
TOML
[package]
|
|
name = "sc-rpc-api"
|
|
version = "0.10.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 RPC interfaces."
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.6.1" }
|
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
|
serde = { version = "1.0.188", features = ["derive"] }
|
|
serde_json = "1.0.107"
|
|
thiserror = "1.0"
|
|
sc-chain-spec = { path = "../chain-spec" }
|
|
sc-mixnet = { path = "../mixnet" }
|
|
sc-transaction-pool-api = { path = "../transaction-pool/api" }
|
|
sp-core = { path = "../../primitives/core" }
|
|
sp-rpc = { path = "../../primitives/rpc" }
|
|
sp-runtime = { path = "../../primitives/runtime" }
|
|
sp-version = { path = "../../primitives/version" }
|
|
jsonrpsee = { version = "0.16.2", features = ["server", "client-core", "macros"] }
|