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_HEIGHTwhere 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_heightis alwaysSome.
Functionsยง
- check
- Check if the current release is too old and panic if so.
- end_
of_ support_ height - Returns the estimated last supported height for this release, or
Noneon networks where end of support is not enforced. - estimated_
height_ after_ release - Returns the estimated height
daysafterESTIMATED_RELEASE_HEIGHTonnetwork, following the target block spacing in force at each height. - start
- Start the end of support checking task for Mainnet.