Documentation ¶
Index ¶
- type BlockStore
- func (_m *BlockStore) GetTx(hash common.Hash) (types.Tx, *types.TxEntry)
- func (_m *BlockStore) Height() uint64
- func (_m *BlockStore) LoadBlock(height uint64) *types.Block
- func (_m *BlockStore) LoadBlockByHash(hash common.Hash) *types.Block
- func (_m *BlockStore) LoadBlockMeta(height uint64) *types.BlockMeta
- func (_m *BlockStore) LoadBlockMetaByHash(hash common.Hash) *types.BlockMeta
- type MemPool
- type P2PManager
- type UtxoStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockStore ¶
BlockStore is an autogenerated mock type for the BlockStore type
func (*BlockStore) Height ¶
func (_m *BlockStore) Height() uint64
Height provides a mock function with given fields:
func (*BlockStore) LoadBlock ¶
func (_m *BlockStore) LoadBlock(height uint64) *types.Block
LoadBlock provides a mock function with given fields: height
func (*BlockStore) LoadBlockByHash ¶
func (_m *BlockStore) LoadBlockByHash(hash common.Hash) *types.Block
LoadBlockByHash provides a mock function with given fields: hash
func (*BlockStore) LoadBlockMeta ¶
func (_m *BlockStore) LoadBlockMeta(height uint64) *types.BlockMeta
LoadBlockMeta provides a mock function with given fields: height
func (*BlockStore) LoadBlockMetaByHash ¶
func (_m *BlockStore) LoadBlockMetaByHash(hash common.Hash) *types.BlockMeta
LoadBlockMetaByHash provides a mock function with given fields: hash
type MemPool ¶
MemPool is an autogenerated mock type for the MemPool type
func (*MemPool) Flush ¶
func (_m *MemPool) Flush()
Flush provides a mock function with given fields:
func (*MemPool) GoodTxsSize ¶
GoodTxsSize provides a mock function with given fields:
func (*MemPool) KeyImageExists ¶
func (_m *MemPool) KeyImageExists(key lk_crypto_libstypes.Key) bool
KeyImageExists provides a mock function with given fields: key
type P2PManager ¶
P2PManager is an autogenerated mock type for the P2PManager type
func (*P2PManager) NumPeers ¶
func (_m *P2PManager) NumPeers() (int, int, int)
NumPeers provides a mock function with given fields:
func (*P2PManager) Peers ¶
func (_m *P2PManager) Peers() p2p.IPeerSet
Peers provides a mock function with given fields:
type UtxoStore ¶
UtxoStore is an autogenerated mock type for the UtxoStore type
func (*UtxoStore) GetMaxUtxoOutputSeq ¶
GetMaxUtxoOutputSeq provides a mock function with given fields: token
func (*UtxoStore) GetUtxoOutput ¶
func (_m *UtxoStore) GetUtxoOutput(token common.Address, index uint64) (*types.UTXOOutputData, error)
GetUtxoOutput provides a mock function with given fields: token, index
func (*UtxoStore) HaveTxKeyimgAsSpent ¶
func (_m *UtxoStore) HaveTxKeyimgAsSpent(img *lk_crypto_libstypes.Key) bool
HaveTxKeyimgAsSpent provides a mock function with given fields: img