Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxStore ¶
type TxStore interface { // Retrieves a transaction by hash from the indexer Get(hash []byte) (*abcitypes.TxResult, error) // Searches transactions that follow the provided query Search(ctx context.Context, q *cmtquery.Query) ([]*abcitypes.TxResult, error) // Adds a list of transactions to the indexer Add(txs []*abcitypes.TxResult) error // Removes all transactions from the indexer that belong to blocks after height. RollbackToHeight(rollbackHeight, currentHeight int64) error }
func NewTxStore ¶
Click to show internal directories.
Click to hide internal directories.