mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-17 13:06:36 +02:00
This increments the `data_version` upon committing dirty transactions, reads the last data_version upon startup, and tracks the number in memory in parallel to the DB (see next commit for rationale). Changelog-Changed: JSON-RPC: Added a `data_version` field to the `db_write` hook which returns a numeric transaction counter. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| run-db.c | ||
| run-wallet.c | ||
| test_utils.c | ||
| test_utils.h | ||