500 Commits (83758571165cd16c6c9a1acd21178dc7591f9d71)

Author SHA1 Message Date
Rusty Russell e2c5104aab lightningd: immediately fail HTLCs coming in from shutting down channels. 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 4185153d81 gossipd: interface to get a client gossip_fd for a reconnect. 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 6e59f85666 subd: expose raw API for getting a single fd to a subdaemon. 7 years ago
Rusty Russell 4ef3e9e3fb lightningd/peer_control: get announcement signature from HSM synchronously. 7 years ago
Rusty Russell d1d84a81d2 lightningd/new_connection: get handshake fd 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
Rusty Russell 40ce29beac wire_sync_write: support take() 7 years ago
Christian Decker 938ab67a01 wallet: move can_spend to wallet.c and json_addfunds to walletrpc.c 7 years ago
Christian Decker d6656358b5 wallet: Add bip32_base to the wallet struct 7 years ago
Christian Decker 8cdab9da1e wallet: Move json_newaddr to wallet.c 7 years ago
Christian Decker 8c4f381afb hsm: Sign withdrawal transactions 7 years ago
Christian Decker a775b52941 wallet: Return change satoshis when selecting coins 7 years ago
Christian Decker 3f594172b2 hsm: Add messages for withdrawal signature requests 7 years ago
Christian Decker 479036604b wallet: Implement withdrawal transaction generation 7 years ago
Christian Decker 7738bccf42 wallet: Move coin-selection primitives to wallet 7 years ago
Christian Decker 40165ba6d5 script: Use pkh to construct p2pkh output scripts 7 years ago
Rusty Russell 773d2c09e1 lightningd: push incoming HTLCs into SENT_REMOVE_HTLC upon outgoing resolution. 7 years ago
Rusty Russell 9e941e26ed channeld: increment remote commit_index before receiving revoke. 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 66d55334b0 dev_disconnect: log when we are going to disconnect. 7 years ago
Rusty Russell d236e724a9 channeld: save old remote_per_commit and return it in init. 7 years ago
Rusty Russell e3debe5adb lightningd: move common "can I send HTLC" checks into send_htlc_out. 7 years ago
Rusty Russell fa91394ec7 lightningd: only update the maximum htlc ID on commit. 7 years ago
Rusty Russell 7882bc0536 lightningd: unify pay vs forward path when handling failures. 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 90284af249 channeld: make per_commit_point and per_commit_secret handling clearer. 7 years ago
Rusty Russell 9497cbe73b lightningd/channel: tell master about the commit sigs. 7 years ago
Rusty Russell 3f65f0f000 lightningd: fix up malformed onion handling. 7 years ago
Rusty Russell 4097351f16 channeld: get handed existing HTLCs in init message. 7 years ago
Rusty Russell dc160110a6 lightningd/channel: support forcing HTLCs to restore channel state. 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
Rusty Russell 4151135be2 channel: change initialization to have explicit local amount, and commot indices. 7 years ago
Rusty Russell a6b03dec15 channeld: do init as sync IO. 7 years ago
Rusty Russell a55b58d0d5 lightningd: track balance in way which matches channeld. 7 years ago
Rusty Russell f918c3a0e7 lightningd/htlc_wire: routines to marshal/unmarshal enum side. 7 years ago
Rusty Russell be1b9eb4cf lightningd/htlc_wire: routines to marshal/unmarshal enum htlc_state. 7 years ago
Rusty Russell 060a440548 channeld: tell master about next_per_commit_point. 7 years ago