Function zebra_state::service::write::log_if_mined_by_zebra
source ยท fn log_if_mined_by_zebra(
tip_block: &ChainTipBlock,
last_zebra_mined_log_height: &mut Option<Height>,
)
Expand description
Log a message if this block was mined by Zebra.
Does not detect early Zebra blocks, and blocks with custom coinbase transactions.
Rate-limited to every 1000 blocks using last_zebra_mined_log_height
.