SPV bridges reject forged Bitcoin headers through proof of work
SPV bridges defend against fake Bitcoin blocks by checking proof of work, header links, deposit proofs and confirmations before a bridge releases tokens.
By The Coin Wire Editorial5 min read

SPV bridges defend against fake Bitcoin blocks by accepting only proof-of-work-valid headers linked to a known checkpoint, waiting for confirmations and verifying a deposit’s Merkle proof. A fabricated header cannot pass those checks just because someone submits it to the bridge.
Consider an illustrative deposit intended to release tokens on Polygon. The bridge needs evidence that the Bitcoin transaction appears in a block, and that the block sits deep enough in the accepted Bitcoin chain. TeleSwap uses a Bitcoin relay for this verification; for the user, the teleswap cross-chain swap path makes token release depend on evidence accepted by the relay, rather than a submitter’s claim.
What happens when someone submits a fake header?
An on-chain Bitcoin relay checks each header’s proof of work before it considers the block part of a valid chain. A Bitcoin header is 80 bytes: version, previous block hash, Merkle root, timestamp, nBits target and nonce. The relay hashes that header and checks whether the result is at or below the target encoded by nBits. A hash above the target fails, regardless of who submitted it.
That rule makes a fake block costly to create. A miner cannot choose a convenient hash directly; they must try header values until the hash meets the target. The target changes with Bitcoin’s difficulty, which retargets every 2016 blocks. A relay must check that the target is appropriate for the header’s position in the chain, rather than trusting a submitter’s stated difficulty.
Passing the hash check is not enough. Each header’s previous-hash field must point to its parent, so changing an old header breaks the links to later headers. When competing branches exist, the relay follows the branch with the most cumulative work, not simply the branch with more headers or the latest submission. This is the main defense against a short, cheap-looking chain built to justify a false deposit.
Relay contracts also have to start somewhere. Each is bootstrapped from a hard-coded starting header and difficulty; later proof-of-work checks chain back to that checkpoint. The checkpoint is therefore a trust assumption that must be verified. If it is wrong, the relay’s later checks can faithfully extend the wrong history.
How does the relay check the deposit?
A Merkle proof shows that a transaction is included in the block committed to by a header’s Merkle root. The submitter supplies the transaction and the branch of hashes needed to reconstruct that root. If the computed root matches the header, the relay can confirm inclusion without receiving every transaction in the block.
That is the simplified payment verification (SPV) idea described in section 8 of Bitcoin: A Peer-to-Peer Electronic Cash System: keep block headers and use a Merkle branch to connect a transaction to one of them. The Bitcoin Developer Reference describes the header fields and nBits target. Compared with a full Bitcoin node, an SPV relay handles less data and can verify inclusion efficiently. It does not independently validate every transaction and block rule that a full node checks.
In the Polygon deposit case, TeleSwap’s relay first needs the header chain, then a Merkle proof tying the deposit transaction to one header’s root. It also applies a depth rule: the deposit block must have a required number of accepted blocks after it before the bridge honors the transaction. TeleportDAO’s bridge flow uses the relay’s accepted proof as the basis for releasing teleBTC, rather than treating transaction inclusion alone as final.
What would a deep fake deposit cost?
For a deposit six blocks deep, an attacker trying to make a false branch accepted must produce valid proof of work and build enough cumulative work to overtake the honest branch. In the simple case, that means mining six valid blocks faster than the whole network adds its blocks, while also catching up if the honest chain keeps growing.
Each block requires hashing at the target difficulty, so the attacker competes against the network’s combined mining power. While the attacker spends that capacity on a private branch, honest miners can earn the block rewards on the public chain. The deeper the deposit becomes, the more work the attacker needs to replace it. Six confirmations raise the cost; they do not make a reorganization mathematically impossible.
The comparison is with trusting a single submitter or an external observer, which can be faster but asks the bridge to rely on that party’s report. An SPV relay instead makes proof of work, chain links, accumulated work, depth and transaction inclusion visible to the contract. Its trade-off is that users still rely on the relay’s checkpoint and its implementation of Bitcoin’s header rules; SPV also inherits the whitepaper’s warning that it is more vulnerable when an attacker overpowers the honest network.
Related
What is a Bitcoin light client?
A Bitcoin light client keeps headers and uses Merkle proofs to check transaction inclusion without downloading and validating the entire chain like a full node.
What is a Merkle proof in a Bitcoin block?
A Merkle proof is a set of sibling hashes that lets a verifier recompute the block’s Merkle root and test whether a transaction is included.
Who submits Bitcoin headers to a relay contract?
Relayers or other participants submit headers and transaction proofs, but the contract’s checks determine whether the evidence is accepted. The signal to watch is whether the relay validates the checkpoint, expected targets, chainwork, deposit depth and Merkle inclusion before the bridge releases tokens.