64 Commits (4fa36c585db640bd2eebbab169cca302e94f7a15)

Author SHA1 Message Date
Christian Decker cfac9a1f73 htlcs: Remove in-memory htlc_stubs 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 d7db0be5da lightningd: start onchaind when we see funding spent. 7 years ago
Rusty Russell 1396cf6249 lightningd: remove num_revocations_received. 7 years ago
Christian Decker e51d261f51 lightningd: Load persisted channels on startup 7 years ago
Christian Decker 4bc0750882 wallet: Moving wallet_channel->peer_id into the peer struct 7 years ago
Christian Decker 406d52042b peer: Add channel to peer and save upon opening a channel 8 years ago
Rusty Russell edd27d21b5 lightningd: save last htlc sigs. 7 years ago
Rusty Russell b6d7ad0614 lightningd: store the htlc stubs. 7 years ago
Rusty Russell c389215a35 closingd: send the tx to master as we negotiate. 7 years ago
Rusty Russell dbfac68c3f lightningd: keep last valid tx, and its signature. 7 years ago
Christian Decker 85d2256898 wallet: Use persistent shachain for remote secrets 8 years ago
Rusty Russell 2b7c091e70 closing: update to match proposal to restart negotiation on reconnect. 8 years ago
Rusty Russell c1f21b9fce lightningd/peer_control.c: rename peer->balance. 8 years ago
Rusty Russell 0c07856ae4 lightningd/peer_control.c: remove unnecessary reconnected field. 8 years ago
Rusty Russell a827d2b2bb lightningd: add in support for closingd. 8 years ago
Rusty Russell 4881129f54 peer_fail_permanent: handle take() arg. 8 years ago
Rusty Russell 42c9cb58c7 channeld: rename commit_index to next_index. 8 years ago
Rusty Russell de5bf56ffa opening: update to new open_channel with channel_flags. 8 years ago
Rusty Russell ac703ff9dc lgihtningd: remove extraneous whitespace. 8 years ago
Rusty Russell 866ac79850 channeld: shutdown support. 8 years ago
Rusty Russell ee00c2c508 lightningd: remove peer->gossip_client_fd 8 years ago
Rusty Russell 7213312f57 lightningd: remove fd from struct peer. 8 years ago
Rusty Russell 31ff5a49f4 lightningd/peer_control: remove cs from struct peer. 8 years ago
Rusty Russell 232a182b25 lightningd: get fd from HSM synchronously. 8 years ago
Rusty Russell 77620ea06f lightningd: get funding signature from HSM synchronously. 8 years ago
Rusty Russell 15405f95e1 lightningd: simply store commit index, rather than count sent/received. 8 years ago
Rusty Russell ffa5e1c52c peer_fail: differentiate transient and permanent failures. 8 years ago
Rusty Russell d236e724a9 channeld: save old remote_per_commit and return it in init. 8 years ago
Rusty Russell 6b61e9ab0a channeld: exchange channel_reestablish. 8 years ago
Rusty Russell 7e820f07e7 channeld: get commit indices from master. 8 years ago
Rusty Russell c1d5e41dfe channeld: include last sent commit and last revoke in init message. 8 years ago
Rusty Russell 6700a48d42 lightningd: save num_commits_sent/received and num_revocations_received. 8 years ago
Rusty Russell a55b58d0d5 lightningd: track balance in way which matches channeld. 8 years ago
Rusty Russell 060a440548 channeld: tell master about next_per_commit_point. 8 years ago
Rusty Russell 61906ea415 channeld: don't keep shachain. 8 years ago
Rusty Russell 996567c250 lightningd: update BOLT to add channel_reestablish message. 8 years ago
Rusty Russell f7a22b699e lightningd/peer_control: embed id, don't use pointer. 8 years ago
Rusty Russell ed16bb3134 channeld: send optional init message. 8 years ago
Rusty Russell 43ec37b865 openingd: fundee: don't send watch command to master. 8 years ago
Rusty Russell 3ab3281a4c lightningd/opening: rename functions and wire messages for clarity. 8 years ago
Rusty Russell 1e36a19164 lightningd/peer_control: keep cryptostate. 8 years ago
Rusty Russell 780b3870ad lightningd: peer state cleanup. 8 years ago
Rusty Russell f6495d3310 lightningd/peer_control: don't create peer struct until we've connected. 8 years ago
Rusty Russell 34e6e56471 lightningd: introduce peer_state enum. 8 years ago
Rusty Russell 93849b1e02 lightningd/peer_control: save funder side in struct peer. 8 years ago
Rusty Russell be9bb5f9cb lightningd: peer_fail helper to fail/reconnect peer. 8 years ago
Rusty Russell 103ac79c34 lightningd: expose channel in getpeers. 8 years ago
Rusty Russell ba12e316f1 lightningd: fix minimum depth. 8 years ago