LearnBitcoin

Glossary

BIP 40 (Alerts Avoid Replay)

Addressed potential replay of old alert messages, part of the now-deprecated alert system in Bitcoin.

BIP 40 was a one-line patch on the old Bitcoin alert system: prevent replay of stale alert messages. The whole alert system has since been removed, which makes BIP 40 doubly retired.

The alert mechanism let a handful of early developers broadcast network-wide warnings signed by a master key. By 2016 it was obvious that one signing key gating an emergency channel was a centralization risk - even if the holders were trustworthy, the key itself was a target, and there was no clean way to rotate it. Bitcoin Core deprecated alerts in 0.12.1 (April 2016), removed them entirely in 0.13 (August 2016), and the alert private key was then deliberately published so no one could revive the system maliciously.

Spec: BIP-40. Today the equivalent function (urgent operational signal) lives on mailing lists, IRC, and the bitcoin-dev / bitcoin-core-dev community channels - decentralized, slow, and impossible to silently capture.

Key takeaways

  • Stopped reuse of older network alerts
  • Part of a now-retired alert mechanism
  • Demonstrates the iterative security focus in Bitcoin

Related terms (6)