Module end_of_support

Source
Expand description

End of support checking task.

Constants§

CHECK_INTERVAL 🔒
The amount of time between end of support checks.
EOS_PANIC_AFTER
The maximum number of days after ESTIMATED_RELEASE_HEIGHT where a Zebra server will run without halting.
EOS_PANIC_MESSAGE_HEADER
A string which is part of the panic that will be displayed if Zebra halts.
EOS_WARN_AFTER
The number of days before the end of support where Zebra will display warnings.
EOS_WARN_MESSAGE_HEADER
A string which is part of the warning that will be displayed if Zebra release is close to halting.
ESTIMATED_RELEASE_HEIGHT
The estimated height that this release will be published.
INITIAL_WAIT 🔒
Wait a few seconds at startup so best_tip_height is always Some.

Functions§

check
Check if the current release is too old and panic if so.
start
Start the end of support checking task for Mainnet.