Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyBorMessage ¶
func ApplyMessage ¶
func ApplyMessage( _ context.Context, msg Callmsg, state *state.StateDB, header *types.Header, chainConfig *params.ChainConfig, chainContext core.ChainContext, ) (uint64, error)
apply message
Types ¶
type Callmsg ¶
callmsg implements core.Message to allow passing it as a transaction simulator.
func GetSystemMessage ¶
get system message
func (Callmsg) CheckNonce ¶
type ChainContext ¶
type ChainContext struct { Chain consensus.ChainHeaderReader Bor consensus.Engine }
func (ChainContext) Engine ¶
func (c ChainContext) Engine() consensus.Engine
Click to show internal directories.
Click to hide internal directories.