Module subblocks

Module subblocks 

Source

Structsยง

Actor ๐Ÿ”’
Task managing collected subblocks.
BuildSubblockTask ๐Ÿ”’
Task for building a subblock.
BuiltSubblock ๐Ÿ”’
A built subblock ready to be sent.
Config ๐Ÿ”’
Mailbox ๐Ÿ”’
Handle to the spawned subblocks service.

Enumsยง

Message ๐Ÿ”’
Actions processed by the subblocks service.
PendingSubblock ๐Ÿ”’
The current state of our subblock.
SubblocksMessage ๐Ÿ”’
Network messages used in the subblocks service.

Constantsยง

MAX_SUBBLOCK_TXS ๐Ÿ”’
Maximum number of stored subblock transactions. Used to prevent DOS attacks.

Functionsยง

build_subblock ๐Ÿ”’
Builds a subblock from candidate transactions weโ€™ve collected so far.
evm_at_block ๐Ÿ”’
validate_subblock ๐Ÿ”’
Validates a subblock and reports it to the subblocks service.