56 Commits (1e5789d421001af499b5df42a3a6f9fa1597070b)

Author SHA1 Message Date
Rusty Russell 58f6e316cc lightningd: separate fee_states out of struct channel_info. 4 years ago
Rusty Russell 47002af369 test_penalty_htlc_tx_timeout: debugging 5 years ago
Rusty Russell 2c3543e42d lightningd: fix crash when failing htlc once channeld dies. 5 years ago
Rusty Russell b29d1ed3ff channeld: support HTLCs with blinding (EXPERIMENTAL_FEATURES) 5 years ago
Rusty Russell d9fc99ea39 channeld: simplify loading of pre-existing HTLCs. 5 years ago
Rusty Russell 40e3566e9a lightningd: use the async mechanism for channel_update access. 5 years ago
Rusty Russell 247d249ea8 gossipd: provide helper to get a channels cupdate, create routine to use it. 5 years ago
Rusty Russell bbc7a79542 lightningd: always use an onionreply for locally generated incoming HTLC errors (unless BADONION). 5 years ago
Rusty Russell 590b2db88e lightningd: make local htlc failures pass a wiremsg for errors, not a failcode. 5 years ago
Rusty Russell bb9b761dda channeld: don't get details of our own failed htlcs at init. 5 years ago
Rusty Russell 72aa315b5e lightningd: save the fee_states into the database. 5 years ago
Rusty Russell 12985331f7 htlcs: remove origin_htlc_id from htlc_out. 5 years ago
Rusty Russell 345ca9b122 db: add partid field to htlc_out. 5 years ago
trueptolemy 7ffa4ad0bc plugin: Register `forward_event` notification 5 years ago
Rusty Russell 049529542a lightningd: delay reprocessing of incoming htlcs at startup until plugins ready. 5 years ago
trueptolemy a449a91ae2 JSON: Warp the process of forward payment json object 6 years ago
Rusty Russell f1bea55395 lightningd: fix occasional missing txid detection. 6 years ago
Rusty Russell 6630b99cf7 lightningd: move local invoice resolution into invoice.c function. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell c919551109 onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing. 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
ZmnSCPxj 097a8e72d1 channel_control: Forget if unconfirmed for a long time and we are fundee. 7 years ago
Rusty Russell 36652a3df3 lightningd/peer_control: reorder, move more functions out. 7 years ago
Rusty Russell e0603d7221 channel: now we're always complete, fields don't have to be optional. 7 years ago
Rusty Russell 329e31bbe7 lightningd/peer_htlcs: remove remaining peer_ shims. 7 years ago
Rusty Russell cf7c399cc5 htlc: keep channel pointer, not peer pointer. 7 years ago
Rusty Russell 409fef582d subd: keep pointer to channel, not peer. 7 years ago
Rusty Russell 526d3a232e tools/generate_wire.py: generate varlen arrays properly. 7 years ago
Rusty Russell 9b8fe618f6 pay: remove cmd pointer from htlc_out. 7 years ago
Rusty Russell 38e8601cf6 wallet: abstract away delayed entry of wallet_payment. 7 years ago
Rusty Russell 02e05ba6ff pay: remove struct pay_command. 7 years ago
Rusty Russell 0f8f273410 lightningd: move cmd pointer from struct pay_command directly into htlc_out. 7 years ago
Christian Decker 79443d6f94 htlc: Defer saving the outgoing payment until we store the HTLC 7 years ago
Rusty Russell b836b452dc feerate: keep feerates separately for each side. 7 years ago
Rusty Russell 0b953b86fe subd: automatically detect if callback frees subd. 7 years ago
Rusty Russell f32e0b35ad Revert "Send/receive cltv_expiry_delta in open/accept channel." 7 years ago
Rusty Russell 18e3f9820f Send/receive cltv_expiry_delta in open/accept channel. 7 years ago
Rusty Russell 5666ba551f onchaind: fail htlcs which are not included in commitment tx. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 85ff95e829 common: new directory for any shared objects. 7 years ago
Rusty Russell d7db0be5da lightningd: start onchaind when we see funding spent. 7 years ago
Rusty Russell 893335244d openingd: supply initial tx as well as signature. 7 years ago
Christian Decker ca00ec0bb8 htlc: Include htlc_wire.h in peer_htlcs.h to avoid forward decl 8 years ago
Christian Decker 5e1dcea5b8 opening: Passing feerate_per_kw through to master 8 years ago
Rusty Russell 15405f95e1 lightningd: simply store commit index, rather than count sent/received. 8 years ago
Rusty Russell d236e724a9 channeld: save old remote_per_commit and return it in init. 8 years ago
Rusty Russell e3debe5adb lightningd: move common "can I send HTLC" checks into send_htlc_out. 8 years ago
Rusty Russell 7882bc0536 lightningd: unify pay vs forward path when handling failures. 8 years ago