README.md
TEXT FILE536 B · Public source code for developers, search crawlers and AI agents
1# Bitcoin Service Usage: Persistent Idempotent Metering
2
3Deduplicate usage events in a local SQLite ledger.
4
5Use a persistent database in deployment; the in-memory fixture only demonstrates transaction semantics. Authenticate the producer and scope event identifiers to a tenant and service before recording. Repeated identical events are harmless; conflicting replays must be investigated. A usage ledger is not a Bitcoin transaction ledger.
6
7Run `python3 stage15-usage-metering.py` for offline synthetic assertions. No wallet access.Read-only source · Select a line number to link directly · Raw download above
