core-lightning/lightningd
Rusty Russell 2f2fb0c2a1 invoice: add msatoshi_received field.
Paid invoices need to know how much was actually paid: both for the case
where no 'msatoshi' amount was specified, and for the normal case, where
clients are permitted to overpay in order to help them disguise their
payments.

While we migrate the db, we leave this field as 0 for old paid
invoices.  This is unhelpful for accounting, but at least clearly
indicates what happened if we find this in the wild.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-01-14 23:10:10 +00:00
..
test wallet: Added unilateral close info to utxo 2018-01-08 17:19:25 +01:00
.gitignore handshaked: remove. 2017-10-20 18:31:32 +02:00
bitcoind.c bitcoind: getoutput so we can check short_channel_ids. 2018-01-11 23:13:23 +01:00
bitcoind.h bitcoind: getoutput so we can check short_channel_ids. 2018-01-11 23:13:23 +01:00
build_utxos.c wallet: Use newindex primitive to generate change key index 2018-01-08 17:19:25 +01:00
build_utxos.h build_utxos: fix weight calculation, and make more accurate. 2017-12-20 12:56:15 +01:00
chaintopology.c lightningd/chaintopology: remove unneeded chain_topology pointer from block. 2018-01-11 21:39:13 +01:00
chaintopology.h lightningd/chaintopology: remove unneeded chain_topology pointer from block. 2018-01-11 21:39:13 +01:00
dev_ping.c jsonrpc: make explicit call to indicate cmd is still pending. 2017-12-20 12:43:10 +01:00
gossip_control.c features: Move feature-handling code to a common/features.c source. 2018-01-13 11:29:42 +01:00
gossip_control.h gossipd: rewrite to do the handshake internally. 2017-10-20 18:31:32 +02:00
gossip_msg.c json_getchannels: add public flag. 2018-01-08 18:09:31 +01:00
gossip_msg.h json_getchannels: add public flag. 2018-01-08 18:09:31 +01:00
hsm_control.c hsm: Cleanup after merging control and client libraries 2017-12-03 17:06:13 +01:00
hsm_control.h lightningd/hsm_control: use a simple fd for HSM. 2017-06-27 10:25:53 +09:30
htlc_end.c htlc_out: initialize hout->key.id, in case we destroy it before setting. 2017-12-21 09:13:28 +01:00
htlc_end.h htlc_out: initialize hout->key.id, in case we destroy it before setting. 2017-12-21 09:13:28 +01:00
invoice.c invoice: add msatoshi_received field. 2018-01-14 23:10:10 +00:00
invoice.h invoice: add msatoshi_received field. 2018-01-14 23:10:10 +00:00
jsonrpc.c Check return value of json_get_params(...) call in json_getlog(...) and json_getpeers(...) 2018-01-10 23:43:50 +00:00
jsonrpc.h bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
lightningd.c gossip: fix default broadcast interval, move option. 2018-01-11 21:39:13 +01:00
lightningd.h lightningd: remove unused "forever_confirms" parameter. 2018-01-11 21:39:13 +01:00
log.c log: mark ltmp as notleak. 2017-12-20 12:43:10 +01:00
log.h memleak: add backtrace to allocations. 2017-12-20 12:43:10 +01:00
Makefile features: Move feature-handling code to a common/features.c source. 2018-01-13 11:29:42 +01:00
memdump.c lightningd: require explicit LIGHTNINGD_DEV_MEMLEAK env var to do memleak. 2017-12-20 12:43:10 +01:00
netaddress.c wireaddr: add ip[:port] parsing 2017-12-21 09:56:20 +00:00
netaddress.h wireaddr: add ip[:port] parsing 2017-12-21 09:56:20 +00:00
opt_time.c common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
opt_time.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
options.c lightningd: remove unused "forever_confirms" parameter. 2018-01-11 21:39:13 +01:00
options.h ipaddr: rename to wireaddr. 2017-10-26 21:01:09 +00:00
pay.c pay: Change online help of 'listinvoices' to use 'msatoshi' as per actual response returned. 2018-01-13 03:06:05 +00:00
pay.h lightningd: unify pay vs forward path when handling failures. 2017-06-23 09:29:42 +09:30
peer_control.c features: Move feature-handling code to a common/features.c source. 2018-01-13 11:29:42 +01:00
peer_control.h features: Move feature-handling code to a common/features.c source. 2018-01-13 11:29:42 +01:00
peer_htlcs.c invoice: add msatoshi_received field. 2018-01-14 23:10:10 +00:00
peer_htlcs.h htlc: Defer saving the outgoing payment until we store the HTLC 2017-11-23 23:45:28 +00:00
peer_state.h gossipd: rewrite to do the handshake internally. 2017-10-20 18:31:32 +02:00
subd.c Use tal_hex(...) instead of tal_hexstr(...) 2018-01-12 00:55:46 +00:00
subd.h subd: wrap all message callbacks in a transaction. 2017-11-06 10:24:34 +01:00
txfilter.c txfilter: Expose the txfilter_add_scriptpubkey function 2018-01-08 17:19:25 +01:00
txfilter.h txfilter: Expose the txfilter_add_scriptpubkey function 2018-01-08 17:19:25 +01:00
watch.c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
watch.h bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00