Versions in this module Expand all Collapse all v0 v0.8.14 Sep 15, 2021 Changes in this version + const EvidenceAgeHeight + const EvidenceAgeTime + const ModeFull + const ModeLight + const ModeSeed + const ModeValidator + const PerturbationDisconnect + const PerturbationKill + const PerturbationPause + const PerturbationRestart + const ProtocolBuiltin + const ProtocolFile + const ProtocolGRPC + const ProtocolTCP + const ProtocolUNIX + type Manifest struct + DisableLegacyP2P bool + Evidence int + IPv6 bool + InitialHeight int64 + InitialState map[string]string + KeyType string + LogLevel string + Nodes map[string]*ManifestNode + QueueType string + TxSize int64 + ValidatorUpdates map[string]map[string]int64 + Validators *map[string]int64 + func LoadManifest(file string) (Manifest, error) + func (m Manifest) Save(file string) error + type ManifestNode struct + ABCIProtocol string + Database string + DisableLegacyP2P bool + FastSync string + LogLevel string + Mempool string + Mode string + PersistInterval *uint64 + PersistentPeers []string + Perturb []string + PrivvalProtocol string + RetainBlocks uint64 + Seeds []string + SnapshotInterval uint64 + StartAt int64 + StateSync bool + type Mode string + type Node struct + ABCIProtocol Protocol + Database string + DisableLegacyP2P bool + FastSync string + IP net.IP + LogLevel string + Mempool string + Mode Mode + Name string + NodeKey crypto.PrivKey + PersistInterval uint64 + PersistentPeers []*Node + Perturbations []Perturbation + PrivvalKey crypto.PrivKey + PrivvalProtocol Protocol + ProxyPort uint32 + QueueType string + RetainBlocks uint64 + Seeds []*Node + SnapshotInterval uint64 + StartAt int64 + StateSync bool + Testnet *Testnet + func (n Node) AddressP2P(withID bool) string + func (n Node) AddressRPC() string + func (n Node) Client() (*rpchttp.HTTP, error) + func (n Node) Stateless() bool + func (n Node) Validate(testnet Testnet) error + type Perturbation string + type Protocol string + type Testnet struct + Dir string + Evidence int + File string + IP *net.IPNet + InitialHeight int64 + InitialState map[string]string + KeyType string + LogLevel string + Name string + Nodes []*Node + TxSize int64 + ValidatorUpdates map[int64]map[*Node]int64 + Validators map[*Node]int64 + func LoadTestnet(file string) (*Testnet, error) + func (t Testnet) ArchiveNodes() []*Node + func (t Testnet) HasPerturbations() bool + func (t Testnet) IPv6() bool + func (t Testnet) LookupNode(name string) *Node + func (t Testnet) RandomNode() *Node + func (t Testnet) Validate() error