Module zebrad::components::sync::end_of_support

source ·
Expand description

End of support checking task.

Constants§

  • 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.
  • 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.