Documentation ¶
Index ¶
- func NewDefaultMockPipe() definitions.Pipe
- func NewMockPipe(td *td.TestData) definitions.Pipe
- type MockPipe
- func (pipe *MockPipe) Accounts() definitions.Accounts
- func (pipe *MockPipe) Blockchain() blockchain_types.Blockchain
- func (pipe *MockPipe) Events() event.EventEmitter
- func (pipe *MockPipe) GenesisHash() []byte
- func (pipe *MockPipe) GetApplication() manager_types.Application
- func (pipe *MockPipe) GetBlockchain() blockchain_types.Blockchain
- func (pipe *MockPipe) GetConsensusEngine() consensus_types.ConsensusEngine
- func (pipe *MockPipe) GetTendermintPipe() (definitions.TendermintPipe, error)
- func (pipe *MockPipe) NameReg() definitions.NameReg
- func (pipe *MockPipe) SetBlockchain(_ blockchain_types.Blockchain) error
- func (pipe *MockPipe) SetConsensusEngine(_ consensus_types.ConsensusEngine) error
- func (pipe *MockPipe) Transactor() definitions.Transactor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultMockPipe ¶
func NewDefaultMockPipe() definitions.Pipe
Create a mock pipe with default mock data.
func NewMockPipe ¶
func NewMockPipe(td *td.TestData) definitions.Pipe
Create a new mock tendermint pipe.
Types ¶
type MockPipe ¶
type MockPipe struct {
// contains filtered or unexported fields
}
Base struct.
func (*MockPipe) Accounts ¶
func (pipe *MockPipe) Accounts() definitions.Accounts
func (*MockPipe) Blockchain ¶
func (pipe *MockPipe) Blockchain() blockchain_types.Blockchain
func (*MockPipe) Events ¶
func (pipe *MockPipe) Events() event.EventEmitter
func (*MockPipe) GenesisHash ¶
func (*MockPipe) GetApplication ¶
func (pipe *MockPipe) GetApplication() manager_types.Application
func (*MockPipe) GetBlockchain ¶
func (pipe *MockPipe) GetBlockchain() blockchain_types.Blockchain
func (*MockPipe) GetConsensusEngine ¶
func (pipe *MockPipe) GetConsensusEngine() consensus_types.ConsensusEngine
func (*MockPipe) GetTendermintPipe ¶
func (pipe *MockPipe) GetTendermintPipe() (definitions.TendermintPipe, error)
func (*MockPipe) NameReg ¶
func (pipe *MockPipe) NameReg() definitions.NameReg
func (*MockPipe) SetBlockchain ¶
func (pipe *MockPipe) SetBlockchain(_ blockchain_types.Blockchain) error
func (*MockPipe) SetConsensusEngine ¶
func (pipe *MockPipe) SetConsensusEngine(_ consensus_types.ConsensusEngine) error
func (*MockPipe) Transactor ¶
func (pipe *MockPipe) Transactor() definitions.Transactor
Click to show internal directories.
Click to hide internal directories.