Documentation ¶
Index ¶
- func NewBlockGetter(tx ethdb.Tx) *blockGetter
- func NewChainContext(tx ethdb.Tx) *chainContext
- type BlockPropagator
- type StateReader
- func (r *StateReader) ReadAccountCode(address common.Address, incarnation uint64, codeHash common.Hash) ([]byte, error)
- func (r *StateReader) ReadAccountCodeSize(address common.Address, incarnation uint64, codeHash common.Hash) (int, error)
- func (r *StateReader) ReadAccountData(address common.Address) (*accounts.Account, error)
- func (r *StateReader) ReadAccountIncarnation(address common.Address) (uint64, error)
- func (r *StateReader) ReadAccountStorage(address common.Address, incarnation uint64, key *common.Hash) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlockGetter ¶
func NewChainContext ¶
Types ¶
type BlockPropagator ¶
type StateReader ¶
type StateReader struct {
// contains filtered or unexported fields
}
func NewStateReader ¶
func NewStateReader(tx ethdb.Tx, blockNr uint64) *StateReader
func (*StateReader) ReadAccountCode ¶
func (*StateReader) ReadAccountCodeSize ¶
func (*StateReader) ReadAccountData ¶
func (*StateReader) ReadAccountIncarnation ¶
func (r *StateReader) ReadAccountIncarnation(address common.Address) (uint64, error)
func (*StateReader) ReadAccountStorage ¶
Click to show internal directories.
Click to hide internal directories.