Documentation ¶
Index ¶
- type Index
- func (c *Index) BlockByHash(hash common.Hash) *types.Block
- func (c *Index) BlockByNumber(n *big.Int) *types.Block
- func (c *Index) BlockTrieRootByIndex(n uint32) *trie.Hash
- func (c *Index) GetReceiptByTxHash(hash common.Hash) *types.Receipt
- func (c *Index) IndexBlock(trieRoot trie.Hash)
- func (c *Index) TxByBlockHashAndIndex(blockHash common.Hash, txIndex uint64) (tx *types.Transaction, blockNumber uint64)
- func (c *Index) TxByBlockNumberAndIndex(blockNumber *big.Int, txIndex uint64) (tx *types.Transaction, blockHash common.Hash)
- func (c *Index) TxByHash(hash common.Hash) (tx *types.Transaction, blockHash common.Hash, blockNumber, txIndex uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
func (*Index) GetReceiptByTxHash ¶
func (*Index) IndexBlock ¶
func (*Index) TxByBlockHashAndIndex ¶
func (*Index) TxByBlockNumberAndIndex ¶
Click to show internal directories.
Click to hide internal directories.