core-lightning/plugins/bkpr
niftynei 5146baa00b bkpr csvs: koinly + cointracker only accept fees on the same line
So we print out invoice fees on the same line for those CSVs! This means
we have to do a little bit of gymnastics (but not too bad):
	- we save the fee amount onto the income event now so we can use
it later
	- we ignore every "invoice_fee" event for the koinly/cointracker

Note that since we're not skipping income events in the loops we also
move the newline character to the start of every `_entry` function so
skipped records dont incur empth lines.

Changelog-Added: bkpr: print out invoice fees on the same line for `koinly` and `cointracker` csv types
2022-07-28 12:08:18 +09:30
..
test bkpr: save invoice description data to the database and display it 2022-07-28 12:08:18 +09:30
account.c bkpr: new method, "is_external_account" 2022-07-28 12:08:18 +09:30
account.h bkpr: new method, "is_external_account" 2022-07-28 12:08:18 +09:30
account_entry.c bkpr: separate the invoice_fees from the invoice paid 2022-07-28 12:08:18 +09:30
account_entry.h bkpr: separate the invoice_fees from the invoice paid 2022-07-28 12:08:18 +09:30
bookkeeper.c bkpr: save invoice description data to the database and display it 2022-07-28 12:08:18 +09:30
chain_event.c bkpr: save invoice description data to the database and display it 2022-07-28 12:08:18 +09:30
chain_event.h bkpr: save invoice description data to the database and display it 2022-07-28 12:08:18 +09:30
channel_event.c bkpr: save invoice description data to the database and display it 2022-07-28 12:08:18 +09:30
channel_event.h bkpr: save invoice description data to the database and display it 2022-07-28 12:08:18 +09:30
channelsapy.c bkpr: make sure there's always at least on difference in blockheights 2022-07-28 12:08:18 +09:30
channelsapy.h bkpr: command to calculate some APYs/stats on channel routing fees 2022-07-28 12:08:18 +09:30
db.c bkpr: save invoice description data to the database and display it 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
incomestmt.c bkpr csvs: koinly + cointracker only accept fees on the same line 2022-07-28 12:08:18 +09:30
incomestmt.h bkpr csvs: koinly + cointracker only accept fees on the same line 2022-07-28 12:08:18 +09:30
Makefile bkpr: save invoice description data to the database and display it 2022-07-28 12:08:18 +09:30
onchain_fee.c bkpr: add 'msat' suffix to all msat denominated fields 2022-07-28 12:08:18 +09:30
onchain_fee.h bkpr: move json_to functions to respective type files 2022-07-28 12:08:18 +09:30
recorder.c bkpr: save invoice description data to the database and display it 2022-07-28 12:08:18 +09:30
recorder.h bkpr: save invoice description data to the database and display it 2022-07-28 12:08:18 +09:30