Documentation ¶
Overview ¶
privtangle is a cluster of HORNET nodes started for testing purposes.
Index ¶
- type FaucetInfoResponse
- type LogFunc
- type PrivTangle
- func (pt *PrivTangle) L1Config(i ...int) l1connection.Config
- func (pt *PrivTangle) NodeMultiAddr(i int) string
- func (pt *PrivTangle) NodeMultiAddrsWoIndex(x int) []string
- func (pt *PrivTangle) NodePortCoordinator(i int) int
- func (pt *PrivTangle) NodePortDashboard(i int) int
- func (pt *PrivTangle) NodePortFaucet(i int) int
- func (pt *PrivTangle) NodePortINX(i int) int
- func (pt *PrivTangle) NodePortIndexer(i int) int
- func (pt *PrivTangle) NodePortPeering(i int) int
- func (pt *PrivTangle) NodePortProfiling(i int) int
- func (pt *PrivTangle) NodePortPrometheus(i int) int
- func (pt *PrivTangle) NodePortRestAPI(i int) int
- func (pt *PrivTangle) StartServers(deleteExisting bool)
- func (pt *PrivTangle) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FaucetInfoResponse ¶
type FaucetInfoResponse struct {
Balance uint64 `json:"balance"`
}
type PrivTangle ¶
type PrivTangle struct { CooKeyPair1 *cryptolib.KeyPair CooKeyPair2 *cryptolib.KeyPair FaucetKeyPair *cryptolib.KeyPair SnapshotInit string ConfigFile string BaseDir string BasePort int NodeCount int NodeKeyPairs []*cryptolib.KeyPair NodeCommands []*exec.Cmd // contains filtered or unexported fields }
func (*PrivTangle) L1Config ¶
func (pt *PrivTangle) L1Config(i ...int) l1connection.Config
func (*PrivTangle) NodeMultiAddr ¶
func (pt *PrivTangle) NodeMultiAddr(i int) string
func (*PrivTangle) NodeMultiAddrsWoIndex ¶
func (pt *PrivTangle) NodeMultiAddrsWoIndex(x int) []string
func (*PrivTangle) NodePortCoordinator ¶
func (pt *PrivTangle) NodePortCoordinator(i int) int
func (*PrivTangle) NodePortDashboard ¶
func (pt *PrivTangle) NodePortDashboard(i int) int
func (*PrivTangle) NodePortFaucet ¶
func (pt *PrivTangle) NodePortFaucet(i int) int
func (*PrivTangle) NodePortINX ¶
func (pt *PrivTangle) NodePortINX(i int) int
func (*PrivTangle) NodePortIndexer ¶
func (pt *PrivTangle) NodePortIndexer(i int) int
func (*PrivTangle) NodePortPeering ¶
func (pt *PrivTangle) NodePortPeering(i int) int
func (*PrivTangle) NodePortProfiling ¶
func (pt *PrivTangle) NodePortProfiling(i int) int
func (*PrivTangle) NodePortPrometheus ¶
func (pt *PrivTangle) NodePortPrometheus(i int) int
func (*PrivTangle) NodePortRestAPI ¶
func (pt *PrivTangle) NodePortRestAPI(i int) int
func (*PrivTangle) StartServers ¶ added in v1.0.3
func (pt *PrivTangle) StartServers(deleteExisting bool)
func (*PrivTangle) Stop ¶
func (pt *PrivTangle) Stop()
Click to show internal directories.
Click to hide internal directories.