Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module interface { InitializeBlock(header primitives.Header) error ExecuteBlock(block primitives.Block) error ApplyExtrinsic(uxt primitives.UncheckedExtrinsic) error FinalizeBlock() (primitives.Header, error) ValidateTransaction(source primitives.TransactionSource, uxt primitives.UncheckedExtrinsic, blockHash primitives.Blake2bHash) (primitives.ValidTransaction, error) OffchainWorker(header primitives.Header) error }
func New ¶
func New(systemModule system.Module, runtimeExtrinsic extrinsic.RuntimeExtrinsic, onRuntimeUpgrade primitives.OnRuntimeUpgrade, logger log.TraceLogger) Module
Click to show internal directories.
Click to hide internal directories.