137 Commits (6384cadd696cce243305be944b6225f8c464ebff)

Author SHA1 Message Date
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
Rusty Russell 85fd8218e2 lightningd: track channel balance. 8 years ago
Rusty Russell 47da80fdca lightningd: dev_newhtlc command. 8 years ago
Christian Decker d2c626820f channel: Wait for 6 confirmations before sending announcement sigs 8 years ago
Rusty Russell 38bffc0f0c lightningd/subd: support multiple fds sent at once in request reply. 8 years ago
Christian Decker 3045e25624 gossip: Returning a gossip-client upon peer_ready 8 years ago
Rusty Russell da5c7e0a08 daemon/subdaemon: remove in favor of daemon/subd. 8 years ago
Rusty Russell c0b4bb1387 daemon/lightningd: store more state in peer. 8 years ago
Rusty Russell fd258fe495 lightningd: wire up opening daemon. 8 years ago
Rusty Russell dc8b174e3a lightningd/lightningd: maintain a per-peer log. 8 years ago
Rusty Russell 83b156517f lightningd/lightningd: maintain "condition" for each peer. 8 years ago
Rusty Russell 7aaffda779 lightningd/lightningd: finish connect command once gossip started. 8 years ago
Rusty Russell 1800e84db7 subdaemon: callback to handle subdaemon status updates. 8 years ago
Rusty Russell 03758af4e1 lightningd/lightningd: create unique ID for each peer. 8 years ago
Rusty Russell 211491f4d7 lightningd/lightningd: add lightning_handshake. 8 years ago