modules

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2020 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalanceStorageHandler

type BalanceStorageHandler struct {
	mock.Mock
}

BalanceStorageHandler is an autogenerated mock type for the BalanceStorageHandler type

func (*BalanceStorageHandler) AccountsReconciled

func (_m *BalanceStorageHandler) AccountsReconciled(ctx context.Context, dbTx database.Transaction, count int) error

AccountsReconciled provides a mock function with given fields: ctx, dbTx, count

func (*BalanceStorageHandler) AccountsSeen

func (_m *BalanceStorageHandler) AccountsSeen(ctx context.Context, dbTx database.Transaction, count int) error

AccountsSeen provides a mock function with given fields: ctx, dbTx, count

func (*BalanceStorageHandler) BlockAdded

func (_m *BalanceStorageHandler) BlockAdded(ctx context.Context, block *types.Block, changes []*parser.BalanceChange) error

BlockAdded provides a mock function with given fields: ctx, block, changes

func (*BalanceStorageHandler) BlockRemoved

func (_m *BalanceStorageHandler) BlockRemoved(ctx context.Context, block *types.Block, changes []*parser.BalanceChange) error

BlockRemoved provides a mock function with given fields: ctx, block, changes

type BalanceStorageHelper

type BalanceStorageHelper struct {
	mock.Mock
}

BalanceStorageHelper is an autogenerated mock type for the BalanceStorageHelper type

func (*BalanceStorageHelper) AccountBalance

func (_m *BalanceStorageHelper) AccountBalance(ctx context.Context, account *types.AccountIdentifier, currency *types.Currency, block *types.BlockIdentifier) (*types.Amount, error)

AccountBalance provides a mock function with given fields: ctx, account, currency, block

func (*BalanceStorageHelper) AccountsReconciled

func (_m *BalanceStorageHelper) AccountsReconciled(ctx context.Context, dbTx database.Transaction) (*big.Int, error)

AccountsReconciled provides a mock function with given fields: ctx, dbTx

func (*BalanceStorageHelper) AccountsSeen

func (_m *BalanceStorageHelper) AccountsSeen(ctx context.Context, dbTx database.Transaction) (*big.Int, error)

AccountsSeen provides a mock function with given fields: ctx, dbTx

func (*BalanceStorageHelper) Asserter

func (_m *BalanceStorageHelper) Asserter() *asserter.Asserter

Asserter provides a mock function with given fields:

func (*BalanceStorageHelper) BalanceExemptions

func (_m *BalanceStorageHelper) BalanceExemptions() []*types.BalanceExemption

BalanceExemptions provides a mock function with given fields:

func (*BalanceStorageHelper) ExemptFunc

func (_m *BalanceStorageHelper) ExemptFunc() parser.ExemptOperation

ExemptFunc provides a mock function with given fields:

type BlockWorker

type BlockWorker struct {
	mock.Mock
}

BlockWorker is an autogenerated mock type for the BlockWorker type

func (*BlockWorker) AddingBlock

func (_m *BlockWorker) AddingBlock(_a0 context.Context, _a1 *types.Block, _a2 database.Transaction) (database.CommitWorker, error)

AddingBlock provides a mock function with given fields: _a0, _a1, _a2

func (*BlockWorker) RemovingBlock

func (_m *BlockWorker) RemovingBlock(_a0 context.Context, _a1 *types.Block, _a2 database.Transaction) (database.CommitWorker, error)

RemovingBlock provides a mock function with given fields: _a0, _a1, _a2

type BroadcastStorageHandler

type BroadcastStorageHandler struct {
	mock.Mock
}

BroadcastStorageHandler is an autogenerated mock type for the BroadcastStorageHandler type

func (*BroadcastStorageHandler) BroadcastFailed

BroadcastFailed provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

func (*BroadcastStorageHandler) TransactionConfirmed

func (_m *BroadcastStorageHandler) TransactionConfirmed(_a0 context.Context, _a1 database.Transaction, _a2 string, _a3 *types.BlockIdentifier, _a4 *types.Transaction, _a5 []*types.Operation) error

TransactionConfirmed provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5

func (*BroadcastStorageHandler) TransactionStale

TransactionStale provides a mock function with given fields: _a0, _a1, _a2, _a3

type BroadcastStorageHelper

type BroadcastStorageHelper struct {
	mock.Mock
}

BroadcastStorageHelper is an autogenerated mock type for the BroadcastStorageHelper type

func (*BroadcastStorageHelper) AtTip

func (_m *BroadcastStorageHelper) AtTip(_a0 context.Context, _a1 int64) (bool, error)

AtTip provides a mock function with given fields: _a0, _a1

func (*BroadcastStorageHelper) BroadcastTransaction

BroadcastTransaction provides a mock function with given fields: _a0, _a1, _a2

func (*BroadcastStorageHelper) CurrentBlockIdentifier

func (_m *BroadcastStorageHelper) CurrentBlockIdentifier(_a0 context.Context) (*types.BlockIdentifier, error)

CurrentBlockIdentifier provides a mock function with given fields: _a0

func (*BroadcastStorageHelper) FindTransaction

FindTransaction provides a mock function with given fields: _a0, _a1, _a2

type CoinStorageHelper

type CoinStorageHelper struct {
	mock.Mock
}

CoinStorageHelper is an autogenerated mock type for the CoinStorageHelper type

func (*CoinStorageHelper) CurrentBlockIdentifier

func (_m *CoinStorageHelper) CurrentBlockIdentifier(_a0 context.Context, _a1 database.Transaction) (*types.BlockIdentifier, error)

CurrentBlockIdentifier provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL