Versions in this module Expand all Collapse all v0 v0.8.5 Nov 28, 2022 v0.8.3 Nov 28, 2022 Changes in this version + type BalanceStorageHandler struct + func NewBalanceStorageHandler(t mockConstructorTestingTNewBalanceStorageHandler) *BalanceStorageHandler + func (_m *BalanceStorageHandler) AccountsReconciled(ctx context.Context, dbTx database.Transaction, count int) error + func (_m *BalanceStorageHandler) AccountsSeen(ctx context.Context, dbTx database.Transaction, count int) error + func (_m *BalanceStorageHandler) BlockAdded(ctx context.Context, block *types.Block, changes []*parser.BalanceChange) error + func (_m *BalanceStorageHandler) BlockRemoved(ctx context.Context, block *types.Block, changes []*parser.BalanceChange) error + type BalanceStorageHelper struct + func NewBalanceStorageHelper(t mockConstructorTestingTNewBalanceStorageHelper) *BalanceStorageHelper + func (_m *BalanceStorageHelper) AccountBalance(ctx context.Context, account *types.AccountIdentifier, ...) (*types.Amount, error) + func (_m *BalanceStorageHelper) AccountsReconciled(ctx context.Context, dbTx database.Transaction) (*big.Int, error) + func (_m *BalanceStorageHelper) AccountsSeen(ctx context.Context, dbTx database.Transaction) (*big.Int, error) + func (_m *BalanceStorageHelper) Asserter() *asserter.Asserter + func (_m *BalanceStorageHelper) BalanceExemptions() []*types.BalanceExemption + func (_m *BalanceStorageHelper) ExemptFunc() parser.ExemptOperation + type BlockWorker struct + func NewBlockWorker(t mockConstructorTestingTNewBlockWorker) *BlockWorker + func (_m *BlockWorker) AddingBlock(_a0 context.Context, _a1 *errgroup.Group, _a2 *types.Block, ...) (database.CommitWorker, error) + func (_m *BlockWorker) RemovingBlock(_a0 context.Context, _a1 *errgroup.Group, _a2 *types.Block, ...) (database.CommitWorker, error) + type BroadcastStorageHandler struct + func NewBroadcastStorageHandler(t mockConstructorTestingTNewBroadcastStorageHandler) *BroadcastStorageHandler + func (_m *BroadcastStorageHandler) BroadcastFailed(_a0 context.Context, _a1 database.Transaction, _a2 string, ...) error + func (_m *BroadcastStorageHandler) TransactionConfirmed(_a0 context.Context, _a1 database.Transaction, _a2 string, ...) error + func (_m *BroadcastStorageHandler) TransactionStale(_a0 context.Context, _a1 database.Transaction, _a2 string, ...) error + type BroadcastStorageHelper struct + func NewBroadcastStorageHelper(t mockConstructorTestingTNewBroadcastStorageHelper) *BroadcastStorageHelper + func (_m *BroadcastStorageHelper) AtTip(_a0 context.Context, _a1 int64) (bool, error) + func (_m *BroadcastStorageHelper) BroadcastTransaction(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 string) (*types.TransactionIdentifier, error) + func (_m *BroadcastStorageHelper) CurrentBlockIdentifier(_a0 context.Context) (*types.BlockIdentifier, error) + func (_m *BroadcastStorageHelper) FindTransaction(_a0 context.Context, _a1 *types.TransactionIdentifier, ...) (*types.BlockIdentifier, *types.Transaction, error) + type CoinStorageHelper struct + func NewCoinStorageHelper(t mockConstructorTestingTNewCoinStorageHelper) *CoinStorageHelper + func (_m *CoinStorageHelper) CurrentBlockIdentifier(_a0 context.Context, _a1 database.Transaction) (*types.BlockIdentifier, error)