229 Commits (1954844fbff805020ad0ccc460edd212070d9719)

Author SHA1 Message Date
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
Rusty Russell 664ce8bfc2 watch: remove peer_debug helper. 7 years ago
Christian Decker e418f2a7fe gossip: Make sure timestamp does not change while creating sig 7 years ago
Rusty Russell ef28b6112c status: use common status codes for all the failures. 7 years ago
Rusty Russell f219955dc6 wallet: fix spending of change. 7 years ago
Christian Decker fa13190595 wallet: Hook into the hsm_funding_sig to extract change outputs 7 years ago
Christian Decker 641a3b64cf channel: Use min_cltv_expiry in the channel announcements 7 years ago
Rusty Russell b19a4516d4 lightningd: fix crash when old openingd still around. 7 years ago
Rusty Russell 5889ad5fc4 dev-disconnect: add blackhole option. 7 years ago
Rusty Russell e8dadbc0fb lightningd: fix reconnect while openingd still live. 7 years ago
Christian Decker b0c0e28a43 gossip: Simplify announce_signature exchange 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago
Rusty Russell 153c622157 lightningd: remove lightningd_state. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 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 1396cf6249 lightningd: remove num_revocations_received. 7 years ago
Rusty Russell a5d4a3eb2c lightningd: derive num_revocations_received. 7 years ago
Christian Decker def3d77a70 lightningd: Base peer->seed off of the channel ID 7 years ago
Christian Decker e51d261f51 lightningd: Load persisted channels on startup 7 years ago