zebrad::components::sync

Module end_of_support

source
Expand description

End of support checking task.

Constantsยง

  • CHECK_INTERVAL ๐Ÿ”’
    The amount of time between end of support checks.
  • The maximum number of days after ESTIMATED_RELEASE_HEIGHT where a Zebra server will run without halting.
  • A string which is part of the panic that will be displayed if Zebra halts.
  • The number of days before the end of support where Zebra will display warnings.
  • A string which is part of the warning that will be displayed if Zebra release is close to halting.
  • 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 if the current release is too old and panic if so.
  • Start the end of support checking task for Mainnet.