Documentation ¶
Index ¶
- type Store
- func (_m *Store) Action(at storage.ActionType, t int) (interface{}, error)
- func (_m *Store) AddAccountMeta(value *types.AccountMeta, c storage.Cache) error
- func (_m *Store) AddAccountMetaCache(value *types.AccountMeta, batch ...storage.Batch) error
- func (_m *Store) AddAccountMetaHistory(tm *types.TokenMeta, block *types.StateBlock, c storage.Cache) error
- func (_m *Store) AddBlockCache(blk *types.StateBlock, batch ...storage.Batch) error
- func (_m *Store) AddBlockPrivatePayload(hash types.Hash, payload []byte, c ...storage.Cache) error
- func (_m *Store) AddFrontier(frontier *types.Frontier, c storage.Cache) error
- func (_m *Store) AddGapDoDSettleStateBlock(key types.Hash, block *types.StateBlock, sync types.SynchronizedKind) error
- func (_m *Store) AddGapPovBlock(height uint64, block *types.StateBlock, sync types.SynchronizedKind) error
- func (_m *Store) AddGapPublishBlock(key types.Hash, blk *types.StateBlock, sync types.SynchronizedKind) error
- func (_m *Store) AddOrUpdateAccountMetaCache(value *types.AccountMeta, batch ...storage.Batch) error
- func (_m *Store) AddOrUpdatePeerInfo(value *types.PeerInfo) error
- func (_m *Store) AddOrUpdateVmLogs(value *types.VmLogs, c storage.Cache) error
- func (_m *Store) AddPeerInfo(info *types.PeerInfo) error
- func (_m *Store) AddPending(key *types.PendingKey, value *types.PendingInfo, c storage.Cache) error
- func (_m *Store) AddPovBestHash(height uint64, hash types.Hash, batch ...storage.Batch) error
- func (_m *Store) AddPovBlock(blk *types.PovBlock, td *types.PovTD, batch ...storage.Batch) error
- func (_m *Store) AddPovBody(height uint64, hash types.Hash, body *types.PovBody) error
- func (_m *Store) AddPovDiffStat(dayStat *types.PovDiffDayStat) error
- func (_m *Store) AddPovHeader(header *types.PovHeader) error
- func (_m *Store) AddPovHeight(hash types.Hash, height uint64) error
- func (_m *Store) AddPovMinerStat(dayStat *types.PovMinerDayStat) error
- func (_m *Store) AddPovTD(hash types.Hash, height uint64, td *types.PovTD) error
- func (_m *Store) AddPovTxLookup(txHash types.Hash, txLookup *types.PovTxLookup, batch ...storage.Batch) error
- func (_m *Store) AddPovTxLookupInBatch(txHash types.Hash, txLookup *types.PovTxLookup, batch storage.Batch) error
- func (_m *Store) AddRepresentation(address types.Address, diff *types.Benefit, c storage.Cache) error
- func (_m *Store) AddSmartContractBlock(value *types.SmartContractBlock) error
- func (_m *Store) AddStateBlock(block *types.StateBlock) error
- func (_m *Store) AddTokenMetaConfirmed(address types.Address, meta *types.TokenMeta, c storage.Cache) error
- func (_m *Store) AddTrieCleanHeight(height uint64) error
- func (_m *Store) AddUncheckedBlock(key types.Hash, value *types.StateBlock, kind types.UncheckedKind, ...) error
- func (_m *Store) AddUncheckedSyncBlock(previous types.Hash, blk *types.StateBlock) error
- func (_m *Store) AddUnconfirmedSyncBlock(hash types.Hash, blk *types.StateBlock) error
- func (_m *Store) AddVoteHistory(hash types.Hash, address types.Address) error
- func (_m *Store) BatchGetPovHeadersByHeightAsc(height uint64, count uint64) ([]*types.PovHeader, error)
- func (_m *Store) BatchGetPovHeadersByHeightDesc(height uint64, count uint64) ([]*types.PovHeader, error)
- func (_m *Store) BlockConfirmed(blk *types.StateBlock)
- func (_m *Store) Blocks(limit int, offset int) ([]types.Hash, error)
- func (_m *Store) BlocksByAccount(address types.Address, limit int, offset int) ([]types.Hash, error)
- func (_m *Store) BlocksCount() (uint64, error)
- func (_m *Store) BlocksCountByType() (map[string]uint64, error)
- func (_m *Store) Cache() *ledger.MemoryCache
- func (_m *Store) CalculateAmount(block *types.StateBlock) (types.Balance, error)
- func (_m *Store) CleanAllVoteHistory() error
- func (_m *Store) CleanBlockVoteHistory(hash types.Hash) error
- func (_m *Store) CleanSyncCache()
- func (_m *Store) Close() error
- func (_m *Store) ContractAddress(b *types.StateBlock) (*types.Address, error)
- func (_m *Store) CountAccountMetas() (uint64, error)
- func (_m *Store) CountBlocksCache() (uint64, error)
- func (_m *Store) CountFrontiers() (uint64, error)
- func (_m *Store) CountPeersInfo() (uint64, error)
- func (_m *Store) CountPovAccountTxs() (uint64, error)
- func (_m *Store) CountPovBestHashs() (uint64, error)
- func (_m *Store) CountPovBlocks() (uint64, error)
- func (_m *Store) CountPovTxs() (uint64, error)
- func (_m *Store) CountRepresentations() (uint64, error)
- func (_m *Store) CountSmartContractBlocks() (uint64, error)
- func (_m *Store) CountStateBlocks() (uint64, error)
- func (_m *Store) CountUncheckedBlocks() (uint64, error)
- func (_m *Store) CountUncheckedBlocksStore() (uint64, error)
- func (_m *Store) CountUncheckedSyncBlocks() (uint64, error)
- func (_m *Store) CountUnconfirmedSyncBlocks() (uint64, error)
- func (_m *Store) CountVmLogs() (uint64, error)
- func (_m *Store) DBStore() storage.Store
- func (_m *Store) DebugAllPovInfos()
- func (_m *Store) DeleteAccountMeta(key types.Address, c storage.Cache) error
- func (_m *Store) DeleteAccountMetaCache(key types.Address, batch ...storage.Batch) error
- func (_m *Store) DeleteBlockCache(hash types.Hash, batch ...storage.Batch) error
- func (_m *Store) DeleteBlockPrivatePayload(hash types.Hash, c ...storage.Cache) error
- func (_m *Store) DeleteFrontier(key types.Hash, c storage.Cache) error
- func (_m *Store) DeleteGapDoDSettleStateBlock(key types.Hash, blkHash types.Hash) error
- func (_m *Store) DeleteGapPovBlock(height uint64, hash types.Hash) error
- func (_m *Store) DeleteGapPublishBlock(key types.Hash, blkHash types.Hash) error
- func (_m *Store) DeletePending(key *types.PendingKey, c storage.Cache) error
- func (_m *Store) DeletePovBestHash(height uint64, batch ...storage.Batch) error
- func (_m *Store) DeletePovBlock(blk *types.PovBlock) error
- func (_m *Store) DeletePovBody(height uint64, hash types.Hash) error
- func (_m *Store) DeletePovDiffStat(dayIndex uint32) error
- func (_m *Store) DeletePovHeader(height uint64, hash types.Hash) error
- func (_m *Store) DeletePovHeight(hash types.Hash) error
- func (_m *Store) DeletePovMinerStat(dayIndex uint32) error
- func (_m *Store) DeletePovTD(hash types.Hash, height uint64) error
- func (_m *Store) DeletePovTxLookup(txHash types.Hash, batch ...storage.Batch) error
- func (_m *Store) DeletePovTxLookupInBatch(txHash types.Hash, batch storage.Batch) error
- func (_m *Store) DeleteStateBlock(key types.Hash, c storage.Cache) error
- func (_m *Store) DeleteTokenMetaCache(address types.Address, tokenType types.Hash, batch ...storage.Batch) error
- func (_m *Store) DeleteTokenMetaConfirmed(address types.Address, tokenType types.Hash, c storage.Cache) error
- func (_m *Store) DeleteUncheckedBlock(key types.Hash, kind types.UncheckedKind) error
- func (_m *Store) DeleteUncheckedSyncBlock(hash types.Hash) error
- func (_m *Store) DeleteUnconfirmedSyncBlock(hash types.Hash) error
- func (_m *Store) DeleteVmLogs(key types.Hash, c storage.Cache) error
- func (_m *Store) DropAllPovBlocks() error
- func (_m *Store) EmptyRelation() error
- func (_m *Store) EventBus() event.EventBus
- func (_m *Store) Flush() error
- func (_m *Store) FlushU() error
- func (_m *Store) GenerateChangeBlock(account types.Address, representative types.Address, prk ed25519.PrivateKey) (*types.StateBlock, error)
- func (_m *Store) GenerateOnlineBlock(account types.Address, prk ed25519.PrivateKey, povHeight uint64) (*types.StateBlock, error)
- func (_m *Store) GenerateReceiveBlock(sendBlock *types.StateBlock, prk ed25519.PrivateKey) (*types.StateBlock, error)
- func (_m *Store) GenerateSendBlock(block *types.StateBlock, amount types.Balance, prk ed25519.PrivateKey) (*types.StateBlock, error)
- func (_m *Store) Get(k []byte, c ...storage.Cache) ([]byte, error)
- func (_m *Store) GetAccountMeta(address types.Address, c ...storage.Cache) (*types.AccountMeta, error)
- func (_m *Store) GetAccountMetaByPovHeight(address types.Address, height uint64) (*types.AccountMeta, error)
- func (_m *Store) GetAccountMetaCaches(fn func(*types.AccountMeta) error) error
- func (_m *Store) GetAccountMetaConfirmed(address types.Address, c ...storage.Cache) (*types.AccountMeta, error)
- func (_m *Store) GetAccountMetas(fn func(*types.AccountMeta) error) error
- func (_m *Store) GetAccountMeteCache(key types.Address, batch ...storage.Batch) (*types.AccountMeta, error)
- func (_m *Store) GetAllPovBestBlocks(fn func(*types.PovBlock) error) error
- func (_m *Store) GetAllPovBestHashes(fn func(uint64, types.Hash) error) error
- func (_m *Store) GetAllPovBestHeaders(fn func(*types.PovHeader) error) error
- func (_m *Store) GetAllPovBlocks(fn func(*types.PovBlock) error) error
- func (_m *Store) GetAllPovDiffStats(fn func(*types.PovDiffDayStat) error) error
- func (_m *Store) GetAllPovHeaders(fn func(*types.PovHeader) error) error
- func (_m *Store) GetAllPovMinerStats(fn func(*types.PovMinerDayStat) error) error
- func (_m *Store) GetBlockCache(key types.Hash) (*types.StateBlock, error)
- func (_m *Store) GetBlockCaches(fn func(*types.StateBlock) error) error
- func (_m *Store) GetBlockChild(hash types.Hash, c ...storage.Cache) (types.Hash, error)
- func (_m *Store) GetBlockLink(key types.Hash, c ...storage.Cache) (types.Hash, error)
- func (_m *Store) GetBlockPrivatePayload(hash types.Hash, c ...storage.Cache) ([]byte, error)
- func (_m *Store) GetCacheStat() []*ledger.CacheStat
- func (_m *Store) GetCacheStatue() map[string]string
- func (_m *Store) GetFrontier(hash types.Hash, cache ...storage.Cache) (*types.Frontier, error)
- func (_m *Store) GetFrontiers() ([]*types.Frontier, error)
- func (_m *Store) GetGapDoDSettleStateBlock(key types.Hash, visit types.GapDoDSettleStateBlockWalkFunc) error
- func (_m *Store) GetGapPublishBlock(key types.Hash, visit types.GapPublishBlockWalkFunc) error
- func (_m *Store) GetLastGapPovHeight() uint64
- func (_m *Store) GetLatestPovBestHash() (types.Hash, error)
- func (_m *Store) GetLatestPovBlock() (*types.PovBlock, error)
- func (_m *Store) GetLatestPovDiffStat() (*types.PovDiffDayStat, error)
- func (_m *Store) GetLatestPovHeader() (*types.PovHeader, error)
- func (_m *Store) GetLatestPovMinerStat(batch ...storage.Batch) (*types.PovMinerDayStat, error)
- func (_m *Store) GetObject(k []byte, c ...storage.Cache) (interface{}, []byte, error)
- func (_m *Store) GetOnlineRepresentations() ([]types.Address, error)
- func (_m *Store) GetPeerInfo(peerID string) (*types.PeerInfo, error)
- func (_m *Store) GetPeersInfo(fn func(*types.PeerInfo) error) error
- func (_m *Store) GetPending(pendingKey *types.PendingKey) (*types.PendingInfo, error)
- func (_m *Store) GetPendings(fn func(*types.PendingKey, *types.PendingInfo) error) error
- func (_m *Store) GetPendingsByAddress(address types.Address, fn func(*types.PendingKey, *types.PendingInfo) error) error
- func (_m *Store) GetPendingsByToken(account types.Address, token types.Hash, ...) error
- func (_m *Store) GetPovBestHash(height uint64, batch ...storage.Batch) (types.Hash, error)
- func (_m *Store) GetPovBlockByHash(hash types.Hash) (*types.PovBlock, error)
- func (_m *Store) GetPovBlockByHeight(height uint64) (*types.PovBlock, error)
- func (_m *Store) GetPovBlockByHeightAndHash(height uint64, hash types.Hash) (*types.PovBlock, error)
- func (_m *Store) GetPovBody(height uint64, hash types.Hash) (*types.PovBody, error)
- func (_m *Store) GetPovDiffStat(dayIndex uint32) (*types.PovDiffDayStat, error)
- func (_m *Store) GetPovHeader(height uint64, hash types.Hash) (*types.PovHeader, error)
- func (_m *Store) GetPovHeaderByHash(hash types.Hash) (*types.PovHeader, error)
- func (_m *Store) GetPovHeaderByHeight(height uint64) (*types.PovHeader, error)
- func (_m *Store) GetPovHeight(hash types.Hash) (uint64, error)
- func (_m *Store) GetPovLatestHeight() (uint64, error)
- func (_m *Store) GetPovMinerStat(dayIndex uint32, batch ...storage.Batch) (*types.PovMinerDayStat, error)
- func (_m *Store) GetPovTD(hash types.Hash, height uint64, batch ...storage.Batch) (*types.PovTD, error)
- func (_m *Store) GetPovTxLookup(txHash types.Hash) (*types.PovTxLookup, error)
- func (_m *Store) GetPovTxlScanCursor() (uint64, error)
- func (_m *Store) GetRandomStateBlock() (*types.StateBlock, error)
- func (_m *Store) GetRelation(dest interface{}, query string) error
- func (_m *Store) GetRepresentation(key types.Address, c ...storage.Cache) (*types.Benefit, error)
- func (_m *Store) GetRepresentations(fn func(types.Address, *types.Benefit) error) error
- func (_m *Store) GetSmartContractBlock(key types.Hash) (*types.SmartContractBlock, error)
- func (_m *Store) GetSmartContractBlocks(fn func(*types.SmartContractBlock) error) error
- func (_m *Store) GetStateBlock(hash types.Hash, c ...storage.Cache) (*types.StateBlock, error)
- func (_m *Store) GetStateBlockConfirmed(hash types.Hash, c ...storage.Cache) (*types.StateBlock, error)
- func (_m *Store) GetStateBlocksConfirmed(fn func(*types.StateBlock) error) error
- func (_m *Store) GetTokenById(tokenId types.Hash) (*types.TokenInfo, error)
- func (_m *Store) GetTokenByName(tokenName string) (*types.TokenInfo, error)
- func (_m *Store) GetTokenMeta(address types.Address, tokenType types.Hash) (*types.TokenMeta, error)
- func (_m *Store) GetTokenMetaByBlockHash(hash types.Hash) (*types.TokenMeta, error)
- func (_m *Store) GetTokenMetaByPovHeight(address types.Address, token types.Hash, height uint64) (*types.TokenMeta, error)
- func (_m *Store) GetTokenMetaConfirmed(address types.Address, tokenType types.Hash) (*types.TokenMeta, error)
- func (_m *Store) GetTrieCleanHeight() (uint64, error)
- func (_m *Store) GetUCacheStat() []*ledger.CacheStat
- func (_m *Store) GetUCacheStatue() map[string]string
- func (_m *Store) GetUncheckedBlock(parentHash types.Hash, kind types.UncheckedKind) (*types.StateBlock, types.SynchronizedKind, error)
- func (_m *Store) GetUncheckedBlocks(visit types.UncheckedBlockWalkFunc) error
- func (_m *Store) GetUncheckedSyncBlock(hash types.Hash) (*types.StateBlock, error)
- func (_m *Store) GetUnconfirmedSyncBlock(hash types.Hash) (*types.StateBlock, error)
- func (_m *Store) GetVerifiedData() map[types.Hash]int
- func (_m *Store) GetVmLogs(key types.Hash, c ...storage.Cache) (*types.VmLogs, error)
- func (_m *Store) HasAccountMetaCache(key types.Address) (bool, error)
- func (_m *Store) HasAccountMetaConfirmed(address types.Address) (bool, error)
- func (_m *Store) HasBlockCache(key types.Hash) (bool, error)
- func (_m *Store) HasPovBlock(height uint64, hash types.Hash, batch ...storage.Batch) bool
- func (_m *Store) HasPovBody(height uint64, hash types.Hash, batch ...storage.Batch) bool
- func (_m *Store) HasPovHeader(height uint64, hash types.Hash, batch ...storage.Batch) bool
- func (_m *Store) HasPovHeight(hash types.Hash) bool
- func (_m *Store) HasPovMinerStat(dayIndex uint32) bool
- func (_m *Store) HasPovTxLookup(txHash types.Hash) bool
- func (_m *Store) HasSmartContractBlock(key types.Hash) (bool, error)
- func (_m *Store) HasStateBlock(hash types.Hash) (bool, error)
- func (_m *Store) HasStateBlockConfirmed(hash types.Hash) (bool, error)
- func (_m *Store) HasTokenMeta(address types.Address, tokenType types.Hash) (bool, error)
- func (_m *Store) HasUncheckedBlock(hash types.Hash, kind types.UncheckedKind) (bool, error)
- func (_m *Store) HasUncheckedSyncBlock(hash types.Hash) (bool, error)
- func (_m *Store) HasUnconfirmedSyncBlock(hash types.Hash) (bool, error)
- func (_m *Store) HasVmLogs(key types.Hash, c ...storage.Cache) (bool, error)
- func (_m *Store) HasVoteHistory(hash types.Hash, address types.Address) bool
- func (_m *Store) Iterator(_a0 []byte, _a1 []byte, _a2 func([]byte, []byte) error) error
- func (_m *Store) IteratorObject(prefix []byte, end []byte, fn func([]byte, interface{}) error) error
- func (_m *Store) ListTokens() ([]*types.TokenInfo, error)
- func (_m *Store) NeedToWriteTrie(height uint64) bool
- func (_m *Store) NewVMIterator(address *types.Address) *ledger.Iterator
- func (_m *Store) PendingAmount(address types.Address, token types.Hash) (types.Balance, error)
- func (_m *Store) PovHeightAddGap(height uint64) error
- func (_m *Store) PovHeightDeleteGap(height uint64) error
- func (_m *Store) PovHeightHasGap(height uint64) (bool, error)
- func (_m *Store) Put(k []byte, v interface{}, c ...storage.Cache) error
- func (_m *Store) RemoveStorage(key []byte, val []byte, c storage.Cache) error
- func (_m *Store) SaveStorage(val map[string]interface{}, c ...storage.Cache) error
- func (_m *Store) SaveStorageByConvert(key []byte, val []byte, c storage.Cache) error
- func (_m *Store) SearchVmLogs(fn func(types.Hash, *types.VmLogs) error) error
- func (_m *Store) SelectRelation(dest interface{}, query string) error
- func (_m *Store) SetLastGapPovHeight(height uint64) error
- func (_m *Store) SetOnlineRepresentations(addresses []*types.Address) error
- func (_m *Store) SetPovLatestHeight(height uint64, batch ...storage.Batch) error
- func (_m *Store) SetPovTxlScanCursor(height uint64, batch ...storage.Batch) error
- func (_m *Store) SetStorage(val map[string]interface{}) error
- func (_m *Store) SubRepresentation(address types.Address, diff *types.Benefit, c storage.Cache) error
- func (_m *Store) UCache() *ledger.MemoryCache
- func (_m *Store) UpdateAccountMeta(value *types.AccountMeta, c storage.Cache) error
- func (_m *Store) UpdateAccountMetaHistory(tm *types.TokenMeta, block *types.StateBlock, c storage.Cache) error
- func (_m *Store) UpdateAccountMeteCache(value *types.AccountMeta, batch ...storage.Batch) error
- func (_m *Store) UpdatePeerInfo(value *types.PeerInfo) error
- func (_m *Store) UpdateStateBlock(block *types.StateBlock, c storage.Cache) error
- func (_m *Store) WalkGapDoDSettleStateBlock(visit types.GapDoDSettleStateBlockWalkFunc) error
- func (_m *Store) WalkGapPovBlocks(visit types.GapPovBlockWalkFunc) error
- func (_m *Store) WalkGapPovBlocksWithHeight(height uint64, visit types.GapPovBlockWalkFunc) error
- func (_m *Store) WalkSyncCache(visit common.SyncCacheWalkFunc)
- func (_m *Store) Weight(account types.Address) types.Balance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func (*Store) Action ¶
func (_m *Store) Action(at storage.ActionType, t int) (interface{}, error)
Action provides a mock function with given fields: at, t
func (*Store) AddAccountMeta ¶
AddAccountMeta provides a mock function with given fields: value, c
func (*Store) AddAccountMetaCache ¶
AddAccountMetaCache provides a mock function with given fields: value, batch
func (*Store) AddAccountMetaHistory ¶
func (_m *Store) AddAccountMetaHistory(tm *types.TokenMeta, block *types.StateBlock, c storage.Cache) error
AddAccountMetaHistory provides a mock function with given fields: tm, block, c
func (*Store) AddBlockCache ¶
AddBlockCache provides a mock function with given fields: blk, batch
func (*Store) AddBlockPrivatePayload ¶
AddBlockPrivatePayload provides a mock function with given fields: hash, payload, c
func (*Store) AddFrontier ¶
AddFrontier provides a mock function with given fields: frontier, c
func (*Store) AddGapDoDSettleStateBlock ¶
func (_m *Store) AddGapDoDSettleStateBlock(key types.Hash, block *types.StateBlock, sync types.SynchronizedKind) error
AddGapDoDSettleStateBlock provides a mock function with given fields: key, block, sync
func (*Store) AddGapPovBlock ¶
func (_m *Store) AddGapPovBlock(height uint64, block *types.StateBlock, sync types.SynchronizedKind) error
AddGapPovBlock provides a mock function with given fields: height, block, sync
func (*Store) AddGapPublishBlock ¶
func (_m *Store) AddGapPublishBlock(key types.Hash, blk *types.StateBlock, sync types.SynchronizedKind) error
AddGapPublishBlock provides a mock function with given fields: key, blk, sync
func (*Store) AddOrUpdateAccountMetaCache ¶
func (_m *Store) AddOrUpdateAccountMetaCache(value *types.AccountMeta, batch ...storage.Batch) error
AddOrUpdateAccountMetaCache provides a mock function with given fields: value, batch
func (*Store) AddOrUpdatePeerInfo ¶
AddOrUpdatePeerInfo provides a mock function with given fields: value
func (*Store) AddOrUpdateVmLogs ¶
AddOrUpdateVmLogs provides a mock function with given fields: value, c
func (*Store) AddPeerInfo ¶
AddPeerInfo provides a mock function with given fields: info
func (*Store) AddPending ¶
func (_m *Store) AddPending(key *types.PendingKey, value *types.PendingInfo, c storage.Cache) error
AddPending provides a mock function with given fields: key, value, c
func (*Store) AddPovBestHash ¶
AddPovBestHash provides a mock function with given fields: height, hash, batch
func (*Store) AddPovBlock ¶
AddPovBlock provides a mock function with given fields: blk, td, batch
func (*Store) AddPovBody ¶
AddPovBody provides a mock function with given fields: height, hash, body
func (*Store) AddPovDiffStat ¶
func (_m *Store) AddPovDiffStat(dayStat *types.PovDiffDayStat) error
AddPovDiffStat provides a mock function with given fields: dayStat
func (*Store) AddPovHeader ¶
AddPovHeader provides a mock function with given fields: header
func (*Store) AddPovHeight ¶
AddPovHeight provides a mock function with given fields: hash, height
func (*Store) AddPovMinerStat ¶
func (_m *Store) AddPovMinerStat(dayStat *types.PovMinerDayStat) error
AddPovMinerStat provides a mock function with given fields: dayStat
func (*Store) AddPovTxLookup ¶
func (_m *Store) AddPovTxLookup(txHash types.Hash, txLookup *types.PovTxLookup, batch ...storage.Batch) error
AddPovTxLookup provides a mock function with given fields: txHash, txLookup, batch
func (*Store) AddPovTxLookupInBatch ¶
func (_m *Store) AddPovTxLookupInBatch(txHash types.Hash, txLookup *types.PovTxLookup, batch storage.Batch) error
AddPovTxLookupInBatch provides a mock function with given fields: txHash, txLookup, batch
func (*Store) AddRepresentation ¶
func (_m *Store) AddRepresentation(address types.Address, diff *types.Benefit, c storage.Cache) error
AddRepresentation provides a mock function with given fields: address, diff, c
func (*Store) AddSmartContractBlock ¶
func (_m *Store) AddSmartContractBlock(value *types.SmartContractBlock) error
AddSmartContractBlock provides a mock function with given fields: value
func (*Store) AddStateBlock ¶
func (_m *Store) AddStateBlock(block *types.StateBlock) error
AddStateBlock provides a mock function with given fields: block
func (*Store) AddTokenMetaConfirmed ¶
func (_m *Store) AddTokenMetaConfirmed(address types.Address, meta *types.TokenMeta, c storage.Cache) error
AddTokenMetaConfirmed provides a mock function with given fields: address, meta, c
func (*Store) AddTrieCleanHeight ¶ added in v1.4.2
AddTrieCleanHeight provides a mock function with given fields: height
func (*Store) AddUncheckedBlock ¶
func (_m *Store) AddUncheckedBlock(key types.Hash, value *types.StateBlock, kind types.UncheckedKind, sync types.SynchronizedKind) error
AddUncheckedBlock provides a mock function with given fields: key, value, kind, sync
func (*Store) AddUncheckedSyncBlock ¶
AddUncheckedSyncBlock provides a mock function with given fields: previous, blk
func (*Store) AddUnconfirmedSyncBlock ¶
AddUnconfirmedSyncBlock provides a mock function with given fields: hash, blk
func (*Store) AddVoteHistory ¶
AddVoteHistory provides a mock function with given fields: hash, address
func (*Store) BatchGetPovHeadersByHeightAsc ¶
func (_m *Store) BatchGetPovHeadersByHeightAsc(height uint64, count uint64) ([]*types.PovHeader, error)
BatchGetPovHeadersByHeightAsc provides a mock function with given fields: height, count
func (*Store) BatchGetPovHeadersByHeightDesc ¶
func (_m *Store) BatchGetPovHeadersByHeightDesc(height uint64, count uint64) ([]*types.PovHeader, error)
BatchGetPovHeadersByHeightDesc provides a mock function with given fields: height, count
func (*Store) BlockConfirmed ¶
func (_m *Store) BlockConfirmed(blk *types.StateBlock)
BlockConfirmed provides a mock function with given fields: blk
func (*Store) BlocksByAccount ¶
func (_m *Store) BlocksByAccount(address types.Address, limit int, offset int) ([]types.Hash, error)
BlocksByAccount provides a mock function with given fields: address, limit, offset
func (*Store) BlocksCount ¶
BlocksCount provides a mock function with given fields:
func (*Store) BlocksCountByType ¶
BlocksCountByType provides a mock function with given fields:
func (*Store) Cache ¶
func (_m *Store) Cache() *ledger.MemoryCache
Cache provides a mock function with given fields:
func (*Store) CalculateAmount ¶
CalculateAmount provides a mock function with given fields: block
func (*Store) CleanAllVoteHistory ¶
CleanAllVoteHistory provides a mock function with given fields:
func (*Store) CleanBlockVoteHistory ¶
CleanBlockVoteHistory provides a mock function with given fields: hash
func (*Store) CleanSyncCache ¶
func (_m *Store) CleanSyncCache()
CleanSyncCache provides a mock function with given fields:
func (*Store) ContractAddress ¶
ContractAddress provides a mock function with given fields: b
func (*Store) CountAccountMetas ¶
CountAccountMetas provides a mock function with given fields:
func (*Store) CountBlocksCache ¶
CountBlocksCache provides a mock function with given fields:
func (*Store) CountFrontiers ¶
CountFrontiers provides a mock function with given fields:
func (*Store) CountPeersInfo ¶
CountPeersInfo provides a mock function with given fields:
func (*Store) CountPovAccountTxs ¶
CountPovAccountTxs provides a mock function with given fields:
func (*Store) CountPovBestHashs ¶
CountPovBestHashs provides a mock function with given fields:
func (*Store) CountPovBlocks ¶
CountPovBlocks provides a mock function with given fields:
func (*Store) CountPovTxs ¶
CountPovTxs provides a mock function with given fields:
func (*Store) CountRepresentations ¶
CountRepresentations provides a mock function with given fields:
func (*Store) CountSmartContractBlocks ¶
CountSmartContractBlocks provides a mock function with given fields:
func (*Store) CountStateBlocks ¶
CountStateBlocks provides a mock function with given fields:
func (*Store) CountUncheckedBlocks ¶
CountUncheckedBlocks provides a mock function with given fields:
func (*Store) CountUncheckedBlocksStore ¶ added in v1.4.2
CountUncheckedBlocksStore provides a mock function with given fields:
func (*Store) CountUncheckedSyncBlocks ¶
CountUncheckedSyncBlocks provides a mock function with given fields:
func (*Store) CountUnconfirmedSyncBlocks ¶
CountUnconfirmedSyncBlocks provides a mock function with given fields:
func (*Store) CountVmLogs ¶
CountVmLogs provides a mock function with given fields:
func (*Store) DebugAllPovInfos ¶
func (_m *Store) DebugAllPovInfos()
DebugAllPovInfos provides a mock function with given fields:
func (*Store) DeleteAccountMeta ¶
DeleteAccountMeta provides a mock function with given fields: key, c
func (*Store) DeleteAccountMetaCache ¶
DeleteAccountMetaCache provides a mock function with given fields: key, batch
func (*Store) DeleteBlockCache ¶
DeleteBlockCache provides a mock function with given fields: hash, batch
func (*Store) DeleteBlockPrivatePayload ¶
DeleteBlockPrivatePayload provides a mock function with given fields: hash, c
func (*Store) DeleteFrontier ¶
DeleteFrontier provides a mock function with given fields: key, c
func (*Store) DeleteGapDoDSettleStateBlock ¶
DeleteGapDoDSettleStateBlock provides a mock function with given fields: key, blkHash
func (*Store) DeleteGapPovBlock ¶
DeleteGapPovBlock provides a mock function with given fields: height, hash
func (*Store) DeleteGapPublishBlock ¶
DeleteGapPublishBlock provides a mock function with given fields: key, blkHash
func (*Store) DeletePending ¶
DeletePending provides a mock function with given fields: key, c
func (*Store) DeletePovBestHash ¶
DeletePovBestHash provides a mock function with given fields: height, batch
func (*Store) DeletePovBlock ¶
DeletePovBlock provides a mock function with given fields: blk
func (*Store) DeletePovBody ¶
DeletePovBody provides a mock function with given fields: height, hash
func (*Store) DeletePovDiffStat ¶
DeletePovDiffStat provides a mock function with given fields: dayIndex
func (*Store) DeletePovHeader ¶
DeletePovHeader provides a mock function with given fields: height, hash
func (*Store) DeletePovHeight ¶
DeletePovHeight provides a mock function with given fields: hash
func (*Store) DeletePovMinerStat ¶
DeletePovMinerStat provides a mock function with given fields: dayIndex
func (*Store) DeletePovTD ¶
DeletePovTD provides a mock function with given fields: hash, height
func (*Store) DeletePovTxLookup ¶
DeletePovTxLookup provides a mock function with given fields: txHash, batch
func (*Store) DeletePovTxLookupInBatch ¶
DeletePovTxLookupInBatch provides a mock function with given fields: txHash, batch
func (*Store) DeleteStateBlock ¶
DeleteStateBlock provides a mock function with given fields: key, c
func (*Store) DeleteTokenMetaCache ¶
func (_m *Store) DeleteTokenMetaCache(address types.Address, tokenType types.Hash, batch ...storage.Batch) error
DeleteTokenMetaCache provides a mock function with given fields: address, tokenType, batch
func (*Store) DeleteTokenMetaConfirmed ¶
func (_m *Store) DeleteTokenMetaConfirmed(address types.Address, tokenType types.Hash, c storage.Cache) error
DeleteTokenMetaConfirmed provides a mock function with given fields: address, tokenType, c
func (*Store) DeleteUncheckedBlock ¶
DeleteUncheckedBlock provides a mock function with given fields: key, kind
func (*Store) DeleteUncheckedSyncBlock ¶
DeleteUncheckedSyncBlock provides a mock function with given fields: hash
func (*Store) DeleteUnconfirmedSyncBlock ¶
DeleteUnconfirmedSyncBlock provides a mock function with given fields: hash
func (*Store) DeleteVmLogs ¶
DeleteVmLogs provides a mock function with given fields: key, c
func (*Store) DropAllPovBlocks ¶
DropAllPovBlocks provides a mock function with given fields:
func (*Store) EmptyRelation ¶
EmptyRelation provides a mock function with given fields:
func (*Store) GenerateChangeBlock ¶
func (_m *Store) GenerateChangeBlock(account types.Address, representative types.Address, prk ed25519.PrivateKey) (*types.StateBlock, error)
GenerateChangeBlock provides a mock function with given fields: account, representative, prk
func (*Store) GenerateOnlineBlock ¶
func (_m *Store) GenerateOnlineBlock(account types.Address, prk ed25519.PrivateKey, povHeight uint64) (*types.StateBlock, error)
GenerateOnlineBlock provides a mock function with given fields: account, prk, povHeight
func (*Store) GenerateReceiveBlock ¶
func (_m *Store) GenerateReceiveBlock(sendBlock *types.StateBlock, prk ed25519.PrivateKey) (*types.StateBlock, error)
GenerateReceiveBlock provides a mock function with given fields: sendBlock, prk
func (*Store) GenerateSendBlock ¶
func (_m *Store) GenerateSendBlock(block *types.StateBlock, amount types.Balance, prk ed25519.PrivateKey) (*types.StateBlock, error)
GenerateSendBlock provides a mock function with given fields: block, amount, prk
func (*Store) GetAccountMeta ¶
func (_m *Store) GetAccountMeta(address types.Address, c ...storage.Cache) (*types.AccountMeta, error)
GetAccountMeta provides a mock function with given fields: address, c
func (*Store) GetAccountMetaByPovHeight ¶
func (_m *Store) GetAccountMetaByPovHeight(address types.Address, height uint64) (*types.AccountMeta, error)
GetAccountMetaByPovHeight provides a mock function with given fields: address, height
func (*Store) GetAccountMetaCaches ¶
func (_m *Store) GetAccountMetaCaches(fn func(*types.AccountMeta) error) error
GetAccountMetaCaches provides a mock function with given fields: fn
func (*Store) GetAccountMetaConfirmed ¶
func (_m *Store) GetAccountMetaConfirmed(address types.Address, c ...storage.Cache) (*types.AccountMeta, error)
GetAccountMetaConfirmed provides a mock function with given fields: address, c
func (*Store) GetAccountMetas ¶
func (_m *Store) GetAccountMetas(fn func(*types.AccountMeta) error) error
GetAccountMetas provides a mock function with given fields: fn
func (*Store) GetAccountMeteCache ¶
func (_m *Store) GetAccountMeteCache(key types.Address, batch ...storage.Batch) (*types.AccountMeta, error)
GetAccountMeteCache provides a mock function with given fields: key, batch
func (*Store) GetAllPovBestBlocks ¶
GetAllPovBestBlocks provides a mock function with given fields: fn
func (*Store) GetAllPovBestHashes ¶
GetAllPovBestHashes provides a mock function with given fields: fn
func (*Store) GetAllPovBestHeaders ¶
GetAllPovBestHeaders provides a mock function with given fields: fn
func (*Store) GetAllPovBlocks ¶
GetAllPovBlocks provides a mock function with given fields: fn
func (*Store) GetAllPovDiffStats ¶
func (_m *Store) GetAllPovDiffStats(fn func(*types.PovDiffDayStat) error) error
GetAllPovDiffStats provides a mock function with given fields: fn
func (*Store) GetAllPovHeaders ¶
GetAllPovHeaders provides a mock function with given fields: fn
func (*Store) GetAllPovMinerStats ¶
func (_m *Store) GetAllPovMinerStats(fn func(*types.PovMinerDayStat) error) error
GetAllPovMinerStats provides a mock function with given fields: fn
func (*Store) GetBlockCache ¶
GetBlockCache provides a mock function with given fields: key
func (*Store) GetBlockCaches ¶
func (_m *Store) GetBlockCaches(fn func(*types.StateBlock) error) error
GetBlockCaches provides a mock function with given fields: fn
func (*Store) GetBlockChild ¶
GetBlockChild provides a mock function with given fields: hash, c
func (*Store) GetBlockLink ¶
GetBlockLink provides a mock function with given fields: key, c
func (*Store) GetBlockPrivatePayload ¶
GetBlockPrivatePayload provides a mock function with given fields: hash, c
func (*Store) GetCacheStat ¶
GetCacheStat provides a mock function with given fields:
func (*Store) GetCacheStatue ¶
GetCacheStatue provides a mock function with given fields:
func (*Store) GetFrontier ¶
GetFrontier provides a mock function with given fields: hash, cache
func (*Store) GetFrontiers ¶
GetFrontiers provides a mock function with given fields:
func (*Store) GetGapDoDSettleStateBlock ¶
func (_m *Store) GetGapDoDSettleStateBlock(key types.Hash, visit types.GapDoDSettleStateBlockWalkFunc) error
GetGapDoDSettleStateBlock provides a mock function with given fields: key, visit
func (*Store) GetGapPublishBlock ¶
GetGapPublishBlock provides a mock function with given fields: key, visit
func (*Store) GetLastGapPovHeight ¶
GetLastGapPovHeight provides a mock function with given fields:
func (*Store) GetLatestPovBestHash ¶
GetLatestPovBestHash provides a mock function with given fields:
func (*Store) GetLatestPovBlock ¶
GetLatestPovBlock provides a mock function with given fields:
func (*Store) GetLatestPovDiffStat ¶
func (_m *Store) GetLatestPovDiffStat() (*types.PovDiffDayStat, error)
GetLatestPovDiffStat provides a mock function with given fields:
func (*Store) GetLatestPovHeader ¶
GetLatestPovHeader provides a mock function with given fields:
func (*Store) GetLatestPovMinerStat ¶
GetLatestPovMinerStat provides a mock function with given fields: batch
func (*Store) GetOnlineRepresentations ¶
GetOnlineRepresentations provides a mock function with given fields:
func (*Store) GetPeerInfo ¶
GetPeerInfo provides a mock function with given fields: peerID
func (*Store) GetPeersInfo ¶
GetPeersInfo provides a mock function with given fields: fn
func (*Store) GetPending ¶
func (_m *Store) GetPending(pendingKey *types.PendingKey) (*types.PendingInfo, error)
GetPending provides a mock function with given fields: pendingKey
func (*Store) GetPendings ¶
func (_m *Store) GetPendings(fn func(*types.PendingKey, *types.PendingInfo) error) error
GetPendings provides a mock function with given fields: fn
func (*Store) GetPendingsByAddress ¶
func (_m *Store) GetPendingsByAddress(address types.Address, fn func(*types.PendingKey, *types.PendingInfo) error) error
GetPendingsByAddress provides a mock function with given fields: address, fn
func (*Store) GetPendingsByToken ¶
func (_m *Store) GetPendingsByToken(account types.Address, token types.Hash, fn func(*types.PendingKey, *types.PendingInfo) error) error
GetPendingsByToken provides a mock function with given fields: account, token, fn
func (*Store) GetPovBestHash ¶
GetPovBestHash provides a mock function with given fields: height, batch
func (*Store) GetPovBlockByHash ¶
GetPovBlockByHash provides a mock function with given fields: hash
func (*Store) GetPovBlockByHeight ¶
GetPovBlockByHeight provides a mock function with given fields: height
func (*Store) GetPovBlockByHeightAndHash ¶
func (_m *Store) GetPovBlockByHeightAndHash(height uint64, hash types.Hash) (*types.PovBlock, error)
GetPovBlockByHeightAndHash provides a mock function with given fields: height, hash
func (*Store) GetPovBody ¶
GetPovBody provides a mock function with given fields: height, hash
func (*Store) GetPovDiffStat ¶
func (_m *Store) GetPovDiffStat(dayIndex uint32) (*types.PovDiffDayStat, error)
GetPovDiffStat provides a mock function with given fields: dayIndex
func (*Store) GetPovHeader ¶
GetPovHeader provides a mock function with given fields: height, hash
func (*Store) GetPovHeaderByHash ¶
GetPovHeaderByHash provides a mock function with given fields: hash
func (*Store) GetPovHeaderByHeight ¶
GetPovHeaderByHeight provides a mock function with given fields: height
func (*Store) GetPovHeight ¶
GetPovHeight provides a mock function with given fields: hash
func (*Store) GetPovLatestHeight ¶
GetPovLatestHeight provides a mock function with given fields:
func (*Store) GetPovMinerStat ¶
func (_m *Store) GetPovMinerStat(dayIndex uint32, batch ...storage.Batch) (*types.PovMinerDayStat, error)
GetPovMinerStat provides a mock function with given fields: dayIndex, batch
func (*Store) GetPovTD ¶
func (_m *Store) GetPovTD(hash types.Hash, height uint64, batch ...storage.Batch) (*types.PovTD, error)
GetPovTD provides a mock function with given fields: hash, height, batch
func (*Store) GetPovTxLookup ¶
GetPovTxLookup provides a mock function with given fields: txHash
func (*Store) GetPovTxlScanCursor ¶
GetPovTxlScanCursor provides a mock function with given fields:
func (*Store) GetRandomStateBlock ¶
func (_m *Store) GetRandomStateBlock() (*types.StateBlock, error)
GetRandomStateBlock provides a mock function with given fields:
func (*Store) GetRelation ¶
GetRelation provides a mock function with given fields: dest, query
func (*Store) GetRepresentation ¶
GetRepresentation provides a mock function with given fields: key, c
func (*Store) GetRepresentations ¶
GetRepresentations provides a mock function with given fields: fn
func (*Store) GetSmartContractBlock ¶
GetSmartContractBlock provides a mock function with given fields: key
func (*Store) GetSmartContractBlocks ¶
func (_m *Store) GetSmartContractBlocks(fn func(*types.SmartContractBlock) error) error
GetSmartContractBlocks provides a mock function with given fields: fn
func (*Store) GetStateBlock ¶
GetStateBlock provides a mock function with given fields: hash, c
func (*Store) GetStateBlockConfirmed ¶
func (_m *Store) GetStateBlockConfirmed(hash types.Hash, c ...storage.Cache) (*types.StateBlock, error)
GetStateBlockConfirmed provides a mock function with given fields: hash, c
func (*Store) GetStateBlocksConfirmed ¶
func (_m *Store) GetStateBlocksConfirmed(fn func(*types.StateBlock) error) error
GetStateBlocksConfirmed provides a mock function with given fields: fn
func (*Store) GetTokenById ¶
GetTokenById provides a mock function with given fields: tokenId
func (*Store) GetTokenByName ¶
GetTokenByName provides a mock function with given fields: tokenName
func (*Store) GetTokenMeta ¶
func (_m *Store) GetTokenMeta(address types.Address, tokenType types.Hash) (*types.TokenMeta, error)
GetTokenMeta provides a mock function with given fields: address, tokenType
func (*Store) GetTokenMetaByBlockHash ¶
GetTokenMetaByBlockHash provides a mock function with given fields: hash
func (*Store) GetTokenMetaByPovHeight ¶
func (_m *Store) GetTokenMetaByPovHeight(address types.Address, token types.Hash, height uint64) (*types.TokenMeta, error)
GetTokenMetaByPovHeight provides a mock function with given fields: address, token, height
func (*Store) GetTokenMetaConfirmed ¶
func (_m *Store) GetTokenMetaConfirmed(address types.Address, tokenType types.Hash) (*types.TokenMeta, error)
GetTokenMetaConfirmed provides a mock function with given fields: address, tokenType
func (*Store) GetTrieCleanHeight ¶ added in v1.4.2
GetTrieCleanHeight provides a mock function with given fields:
func (*Store) GetUCacheStat ¶ added in v1.4.2
GetUCacheStat provides a mock function with given fields:
func (*Store) GetUCacheStatue ¶ added in v1.4.2
GetUCacheStatue provides a mock function with given fields:
func (*Store) GetUncheckedBlock ¶
func (_m *Store) GetUncheckedBlock(parentHash types.Hash, kind types.UncheckedKind) (*types.StateBlock, types.SynchronizedKind, error)
GetUncheckedBlock provides a mock function with given fields: parentHash, kind
func (*Store) GetUncheckedBlocks ¶
func (_m *Store) GetUncheckedBlocks(visit types.UncheckedBlockWalkFunc) error
GetUncheckedBlocks provides a mock function with given fields: visit
func (*Store) GetUncheckedSyncBlock ¶
GetUncheckedSyncBlock provides a mock function with given fields: hash
func (*Store) GetUnconfirmedSyncBlock ¶
GetUnconfirmedSyncBlock provides a mock function with given fields: hash
func (*Store) GetVerifiedData ¶
GetVerifiedData provides a mock function with given fields:
func (*Store) HasAccountMetaCache ¶
HasAccountMetaCache provides a mock function with given fields: key
func (*Store) HasAccountMetaConfirmed ¶
HasAccountMetaConfirmed provides a mock function with given fields: address
func (*Store) HasBlockCache ¶
HasBlockCache provides a mock function with given fields: key
func (*Store) HasPovBlock ¶
HasPovBlock provides a mock function with given fields: height, hash, batch
func (*Store) HasPovBody ¶
HasPovBody provides a mock function with given fields: height, hash, batch
func (*Store) HasPovHeader ¶
HasPovHeader provides a mock function with given fields: height, hash, batch
func (*Store) HasPovHeight ¶
HasPovHeight provides a mock function with given fields: hash
func (*Store) HasPovMinerStat ¶
HasPovMinerStat provides a mock function with given fields: dayIndex
func (*Store) HasPovTxLookup ¶
HasPovTxLookup provides a mock function with given fields: txHash
func (*Store) HasSmartContractBlock ¶
HasSmartContractBlock provides a mock function with given fields: key
func (*Store) HasStateBlock ¶
HasStateBlock provides a mock function with given fields: hash
func (*Store) HasStateBlockConfirmed ¶
HasStateBlockConfirmed provides a mock function with given fields: hash
func (*Store) HasTokenMeta ¶
HasTokenMeta provides a mock function with given fields: address, tokenType
func (*Store) HasUncheckedBlock ¶
HasUncheckedBlock provides a mock function with given fields: hash, kind
func (*Store) HasUncheckedSyncBlock ¶
HasUncheckedSyncBlock provides a mock function with given fields: hash
func (*Store) HasUnconfirmedSyncBlock ¶
HasUnconfirmedSyncBlock provides a mock function with given fields: hash
func (*Store) HasVoteHistory ¶
HasVoteHistory provides a mock function with given fields: hash, address
func (*Store) IteratorObject ¶
func (_m *Store) IteratorObject(prefix []byte, end []byte, fn func([]byte, interface{}) error) error
IteratorObject provides a mock function with given fields: prefix, end, fn
func (*Store) ListTokens ¶
ListTokens provides a mock function with given fields:
func (*Store) NeedToWriteTrie ¶ added in v1.4.2
NeedToWriteTrie provides a mock function with given fields: height
func (*Store) NewVMIterator ¶
NewVMIterator provides a mock function with given fields: address
func (*Store) PendingAmount ¶
PendingAmount provides a mock function with given fields: address, token
func (*Store) PovHeightAddGap ¶
PovHeightAddGap provides a mock function with given fields: height
func (*Store) PovHeightDeleteGap ¶
PovHeightDeleteGap provides a mock function with given fields: height
func (*Store) PovHeightHasGap ¶
PovHeightHasGap provides a mock function with given fields: height
func (*Store) RemoveStorage ¶
RemoveStorage provides a mock function with given fields: key, val, c
func (*Store) SaveStorage ¶
SaveStorage provides a mock function with given fields: val, c
func (*Store) SaveStorageByConvert ¶
SaveStorageByConvert provides a mock function with given fields: key, val, c
func (*Store) SearchVmLogs ¶
SearchVmLogs provides a mock function with given fields: fn
func (*Store) SelectRelation ¶
SelectRelation provides a mock function with given fields: dest, query
func (*Store) SetLastGapPovHeight ¶
SetLastGapPovHeight provides a mock function with given fields: height
func (*Store) SetOnlineRepresentations ¶
SetOnlineRepresentations provides a mock function with given fields: addresses
func (*Store) SetPovLatestHeight ¶
SetPovLatestHeight provides a mock function with given fields: height, batch
func (*Store) SetPovTxlScanCursor ¶
SetPovTxlScanCursor provides a mock function with given fields: height, batch
func (*Store) SetStorage ¶
SetStorage provides a mock function with given fields: val
func (*Store) SubRepresentation ¶
func (_m *Store) SubRepresentation(address types.Address, diff *types.Benefit, c storage.Cache) error
SubRepresentation provides a mock function with given fields: address, diff, c
func (*Store) UCache ¶ added in v1.4.2
func (_m *Store) UCache() *ledger.MemoryCache
UCache provides a mock function with given fields:
func (*Store) UpdateAccountMeta ¶
UpdateAccountMeta provides a mock function with given fields: value, c
func (*Store) UpdateAccountMetaHistory ¶
func (_m *Store) UpdateAccountMetaHistory(tm *types.TokenMeta, block *types.StateBlock, c storage.Cache) error
UpdateAccountMetaHistory provides a mock function with given fields: tm, block, c
func (*Store) UpdateAccountMeteCache ¶
UpdateAccountMeteCache provides a mock function with given fields: value, batch
func (*Store) UpdatePeerInfo ¶
UpdatePeerInfo provides a mock function with given fields: value
func (*Store) UpdateStateBlock ¶
UpdateStateBlock provides a mock function with given fields: block, c
func (*Store) WalkGapDoDSettleStateBlock ¶ added in v1.4.3
func (_m *Store) WalkGapDoDSettleStateBlock(visit types.GapDoDSettleStateBlockWalkFunc) error
WalkGapDoDSettleStateBlock provides a mock function with given fields: visit
func (*Store) WalkGapPovBlocks ¶
func (_m *Store) WalkGapPovBlocks(visit types.GapPovBlockWalkFunc) error
WalkGapPovBlocks provides a mock function with given fields: visit
func (*Store) WalkGapPovBlocksWithHeight ¶
func (_m *Store) WalkGapPovBlocksWithHeight(height uint64, visit types.GapPovBlockWalkFunc) error
WalkGapPovBlocksWithHeight provides a mock function with given fields: height, visit
func (*Store) WalkSyncCache ¶
func (_m *Store) WalkSyncCache(visit common.SyncCacheWalkFunc)
WalkSyncCache provides a mock function with given fields: visit