107 Commits (91a9c2923f2ac11c33d652953a43ab339cadfcb9)

Author SHA1 Message Date
Rusty Russell 40516941af channeld: fill in channel_update field in errors by asking gossipd. 7 years ago
Rusty Russell 0a596fb043 channel: infrastructure for gossipd request/response. 7 years ago
Rusty Russell 9de3827199 channeld: don't use ccan/io, go sync. 7 years ago
Rusty Russell ed8d65c8d7 channeld: refer to PEER_FD directly instead of using io_conn_fd(peer->peer_conn) 7 years ago
Rusty Russell 2bed246e10 channeld: generate error messages instead of having master do it. 7 years ago
Rusty Russell ee8274b7a1 channeld: handle wrapping error messages messages. 7 years ago
Rusty Russell db372211c0 channeld: save shared secret for incoming htlc when it comes in. 7 years ago
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