Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootNodeMetadata ¶
type BootNodeMetadata struct { Version string `json:"version"` Network string `json:"network"` NodeBootTime int64 `json:"node-unix-start-time"` PeerID peer.ID `json:"peerid"` C C `json:"p2p-connectivity"` }
BootNodeMetadata captures select metadata of the RPC answering boot node
type BootNodePeerInfo ¶
type BootNodePeerInfo struct { PeerID peer.ID `json:"peerid"` KnownPeers []peer.ID `json:"known-peers"` ConnectedPeers []peer.ID `json:"connected-peers"` C C `json:"c"` }
BootNodePeerInfo captures the peer connectivity info of the boot node
type Config ¶
type Config struct { HarmonyConfig harmonyconfig.HarmonyConfig NodeConfig nodeconfig.ConfigType ChainConfig params.ChainConfig }
type StructuredResponse ¶
type StructuredResponse = map[string]interface{}
StructuredResponse type of RPCs
Click to show internal directories.
Click to hide internal directories.