Logo officiel du MASTR MASTR Soutenir le travail
Sommaire
← Accueil du wiki

Comprendre les blockchains

Chain reorganisations: why recent inclusion can change

A node can replace its recent chain view when a different valid branch becomes canonical under the consensus rules.

Technical reference · settlement · 1 min read

Les enquêtes et les fiches de référence sont publiées en anglais. La navigation est disponible en sept langues.

Dans cet article
  1. Competing histories
  2. The accounting consequences
  3. Sources et originaux

Competing histories

Networks can temporarily produce competing valid blocks. Nodes use their consensus and fork-choice rules to determine which history to follow. A reorganisation replaces a portion of the previously followed branch, potentially moving or removing transactions that appeared in that branch.

This is why inclusion, confirmation depth and finality should not be treated as synonyms. The relevant assurance depends on the chain and its consensus mechanism. A wallet showing a transaction in a recent block does not independently establish irreversible settlement under every possible failure model.

The accounting consequences

An exchange or indexer must handle the reversal of a credited observation when its supporting block is no longer canonical. Applications that react to the first event without rollback logic can display incorrect balances or perform an offchain action too early.

For an investigation, preserve the block hash alongside the height and transaction identifier. A height alone can refer to a different block after a reorganisation. Snapshots and incident timelines should explain whether a cited event was merely observed, confirmed under a policy or finalised under the protocol.

Sources et originaux

Lectures associées

MASTR

Soutenir la recherche indépendante

Les enquêtes, les preuves originales et les guides sont en accès libre. Les dons volontaires contribuent au financement de la recherche et au maintien des outils MASTR.

Ouvrir le portefeuille