README.md
TEXT FILE692 B · Public source code for developers, search crawlers and AI agents
1# Persistent Replay Protection for Bitcoin Agent Messages
2
3Claim authenticated message identifiers once using a durable ledger.
4
5Run `python3 stage14-replay-ledger.py` locally. Assertions use synthetic data; no network or wallet calls.
6
7Call the ledger only after authentication, strict parsing and recipient checks. The unique constraint coordinates concurrent claims on one SQLite database. A claim is not proof of payment: a crash after insertion requires a durable workflow state and reconciliation. This example never deletes identifiers, so storage grows; production retention must account for expiry, clock skew and identifier reuse. It does not coordinate separate database replicas.Read-only source · Select a line number to link directly · Raw download above
