Module transactions

Source
Expand description

The task which implements all transaction handling

Structsยง

BuilderResponse
Builder Provided Responses
TransactionTaskState
Tracks state of a Transaction task

Constantsยง

BUILDER_ADDITIONAL_TIME_MULTIPLIER ๐Ÿ”’
Multiplier for extra time to give to the second batch of builders
BUILDER_MAIN_BATCH_CUTOFF ๐Ÿ”’
Time the first batch of builders has to respond
BUILDER_MAIN_BATCH_THRESHOLD_DIVIDEND ๐Ÿ”’
Proportion of builders queried in first batch, dividend
BUILDER_MAIN_BATCH_THRESHOLD_DIVISOR ๐Ÿ”’
Proportion of builders queried in the first batch, divisor
BUILDER_MINIMUM_QUERY_TIME ๐Ÿ”’
Minimum amount of time allotted to both batches, cannot be cut shorter if the first batch responds extremely fast.
RETRY_DELAY ๐Ÿ”’
Delay between re-tries on unsuccessful calls