Fork Choice -- Safe Block¶
Introduction¶
Under honest majority and certain network synchronicity assumptions there exists a block that is safe from re-orgs. Normally this block is pretty close to the head of canonical chain which makes it valuable to expose a safe block to users.
This section describes an algorithm to find a safe block.
get_safe_execution_block_hash¶
Note: retrieve_fast_confirmed_root() is an implementation dependent function
that retrieves the most recent confirmed_root determined by the
Fast Confirmation algorithm.
Note: This helper uses beacon block container extended in Bellatrix and Gloas.