100 Commits (9be4e159ae8087a7d4c68c435770b044032750d8)

Author SHA1 Message Date
Rusty Russell fc4a7cf103 channeld: return htlc from channel_add_htlc and channel_fail_htlc. 7 years ago
Rusty Russell 02411b04e4 channel: remove awaiting_revoke_and_ack flag. 7 years ago
Rusty Russell a03fe8dc75 channeld: update acceptable feerate ranges. 7 years ago
Rusty Russell 2329820460 channeld: make sure we wait for revoke_and_ack after rexmit of commitment_signed 7 years ago
Rusty Russell daf12e4a4d channeld: channel_update must use peer's htlc_minimum_msat. 7 years ago
Rusty Russell af7e6158af Makefile: clean needs to do more, distclean should remove everything. 7 years ago
Rusty Russell 552e56d002 channeld: send update_fee messages. 7 years ago
Rusty Russell c3cb7f1c85 channeld: don't assert that we're expecting revoke_and_ack. 7 years ago
Rusty Russell d28ee02cbf channeld: handle feerate on reconnect. 7 years ago
Rusty Russell 062f18127d channeld: handle incoming feerate changes. 7 years ago
Rusty Russell 6fac3438dd channeld: track feerates. 7 years ago
Rusty Russell 8999e2293a channeld: implement approx_max_feerate. 7 years ago
Rusty Russell f45d962a14 channeld: implement and refine fee-related functions. 7 years ago
Rusty Russell b836b452dc feerate: keep feerates separately for each side. 7 years ago
Rusty Russell f1e4cad9d4 feerate: use u32 everywhere. 7 years ago
Rusty Russell 40315bfb91 test: fix dependencies. 7 years ago
Rusty Russell 37b4ab306e run-channel.c: move under channeld/ 7 years ago
Rusty Russell 0a131c6389 channel: use flag to indicate we're awaiting revoke_and_ack. 7 years ago
Rusty Russell c328a76438 channeld: use flags to track whether changes are pending. 7 years ago
Rusty Russell 5fb4577890 channeld/full_channel: fix incorrect reutrn from channel_rcvd_revoke_and_ack. 7 years ago
Christian Decker aeeb0b7011 channel: Re-enable channel after reconnect 7 years ago
Rusty Russell fc05779f78 subdaemons: pass back and forth the htlc points. 7 years ago
Rusty Russell 3363bab6c9 channeld: use HTLC key for htlc signatures. 7 years ago
Rusty Russell 4db460903a htlc_tx: wire up the htlc points. 7 years ago
Rusty Russell fe5614a489 basepoints/secrets: add htlc entry 7 years ago
Christian Decker 71c090745b channel: Defer sending the announcement_signature until both lock 7 years ago
Rusty Russell 71e794a046 lightningd: split ctlv_expiry and final_cltv. 7 years ago
Rusty Russell 3c6eec87e3 Add DEVELOPER flag, set by default. 7 years ago
Rusty Russell 954a3990fa gossipd: don't send a peer to master with half-written or half-read packet. 7 years ago
Rusty Russell ebdecebb1a channeld: send channel_announce and initial update to master, not gossipd. 7 years ago
Rusty Russell 2394c9a2e7 crypto_state: move to its own file. 7 years ago
Rusty Russell 8f057f7fc7 Revert "gossip: send the *other* node's cltv_expiry_delta in channel_announce." 7 years ago
Rusty Russell 297e278132 gossip: send the *other* node's cltv_expiry_delta in channel_announce. 7 years ago
Rusty Russell 2a28173891 Typo fix: CTLV -> CLTV. 7 years ago
Rusty Russell e137e2527f Update BOLT references with typo fixes. 7 years ago
Rusty Russell 32631b4278 generate-wire.py: add --bolt arg, use size->type hacks only when that's specified. 7 years ago
Rusty Russell 8bb20d127d channeld: add debugging into io_loop. 7 years ago
Rusty Russell 72b215f6fe Make all internal message numbers unique. 7 years ago
Rusty Russell ab8251c214 lightningd: dev-reenable-commit RPC command to re-enable commit timer. 7 years ago
Rusty Russell ce160d9b17 lightnind: _ dev-disconnect argument to suppress commit timer. 7 years ago
Rusty Russell ef28b6112c status: use common status codes for all the failures. 7 years ago
Christian Decker 006d664b59 channeld: Make sure status_setup_sync is called before status_failed 7 years ago
Rusty Russell cc34f572ca channeld: fix sync write to master. 7 years ago
Rusty Russell 5acbc04ec8 channeld: assert we're not somehow nonblocking in init_channel. 7 years ago
Christian Decker b0c0e28a43 gossip: Simplify announce_signature exchange 7 years ago
Rusty Russell 4e81d2431b channeld: fix corruption when dealing with queued packets. 7 years ago
Rusty Russell 7e13e9e457 channeld: don't allow NULL htlcmap for full_channel 7 years ago
Rusty Russell 1cf33eefe2 lightningd: handle case where channeld fails locally-generated HTLC. 7 years ago
Rusty Russell 52db7fd27b channeld: correctly send failure message on local HTLC failure. 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago