Skip to main content

Module sm

Module sm 

Source
Expand description

State machine for submitting transactions

Structsยง

TxSubmissionContext
TxSubmissionStatesSM
State machine to (re-)submit a transaction until it is either accepted or rejected by the federation

Enumsยง

SubmitAttemptError ๐Ÿ”’
Why one attempt to submit a transaction did not settle it, so that it is submitted again.
TxSubmissionStates

Constantsยง

SUBMISSION_STALL_WARN_AFTER ๐Ÿ”’
How long a submission may keep being re-attempted within a single client run, without the transaction being accepted or rejected, before it is reported as stalled.
SUBMISSION_STALL_WARN_INTERVAL ๐Ÿ”’
How often to repeat the stall report while the condition persists.
TRANSACTION_SUBMISSION_MODULE_INSTANCE
Reserved module instance id used for client-internal state machines

Functionsยง

tx_submission_sm_decoder