core-lightning/plugins/bkpr
niftynei 899d54edd0 bkpr: have onchain_fee records be write-only, don't update in place
One really rough thing about how we did onchain fees is that the records update
every time a new event comes in.

The better way to do this is to create new entries for every adjustment,
so that reconciliation between printouts isn't a misery.

We add a timestamp and `update_count` to these records, so you can
roughly order them now (and have a good idea of the last time an event
that updated an onchain_fee occurred).
2022-07-28 12:08:18 +09:30
..
test bkpr: have onchain_fee records be write-only, don't update in place 2022-07-28 12:08:18 +09:30
account.c bookkeeper: initial crud (no tests) 2022-07-28 12:08:18 +09:30
account.h bookkeeper: initial crud (no tests) 2022-07-28 12:08:18 +09:30
bookkeeper.c bkpr: add journal entry for offset account balances; report listbalances 2022-07-28 12:08:18 +09:30
chain_event.h bookkeeper: initial crud (no tests) 2022-07-28 12:08:18 +09:30
channel_event.h bookkeeper: initial crud (no tests) 2022-07-28 12:08:18 +09:30
db.c bkpr: have onchain_fee records be write-only, don't update in place 2022-07-28 12:08:18 +09:30
db.h bkpr: first attempt at database code for accounting 2022-07-28 12:08:18 +09:30
Makefile bkpr: add bookkeeper to PLUGINS list 2022-07-28 12:08:18 +09:30
onchain_fee.h bkpr: have onchain_fee records be write-only, don't update in place 2022-07-28 12:08:18 +09:30
recorder.c bkpr: have onchain_fee records be write-only, don't update in place 2022-07-28 12:08:18 +09:30
recorder.h bkpr: add journal entry for offset account balances; report listbalances 2022-07-28 12:08:18 +09:30