Documentation ¶
Index ¶
- Constants
- func CheckChangeSets(genesis *types.Genesis, logger log.Logger, blockNum uint64, chaindata string, ...) error
- func Erigon4(genesis *types.Genesis, chainConfig *chain2.Config, logger log.Logger) error
- func Execute()
- func History22(genesis *types.Genesis, logger log.Logger) error
- func NewOpcodeTracer(blockNum uint64, saveOpcodes bool, saveBblocks bool) *opcodeTracer
- func OpcodeTracer(genesis *types.Genesis, blockNum uint64, chaindata string, numBlocks uint64, ...) error
- func StateRoot(genesis *types.Genesis, logger log.Logger, blockNum uint64, datadir string) error
- type RetStackTop
- type StateReaderV4
- func (rw *StateReaderV4) ReadAccountCode(address libcommon.Address, incarnation uint64, codeHash libcommon.Hash) ([]byte, error)
- func (rw *StateReaderV4) ReadAccountCodeSize(address libcommon.Address, incarnation uint64, codeHash libcommon.Hash) (int, error)
- func (rw *StateReaderV4) ReadAccountData(address libcommon.Address) (*accounts.Account, error)
- func (rw *StateReaderV4) ReadAccountIncarnation(address libcommon.Address) (uint64, error)
- func (rw *StateReaderV4) ReadAccountStorage(address libcommon.Address, incarnation uint64, key *libcommon.Hash) ([]byte, error)
- type StateWriterV4
- func (ww *StateWriterV4) CreateContract(address libcommon.Address) error
- func (ww *StateWriterV4) DeleteAccount(address libcommon.Address, original *accounts.Account) error
- func (ww *StateWriterV4) UpdateAccountCode(address libcommon.Address, incarnation uint64, codeHash libcommon.Hash, ...) error
- func (ww *StateWriterV4) UpdateAccountData(address libcommon.Address, original, account *accounts.Account) error
- func (ww *StateWriterV4) WriteAccountStorage(address libcommon.Address, incarnation uint64, key *libcommon.Hash, ...) error
Constants ¶
View Source
const MaxUint16 = ^uint16(0)
const MaxUint = ^uint(0) const MaxUint64 = ^uint64(0)
Variables ¶
This section is empty.
Functions ¶
func CheckChangeSets ¶
func CheckChangeSets(genesis *types.Genesis, logger log.Logger, blockNum uint64, chaindata string, historyfile string, nocheck bool, transactionV3 bool) error
CheckChangeSets re-executes historical transactions in read-only mode and checks that their outputs match the database ChangeSets.
func NewOpcodeTracer ¶
Types ¶
type RetStackTop ¶
type RetStackTop []uint32
type StateReaderV4 ¶
type StateReaderV4 struct {
// contains filtered or unexported fields
}
Implements StateReader and StateWriter
func (*StateReaderV4) ReadAccountCode ¶
func (*StateReaderV4) ReadAccountCodeSize ¶
func (*StateReaderV4) ReadAccountData ¶
func (*StateReaderV4) ReadAccountIncarnation ¶
func (rw *StateReaderV4) ReadAccountIncarnation(address libcommon.Address) (uint64, error)
func (*StateReaderV4) ReadAccountStorage ¶
type StateWriterV4 ¶
type StateWriterV4 struct {
// contains filtered or unexported fields
}
func (*StateWriterV4) CreateContract ¶
func (ww *StateWriterV4) CreateContract(address libcommon.Address) error
func (*StateWriterV4) DeleteAccount ¶
func (*StateWriterV4) UpdateAccountCode ¶
func (*StateWriterV4) UpdateAccountData ¶
Click to show internal directories.
Click to hide internal directories.