163 Commits (524e56cf569f1fa0e441086589a902a1706c03ef)

Author SHA1 Message Date
Rusty Russell 99581bd709 dev_disconnect: support 'permfail' line to permanently fail peer. 7 years ago
Rusty Russell f765e0e846 bip32: marshal/unmarshal routines. 7 years ago
Rusty Russell f5624af965 lightningd: fix error packet we send due to permanent error. 7 years ago
Rusty Russell ce24731da9 lightningd: use internal_error rather than freeing peer. 7 years ago
Christian Decker 85d2256898 wallet: Use persistent shachain for remote secrets 7 years ago
Rusty Russell 40895e4550 Update to match spec: "BOLT7: Reorder feature bitmaps in order to allow future changes" 7 years ago
Rusty Russell 2b7c091e70 closing: update to match proposal to restart negotiation on reconnect. 7 years ago
Christian Decker fbc2b65a3d opening: Pass network_index through to openingd 7 years ago
Rusty Russell 03be40ea8b lightningd: don't reset balance when we reconnect! 7 years ago
Rusty Russell 8b71ea924a lightningd: don't crash when simply using closingd just for retransmission. 7 years ago
Rusty Russell 7d3e074863 Misc feedback minor fixes. 7 years ago
Rusty Russell 87232ec25c lightningd: new peer state CLOSINGD_COMPLETE. 7 years ago
Rusty Russell c1f21b9fce lightningd/peer_control.c: rename peer->balance. 7 years ago
Rusty Russell 0c5e238a48 lightningd: handle reconnect during shutdown and closing. 7 years ago
Rusty Russell 0c07856ae4 lightningd/peer_control.c: remove unnecessary reconnected field. 7 years ago
Rusty Russell a827d2b2bb lightningd: add in support for closingd. 7 years ago
Rusty Russell 6fa90c926a channeld: exit after shutdown when no more HTLCs. 7 years ago
Rusty Russell 94a33a7d15 channeld: use an enum side not a bool for funder/ 7 years ago
Rusty Russell c05f63a4db peer_control: fix double-state transition on reconnect. 7 years ago
Christian Decker 70f4484ba8 channeld: Pass through the agreed feerate_per_kw to channeld 7 years ago
Christian Decker 5e1dcea5b8 opening: Passing feerate_per_kw through to master 7 years ago
Christian Decker 02aba77698 channel: Passing channel_flags through to channeld 7 years ago
Rusty Russell ac1172c7b0 lightningd: check scriptpubkey in shutdown. 7 years ago
Rusty Russell 4881129f54 peer_fail_permanent: handle take() arg. 7 years ago
Rusty Russell 42c9cb58c7 channeld: rename commit_index to next_index. 7 years ago
Rusty Russell de5bf56ffa opening: update to new open_channel with channel_flags. 7 years ago
Rusty Russell fc4e2d8b48 lightningd: fix typo. 7 years ago
Rusty Russell 99289bece7 lightningd/peer_control.c: fix memleak. 7 years ago
Rusty Russell ac703ff9dc lgihtningd: remove extraneous whitespace. 7 years ago
Rusty Russell 866ac79850 channeld: shutdown support. 7 years ago
Rusty Russell ee00c2c508 lightningd: remove peer->gossip_client_fd 7 years ago
Rusty Russell ea52b0a8ff openingd: pass back gossip fd on completion. 7 years ago
Rusty Russell 2ff50107ac lightningd/hsm_control: use a simple fd for HSM. 7 years ago
Rusty Russell 4ef3e9e3fb lightningd/peer_control: get announcement signature from HSM synchronously. 7 years ago
Rusty Russell 7213312f57 lightningd: remove fd from struct peer. 7 years ago
Rusty Russell f2d4309add lightningd/subd: explicit failure reply support. 7 years ago
Rusty Russell 31ff5a49f4 lightningd/peer_control: remove cs from struct peer. 7 years ago
Rusty Russell 232a182b25 lightningd: get fd from HSM synchronously. 7 years ago
Rusty Russell 77620ea06f lightningd: get funding signature from HSM synchronously. 7 years ago
Christian Decker 7738bccf42 wallet: Move coin-selection primitives to wallet 7 years ago
Rusty Russell d95adf7f33 subd: hand through fatal messages as well to callback. 7 years ago
Rusty Russell 15405f95e1 lightningd: simply store commit index, rather than count sent/received. 7 years ago
Rusty Russell ffa5e1c52c peer_fail: differentiate transient and permanent failures. 7 years ago
Rusty Russell d236e724a9 channeld: save old remote_per_commit and return it in init. 7 years ago
Rusty Russell 6b61e9ab0a channeld: exchange channel_reestablish. 7 years ago
Rusty Russell b600e6118c lightningd/channel: hand commit_index in when creating txs only. 7 years ago
Rusty Russell 4097351f16 channeld: get handed existing HTLCs in init message. 7 years ago
Rusty Russell 7e820f07e7 channeld: get commit indices from master. 7 years ago
Rusty Russell c1d5e41dfe channeld: include last sent commit and last revoke in init message. 7 years ago
Rusty Russell 6700a48d42 lightningd: save num_commits_sent/received and num_revocations_received. 7 years ago