Documentation ¶
Index ¶
- Constants
- func NewTxDB(nodeTyp int, kvdb kv.Kvdb) ItxDB
- type TxDB
- func (bb *TxDB) ExistTxn(txnHash Hash) bool
- func (bb *TxDB) GetReceipt(txHash Hash) (*Receipt, error)
- func (bb *TxDB) GetTxn(txnHash Hash) (*SignedTxn, error)
- func (bb *TxDB) GetTxns(txnHashes []Hash) ([]*SignedTxn, error)
- func (bb *TxDB) SetReceipt(txHash Hash, receipt *Receipt) error
- func (bb *TxDB) SetReceipts(receipts map[Hash]*Receipt) error
- func (bb *TxDB) SetTxns(txns []*SignedTxn) error
Constants ¶
View Source
const ( Txns = "txns" Results = "results" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TxDB ¶
type TxDB struct {
// contains filtered or unexported fields
}
func (*TxDB) GetReceipt ¶
func (*TxDB) SetReceipt ¶
func (*TxDB) SetReceipts ¶
Click to show internal directories.
Click to hide internal directories.