157 Commits (facd7d16aadce8e7e8afb9afd317bc5f72ab0a52)

Author SHA1 Message Date
Christian Decker facd7d16aa json-rpc: Add `listforwardings` command 6 years ago
Christian Decker 4b4c549c9d htlcs: Wire up the forward statistics on HTLC updates 6 years ago
Rusty Russell 3991425111 gossipd: don't accept forwarding short_channel_ids we don't own. 6 years ago
Rusty Russell 1e467bb986 lightningd: fail HTLCs which are in-transit as we shut down. 6 years ago
Rusty Russell 0226ef0572 htlc: rename local flag to am_origin, add FIXME. 6 years ago
Rusty Russell 6c96bcacd7 lightningd: fix inconsistency without COMPAT enabled. 6 years ago
Rusty Russell 4146950496 lightningd: don't access htlc_in's failoutchannel on db restore. 6 years ago
Rusty Russell 79ebb8a92e db: save the failcode / failuremsg into db. 6 years ago
Rusty Russell d85251ac6c db: fix up HTLCs which are missing failure information. 6 years ago
Rusty Russell ec74aadce2 lightningd: save outgoing HTLC's preimage to db. 6 years ago
Rusty Russell 65f6813706 lightningd: handle the case where the db contains a resolved HTLC without a preimage. 6 years ago
Rusty Russell 9ef67e50ff lightningd: don't leave htlc_out's in pointer dangling when htlc_in freed. 6 years ago
Rusty Russell 4040c53258 lightningd: handle case where incoming HTLC vanished before fulfilled outgoing. 6 years ago
Rusty Russell b77906634e lightningd: even more HTLC consistency checking: check states. 6 years ago
Rusty Russell 96f05549b2 common/utils.h: add tal_arr_expand helper. 6 years ago
Rusty Russell 168bec0974 lightningd: move channel/peer/htlc load into own function. 6 years ago
Rusty Russell 807e62b05d moveonly: move feerate routines from peer_htlcs.c to channel_control.c 6 years ago
Rusty Russell 6338ae8a44 channeld: update fees if we're restarting. 6 years ago
Rusty Russell b6a63024c1 lightningd: fix double-free on multiple HTLC timeouts. 6 years ago
Rusty Russell 9f175deecd lightningd: update feerate upon receiving revoke_and_ack from fundee. 6 years ago
Mark Beckwith a3178b8177 param: remove old callback code 6 years ago
Mark Beckwith 9b28ecf8fc param: upgraded json_tok_pubkey 6 years ago
Mark Beckwith 8ebc95b7b0 param: upgraded json_tok_bool 6 years ago
Rusty Russell 65c882ca3a Minor cleanups. 6 years ago
Rusty Russell 223cd97c94 lightningd: kill channeld if we added an HTLC and it didn't commit in 30 seconds. 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 6 years ago
Christian Decker fbbc5899e4 invoices: Make the invoice_details more idiomatic 6 years ago
Rusty Russell 162879d6a2 channeld: use fulfilled_htlc and failed_htlc msgs in single htlc case. 6 years ago
Rusty Russell 1119dd5577 channeld: always receive and maintain short_channel_id of failing channel. 6 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 6 years ago
Rusty Russell e217bc1220 per-commit-secret is a struct secret, not a sha256. 6 years ago
Rusty Russell 68a8eeea21 htlc_wire: rename malformed to failcode in struct failed_htlc. 6 years ago
Rusty Russell 6e9ae98e1e lightningd: don't send uninialized malformed fields to channeld. 6 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 6 years ago
Rusty Russell e549bc6ecf lightningd: fix up BOLT references. 6 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago
ZmnSCPxj 097a8e72d1 channel_control: Forget if unconfirmed for a long time and we are fundee. 7 years ago
Rusty Russell edf1b3cec9 More option cleanups. 7 years ago
ZmnSCPxj f83c4ff903 wallet: Add msatoshi_to_us_min and msatoshi_to_us_max statistics for channels. 7 years ago
Rusty Russell 5f1c77d249 test_lightning.py: add test for onchain with different feerates. 7 years ago
Rusty Russell 6bb47276ce lightningd: put min/max feerates into db, struct channel. 7 years ago
ZmnSCPxj 0bb9bcc0f1 wallet: Track some channel usage statistics. 7 years ago
Rusty Russell 76e8a11380 wallet: use json_escaped for invoice label. 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
ZmnSCPxj 61882ed9df pay: Add hook for triggering storage of payments. 7 years ago
Corné Plooy b857b2e843 Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 7 years ago
ZmnSCPxj 978e5c67d8 invoices: Remove persistent in-memory invoice structures. 7 years ago
ZmnSCPxj 9b4c6699f9 invoices: Semantically separate invoice details from invoice. 7 years ago
practicalswift 74841ef567 Remove unused parameter payment_hash in forward_htlc(..., const struct sha256 *payment_hash, ...) 7 years ago