test

package
v0.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type PeerMock

type PeerMock struct {
	PeerID  string
	ChainID string
	Config  *cfg.Config

	RPCURL string
	WSEnd  string

	Pass []byte
	// contains filtered or unexported fields
}

func NewPeerMock

func NewPeerMock(chain, id string, p2pPort, rpcPort int, logLevel string) *PeerMock

func (*PeerMock) CopyGenesisFrom

func (peer *PeerMock) CopyGenesisFrom(source string) error

func (*PeerMock) IDAddress

func (peer *PeerMock) IDAddress() (string, error)

func (*PeerMock) Init

func (peer *PeerMock) Init() error

func (*PeerMock) PrivValKeyPath

func (peer *PeerMock) PrivValKeyPath() string

func (*PeerMock) SetPass

func (peer *PeerMock) SetPass(pass []byte)

func (*PeerMock) SetPersistentPeer

func (peer *PeerMock) SetPersistentPeer(other *PeerMock)

func (*PeerMock) Start

func (peer *PeerMock) Start() error

func (*PeerMock) Stop

func (peer *PeerMock) Stop()

func (*PeerMock) WalletPath

func (peer *PeerMock) WalletPath() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL