Module sc_network::config
source · Expand description
Modules
A node’s network identity keys.
Macros
Easy way for a user to create a
Multiaddr
.Structs
Dummy implementation of the
TransactionPool
trait for a transaction pool that is always
empty and discards all incoming transactions.A single request received by a peer on a request-response protocol.
Network service configuration.
Extension to
SetConfig
for sets that aren’t the default set.Response for an incoming request to be send by a request protocol handler.
Network initialization parameters.
Protocol name prefix, transmitted on the wire for legacy protocol names.
I.e.,
dot
in /dot/sync/2
. Should be unique for each chain. Always UTF-8.
Deprecated in favour of genesis hash & fork ID based protocol names.Configuration for a single request-response protocol.
Configuration for a set of nodes.
Enums
The configuration of a node’s secret key, describing the type of key
and how it is obtained. A node’s identity keypair is the result of
the evaluation of the node key configuration.
The policy for connections to non-reserved peers.
The public key of a node’s identity keypair.
Role of the local node.
The configuration options for obtaining a secret key
K
.Sync operation mode.
Result of the transaction import.
Configuration for the transport layer.
Traits
Transaction pool interface
Warp sync backend. Handles retrieveing and verifying warp sync proofs.
Type Definitions
The options for obtaining a Ed25519 secret key.
Future resolving to transaction import result.