349 Commits (9a6c36a56819a9bce17480ae7f5375f8177e0d66)

Author SHA1 Message Date
Rusty Russell 956350e62e lightningd: check peers don't leave dangling HTLCs when they die. 7 years ago
Rusty Russell e9337820a0 onchaind: remove htlcs when peer is irrevocably committed. 7 years ago
Rusty Russell 7133a2f9b3 wallet: assume db errors will be fatal, don't check. 7 years ago
Rusty Russell 1142c44c29 lightningd: fail htlcs we offer if peer unresponsive after deadline. 7 years ago
Rusty Russell 9ec5cb7ba2 script: enhance is_p2sh/is_p2pkh/is_p2wsh/is_p2wpkh to extract addr. 7 years ago
Rusty Russell 71e794a046 lightningd: split ctlv_expiry and final_cltv. 7 years ago
Rusty Russell 82f252c79a test_permfail_new_commit: fix intermittant failure. 7 years ago
Rusty Russell 0c7ca9ab7c gossipd: call to return all connected peers. 7 years ago
Rusty Russell a7d6326bef type_to_string: format wireaddr. 7 years ago
Rusty Russell 78cd25d620 ipaddr: rename to wireaddr. 7 years ago
Rusty Russell 329269d9d0 lightningd: support multiple addresses. 7 years ago
Rusty Russell bd1cac34ce netaddr: remove. 7 years ago
Rusty Russell dfd60a2047 gossipd: tell the master the peer's address. 7 years ago
Rusty Russell 3c6eec87e3 Add DEVELOPER flag, set by default. 7 years ago
Rusty Russell a2dc71b0a1 lightningd: close a take() leak. 7 years ago
Rusty Russell b6a2b8c58b Add --rgb and --alias options. 7 years ago
Rusty Russell ebdecebb1a channeld: send channel_announce and initial update to master, not gossipd. 7 years ago
Rusty Russell 79962b3588 lightningd: return transaction from fundchannel RPC. 7 years ago
Rusty Russell 48cedef756 peer_control: remove unique_id field. 7 years ago
Rusty Russell ffaa15c7da hsm: remove unique_id. 7 years ago
Rusty Russell 1954844fbf lightningd: make peer_fail_permanent() only save the first error for peer. 7 years ago
Rusty Russell 0b953b86fe subd: automatically detect if callback frees subd. 7 years ago
Rusty Russell 5a256c724a subd: simplify and cleanup lifetime handling. 7 years ago
Rusty Russell cb82bf7aa2 onchaind: send message when peer's transactions are irrevocably committed. 7 years ago
Rusty Russell 474887512d gossipd: rewrite to do the handshake internally. 7 years ago
Rusty Russell 98ad6b9231 lightningd: change connect RPC args. 7 years ago
Rusty Russell 79ebb9dfd0 json: helper to parse pubkeys. 7 years ago
Rusty Russell 871d0b1d74 lightningd: simplify peer destruction. 7 years ago
Rusty Russell f172be71dc gossipd: fail peer for the master daemon. 7 years ago
Rusty Russell 399b5f61bc gossipd: rename fail_peer to drop_peer. 7 years ago
Rusty Russell 8f057f7fc7 Revert "gossip: send the *other* node's cltv_expiry_delta in channel_announce." 7 years ago
Rusty Russell f32e0b35ad Revert "Send/receive cltv_expiry_delta in open/accept channel." 7 years ago
Christian Decker cfac9a1f73 htlcs: Remove in-memory htlc_stubs 7 years ago
Christian Decker 896a67d1d6 peer: Pass in the htlc_stub directly to tell_if_missing 7 years ago
Christian Decker a668cb4f2b onchain: Load HTLC stubs upon starting onchaind 7 years ago
Rusty Russell 297e278132 gossip: send the *other* node's cltv_expiry_delta in channel_announce. 7 years ago
Rusty Russell 18e3f9820f Send/receive cltv_expiry_delta in open/accept channel. 7 years ago
Christian Decker 249083bcc1 options: Do not schedule a reconnect attempt with `--no-reconnect` 7 years ago
Rusty Russell 3d316518fd wire: use 26-bit lengths for inter-daemon messaging. 7 years ago
Rusty Russell 2fe2a0bcf9 peer_control: don't double-free on permanent fail of non-persistent peer. 7 years ago
Rusty Russell b7bb0be944 subd: remove context arg, as we're always owned by lightningd. 7 years ago
Rusty Russell f082c7b80e lightningd: add FIXMEs for future work. 7 years ago
Rusty Russell d04b7af56e onchain: add initial onchain state. 7 years ago
Rusty Russell aea77653d3 onchaind: update bolt #5, and implement failure of timed-out onchain HTLCs. 7 years ago
Rusty Russell 5666ba551f onchaind: fail htlcs which are not included in commitment tx. 7 years ago
Rusty Russell 4ce9f73e00 BOLT update to fae35903ae600d61124a3920363094b02d2ae8e5 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 5957dd9303 lightnind: dev-sign-last-tx RPC command for testing penalty txs. 7 years ago
Rusty Russell a76a53a933 onchaind: fulfill HTLCs onchain. 7 years ago