Versions in this module Expand all Collapse all v1 v1.1.14 Oct 6, 2022 Changes in this version + const ErrorConfig + const ErrorEVM + const ErrorIO + const ErrorJson + const ErrorMissingBlockhash + const ErrorRlp + var ChainIDFlag = cli.Int64Flag + var ForknameFlag = cli.StringFlag + var InputAllocFlag = cli.StringFlag + var InputEnvFlag = cli.StringFlag + var InputHeaderFlag = cli.StringFlag + var InputOmmersFlag = cli.StringFlag + var InputTxsFlag = cli.StringFlag + var InputTxsRlpFlag = cli.StringFlag + var OutputAllocFlag = cli.StringFlag + var OutputBasedir = cli.StringFlag + var OutputBlockFlag = cli.StringFlag + var OutputBodyFlag = cli.StringFlag + var OutputResultFlag = cli.StringFlag + var RewardFlag = cli.Int64Flag + var SealCliqueFlag = cli.StringFlag + var SealEthashDirFlag = cli.StringFlag + var SealEthashFlag = cli.BoolFlag + var SealEthashModeFlag = cli.StringFlag + var TraceDisableMemoryFlag = cli.BoolTFlag + var TraceDisableReturnDataFlag = cli.BoolTFlag + var TraceDisableStackFlag = cli.BoolFlag + var TraceEnableMemoryFlag = cli.BoolFlag + var TraceEnableReturnDataFlag = cli.BoolFlag + var TraceFlag = cli.BoolFlag + var VerbosityFlag = cli.IntFlag + func BuildBlock(ctx *cli.Context) error + func MakePreState(db ethdb.Database, accounts core.GenesisAlloc) *state.StateDB + func Transaction(ctx *cli.Context) error + func Transition(ctx *cli.Context) error + type Alloc map[common.Address]core.GenesisAccount + func (g Alloc) OnAccount(addr common.Address, dumpAccount state.DumpAccount) + func (g Alloc) OnRoot(common.Hash) + type ExecutionResult struct + Bloom types.Bloom + Difficulty *math.HexOrDecimal256 + GasUsed math.HexOrDecimal64 + LogsHash common.Hash + ReceiptRoot common.Hash + Receipts types.Receipts + Rejected []*rejectedTx + StateRoot common.Hash + TxRoot common.Hash + type NumberedError struct + func NewError(errorCode int, err error) *NumberedError + func (n *NumberedError) Error() string + func (n *NumberedError) ExitCode() int + type Prestate struct + Env stEnv + Pre core.GenesisAlloc + func (pre *Prestate) Apply(vmConfig vm.Config, chainConfig *params.ChainConfig, txs types.Transactions, ...) (*state.StateDB, *ExecutionResult, error)