bnb-chain / opbnb

MIT License
403 stars 162 forks source link

feat: auto recover from pbss geth unclean shutdown #214

Closed krish-nr closed 1 month ago

krish-nr commented 2 months ago

Description

This PR is part of the node code for automatically recovering PBSS after an abnormal shutdown. It handles the inconsistent status returned by geth and updates the op-node's unsafe, safe, and finalize markers, as well as synchronizes with geth.

Rationale

this feature is for automatically recovering PBSS after an abnormal shutdown

Example

N/A

Changes

Notable changes: