Documentation ¶
Index ¶
- type PendingTxIndexer
- func (pti *PendingTxIndexer) Add(txn *badger.Txn, epoch uint32, txHash []byte, utxoIDs [][]byte) ([][]byte, error)
- func (pti *PendingTxIndexer) DeleteMined(txn *badger.Txn, txHash []byte) ([][]byte, [][]byte, error)
- func (pti *PendingTxIndexer) DeleteOne(txn *badger.Txn, txHash []byte) error
- func (pti *PendingTxIndexer) DropBefore(txn *badger.Txn, epoch uint32) ([][]byte, error)
- func (pti *PendingTxIndexer) GetEpoch(txn *badger.Txn, txHash []byte) (uint32, error)
- func (pti *PendingTxIndexer) GetOrderedIter(txn *badger.Txn) (*badger.Iterator, []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PendingTxIndexer ¶
type PendingTxIndexer struct {
// contains filtered or unexported fields
}
func NewPendingTxIndexer ¶
func NewPendingTxIndexer() *PendingTxIndexer
func (*PendingTxIndexer) DeleteMined ¶
func (pti *PendingTxIndexer) DeleteMined(txn *badger.Txn, txHash []byte) ([][]byte, [][]byte, error)
func (*PendingTxIndexer) DeleteOne ¶
func (pti *PendingTxIndexer) DeleteOne(txn *badger.Txn, txHash []byte) error
func (*PendingTxIndexer) DropBefore ¶
func (pti *PendingTxIndexer) DropBefore(txn *badger.Txn, epoch uint32) ([][]byte, error)
func (*PendingTxIndexer) GetEpoch ¶
func (pti *PendingTxIndexer) GetEpoch(txn *badger.Txn, txHash []byte) (uint32, error)
func (*PendingTxIndexer) GetOrderedIter ¶
func (pti *PendingTxIndexer) GetOrderedIter(txn *badger.Txn) (*badger.Iterator, []byte)
Click to show internal directories.
Click to hide internal directories.