# Functions
BigIntGet attempts to fetch a *big.Int from a given key in a database.Transaction.
GetAccountKey returns a deterministic hash of a types.Account + types.Currency.
GetHistoricalBalanceKey returns a deterministic hash of a types.Account + types.Currency + block index.
GetHistoricalBalancePrefix returns a deterministic hash of a types.Account + types.Currency to limit scan results.
NewBalanceStorage returns a new BalanceStorage.
NewBlockStorage returns a new BlockStorage.
NewBroadcastStorage returns a new BroadcastStorage.
NewCoinStorage returns a new CoinStorage.
NewCounterStorage returns a new CounterStorage.
NewJobStorage returns a new instance of *JobStorage.
NewKeyStorage returns a new KeyStorage.
# Constants
ActiveReconciliationCounter is the number of active reconciliations performed.
AddressesCreatedCounter is the number of created addresses.
BlockCounter is the number of added blocks.
ExemptReconciliationCounter is the number of reconciliation failures that were exempt.
FailedBroadcastsCounter is the number of transaction broadcasts that never made it on-chain after retries.
FailedReconciliationCounter is the number of reconciliation failures that were not exempt.
InactiveReconciliationCounter is the number of inactive reconciliations performed.
OperationCounter is the number of processed operations.
OrphanCounter is the number of orphaned blocks.
ReconciledAccounts is the total number of accounts seen.
SeenAccounts is the total number of accounts seen.
SkippedReconciliationsCounter is the number of reconciliation attempts that were skipped.
StaleBroadcastsCounter is the number of transaction broadcasts that never appeared on-chain.
TransactionCounter is the number of processed transactions.
TransactionsConfirmedCounter is the number of confirmed transactions.
TransactionsCreatedCounter is the number of created transactions.
# Structs
BalanceStorage implements block specific storage methods on top of a database.Database and database.Transaction interface.
BlockStorage implements block specific storage methods on top of a database.Database and database.Transaction interface.
BootstrapBalance represents a balance of a *types.AccountIdentifier and a *types.Currency in the genesis block.
Broadcast is persisted to the db to track transaction broadcast.
BroadcastStorage implements storage methods for managing transaction broadcast.
CoinStorage implements storage methods for storing UTXOs.
CounterStorage implements counter-specific storage methods on top of a database.Database and database.Transaction interface.
JobStorage implements storage methods for managing jobs.
Key is the struct stored in key storage.
KeyStorage implements key storage methods on top of a database.Database and database.Transaction interface.
PrefundedAccount is used to load prefunded addresses into key storage.
# Interfaces
BalanceStorageHandler is invoked after balance changes are committed to the database.
BalanceStorageHelper functions are used by BalanceStorage to process balances.
BlockWorker is an interface that allows for work to be done while a block is added/removed from storage in the same database transaction as the change.
BroadcastStorageHandler is invoked when a transaction is confirmed on-chain or when a transaction is considered stale.
BroadcastStorageHelper is used by BroadcastStorage to submit transactions and find said transaction in blocks on-chain.
CoinStorageHelper is used by CoinStorage to determine at which block a Coin set is valid.