Structs§
- Base
Config - Consensus
Config - Debug
Interface Config - Execution
Config - GitHub
Config - Identity
From Config - The identity is stored within the config.
- Identity
From Storage - This represents an identity in a secure-storage as defined in NodeConfig::secure.
- Json
RpcConfig - KeyManager
Config - Leader
Reputation Config - Logger
Config - Mempool
Config - Metrics
Config - Network
Config - Node
Config - Config pulls in configuration information from the config file. This is used to set up the nodes and configure various parameters. The config file is broken up into sections for each module so that only that module can be passed around
- OnDisk
Storage Config - Parse
Role Error - Peer
- Represents a single seed configuration for a seed peer
- Peer
Network Id - Identifier of a node, represented as (network_id, peer_id)
- Rate
Limit Config - Remote
Execution Service - Remote
Service - Rocksdb
Config - Port selected RocksDB options for tuning underlying rocksdb instance of DiemDB. see https://github.com/facebook/rocksdb/blob/master/include/rocksdb/options.h for detailed explanations.
- Root
Path - Safety
Rules Config - Safety
Rules Test Config - State
Sync Config - Storage
Config - Test
Config - Token
From Config - Token
From Disk - Upstream
Config - If a node considers a network ‘upstream’, the node will broadcast transactions (via mempool) to and send sync requests (via state sync) to all its peers in this network. For validators, it is unnecessary to declare their validator network as their upstream network in this config Otherwise, any non-validator network not declared here will be treated as a downstream network (i.e. transactions will not be broadcast to and sync requests will not be sent to such networks)
- Vault
Config
Enums§
- Consensus
Proposer Type - Discovery
Method - Error
- Execution
Correctness Service - Defines how execution correctness should be run
- Identity
- Peer
Role - Represents the Role that a peer plays in the network ecosystem rather than the type of node. Determines how nodes are connected to other nodes, and how discovery views them.
- Role
Type - Safety
Rules Service - Defines how safety rules should be executed
- Secure
Backend - Token
- Tokens can either be directly within this config or stored somewhere on disk.
- Waypoint
Config
Constants§
- CONNECTION_
BACKOFF_ BASE - CONNECTIVITY_
CHECK_ INTERVAL_ MS - DEFAULT_
BATCH_ SIZE_ LIMIT - DEFAULT_
CONTENT_ LENGTH_ LIMIT - DEFAULT_
JSON_ RPC_ ADDRESS - DEFAULT_
JSON_ RPC_ PORT - DEFAULT_
PAGE_ SIZE_ LIMIT - HANDSHAKE_
VERSION - Current supported protocol negotiation handshake version. See
network::protocols::wire::v1
(../../network/protocols/wire/handshake/v1/ index.html). - IP_
BYTE_ BUCKET_ RATE - IP_
BYTE_ BUCKET_ SIZE - MAX_
CONCURRENT_ NETWORK_ REQS - MAX_
CONNECTION_ DELAY_ MS - MAX_
FRAME_ SIZE - MAX_
FULLNODE_ OUTBOUND_ CONNECTIONS - MAX_
INBOUND_ CONNECTIONS - NETWORK_
CHANNEL_ SIZE - PING_
FAILURES_ TOLERATED - PING_
INTERVAL_ MS - PING_
TIMEOUT_ MS