> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extractor.live/llms.txt
> Use this file to discover all available pages before exploring further.

# Block Re-org

> The Block Re-org detector monitors a blockchain for reorganizations, alerting when historical blocks are replaced and chain consistency is at risk.

**Behavior**
Protocol Layer reorg is when blockchain found another blockchain tip candidate. Previous observed block will not be part of blockchain

**Use cases**

* Exchange & Custodian Double-Spend Protection - Block reorgs can invalidate previously confirmed transactions, opening the risk of double-spend attacks against exchanges or custodians. The detector alerts whenever a reorg occurs, allowing exchanges to delay crediting deposits or increase confirmation requirements during periods of instability.

* DeFi Protocol Stability Monitoring - A DeFi protocol executes critical operations (liquidations, oracle updates, collateral withdrawals). A reorg can cause these actions to roll back and potentially create inconsistencies. The detector provides early warnings of reorgs, allowing protocols to pause sensitive operations or re-validate contract state.

* Regulatory & Risk Oversight - Regulators or institutional investors require assurance that critical blockchain activity (e.g., settlement, stablecoin issuance) isn't occurring on unstable forks. The detector logs and reports reorg events, creating an auditable trail of chain instability.

## Configuration

<Steps>
  <Step title="Name">
    Enter a descriptive name for your monitor, for example: "Block Reorg".
  </Step>

  <Step title="Reorg Depth">
    Enter the minimum number of blocks that get reorganized to trigger an alert.
  </Step>
</Steps>

<img src="https://mintcdn.com/hacken-38641811/tf4sXPSOl1ndZd5g/assets/block_reorg_faq.png?fit=max&auto=format&n=tf4sXPSOl1ndZd5g&q=85&s=dc13cd1cfc05d40ff09813b300298455" alt="" width="3419" height="1763" data-path="assets/block_reorg_faq.png" />

**Alert example**

<img src="https://mintcdn.com/hacken-38641811/tf4sXPSOl1ndZd5g/assets/block_reorg_alert.png?fit=max&auto=format&n=tf4sXPSOl1ndZd5g&q=85&s=0c130afb2efbe2cf14ceed47c520e953" alt="" width="1364" height="1544" data-path="assets/block_reorg_alert.png" />
