Documentation ¶
Index ¶
- func B642byte(tb testing.TB, s string) []byte
- func Hex2byte(tb testing.TB, s string) []byte
- type MockBlockStore
- func (b *MockBlockStore) AddTxToBlock(tx []byte)
- func (b *MockBlockStore) EndBlock() int64
- func (b *MockBlockStore) Get(height int64) *tmtypes.Block
- func (b *MockBlockStore) GetByHash(hash []byte) *tmtypes.Block
- func (b *MockBlockStore) Height() int64
- func (b *MockBlockStore) Init()
- func (b *MockBlockStore) NewBlock(height int64)
- type Random
- type TestHTTPclient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockBlockStore ¶ added in v1.0.3
type MockBlockStore struct {
// contains filtered or unexported fields
}
func (*MockBlockStore) AddTxToBlock ¶ added in v1.4.0
func (b *MockBlockStore) AddTxToBlock(tx []byte)
func (*MockBlockStore) EndBlock ¶ added in v1.4.0
func (b *MockBlockStore) EndBlock() int64
func (*MockBlockStore) Get ¶ added in v1.0.3
func (b *MockBlockStore) Get(height int64) *tmtypes.Block
func (*MockBlockStore) GetByHash ¶ added in v1.0.3
func (b *MockBlockStore) GetByHash(hash []byte) *tmtypes.Block
func (*MockBlockStore) Height ¶ added in v1.4.0
func (b *MockBlockStore) Height() int64
func (*MockBlockStore) Init ¶ added in v1.0.3
func (b *MockBlockStore) Init()
func (*MockBlockStore) NewBlock ¶ added in v1.4.0
func (b *MockBlockStore) NewBlock(height int64)
type Random ¶ added in v1.3.0
type Random struct {
// contains filtered or unexported fields
}
func (*Random) RandomBytes ¶ added in v1.3.0
func (*Random) RandomInZKField ¶ added in v1.3.0
RandomInZKField returns a random litte-endian encoded element in the ZK SNARK field.
func (*Random) RandomIntn ¶ added in v1.3.0
type TestHTTPclient ¶ added in v1.4.0
type TestHTTPclient struct {
// contains filtered or unexported fields
}
func NewTestHTTPclient ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.