Constant zebra_state::service::read::FINALIZED_STATE_QUERY_RETRIES

source ·
pub const FINALIZED_STATE_QUERY_RETRIES: usize = 3;
Expand description

If a finalized state query is interrupted by a new finalized block, retry this many times.

Once we’re at the tip, we expect up to 2 blocks to arrive at the same time. If any more arrive, the client should wait until we’re synchronised with our peers.