Versions in this module Expand all Collapse all v0 v0.34.22 Dec 28, 2022 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 ProtocolBuiltinUnsync + const ProtocolFile + const ProtocolGRPC + const ProtocolTCP + const ProtocolUNIX + type InfrastructureData struct + Instances map[string]InstanceData + Network string + Provider string + func InfrastructureDataFromFile(p string) (InfrastructureData, error) + func NewDockerInfrastructureData(m Manifest) (InfrastructureData, error) + type InstanceData struct + IPAddress net.IP + type Manifest struct + ABCIProtocol string + CheckTxDelay time.Duration + Evidence int + IPv6 bool + InitialHeight int64 + InitialState map[string]string + KeyType string + LoadTxBatchSize int + LoadTxConnections int + LoadTxSizeBytes int + Nodes map[string]*ManifestNode + PrepareProposalDelay time.Duration + ProcessProposalDelay time.Duration + 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 + BlockSync string + Database string + Mempool string + Mode string + PersistInterval *uint64 + PersistentPeers []string + Perturb []string + PrivvalProtocol string + RetainBlocks uint64 + Seeds []string + SendNoLoad bool + SnapshotInterval uint64 + StartAt int64 + StateSync bool + Version string + type Mode string + type Node struct + ABCIProtocol Protocol + BlockSync string + Database string + IP net.IP + Mempool string + Mode Mode + Name string + NodeKey crypto.PrivKey + PersistInterval uint64 + PersistentPeers []*Node + Perturbations []Perturbation + PrivvalKey crypto.PrivKey + PrivvalProtocol Protocol + ProxyPort uint32 + RetainBlocks uint64 + Seeds []*Node + SendNoLoad bool + SnapshotInterval uint64 + StartAt int64 + StateSync bool + Testnet *Testnet + Version string + 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 + ABCIProtocol string + CheckTxDelay time.Duration + Dir string + Evidence int + File string + IP *net.IPNet + InitialHeight int64 + InitialState map[string]string + KeyType string + LoadTxBatchSize int + LoadTxConnections int + LoadTxSizeBytes int + Name string + Nodes []*Node + PrepareProposalDelay time.Duration + ProcessProposalDelay time.Duration + ValidatorUpdates map[int64]map[*Node]int64 + Validators map[*Node]int64 + func LoadTestnet(manifest Manifest, fname string, ifd InfrastructureData) (*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