Documentation ¶
Overview ¶
Package types contains common types used in multiple poa packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeerRecord ¶
type PeerRecord struct { NetAddr string `json:"NetAddr"` PubKeyHex string `json:"PubKeyHex"` Moniker string `json:"Moniker"` }
PeerRecord is Peers.json format with suitable export config
type PeerRecordList ¶
type PeerRecordList []*PeerRecord
PeerRecordList is a slice of PeerRecord and is used to pass lists of peers within the POA packages.
Click to show internal directories.
Click to hide internal directories.