180 Commits (e51d261f5163c71453979f0e020cb706b6111fe5)

Author SHA1 Message Date
Christian Decker e51d261f51 lightningd: Load persisted channels on startup 7 years ago
Christian Decker 1a94e7282b db: Make peers unique by node_id 7 years ago
Christian Decker 4bc0750882 wallet: Moving wallet_channel->peer_id into the peer struct 7 years ago
Christian Decker 3fefd5f46d master: Only persist the peer/channel if we have reached openingd 7 years ago
Christian Decker e9b69b195a wallet: Store channel to db whenever something changes 7 years ago
Christian Decker 406d52042b peer: Add channel to peer and save upon opening a channel 7 years ago
Christian Decker 17173a6322 jsonrpc: Add `connected` field to getpeers 7 years ago
Christian Decker 221fe8c5f3 reconnect: Re-assign peer->netaddr on reconnect, could have changed 7 years ago
Rusty Russell 2b9d3bb0b7 channeld: hand in chain_hash. 7 years ago
Rusty Russell 8ffdeea522 daemon/chaintopology: hand full txs to watch_tx() 7 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 893335244d openingd: supply initial tx as well as signature. 7 years ago
Rusty Russell 80e28707a3 channeld: send commit tx and signature to master. 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
Rusty Russell 8e0c19c76a lightningd: add dev-fail command to inject permenant failure. 7 years ago
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