591 Commits (04762a1d38a84d77f3e8424b73b298f0eee99449)

Author SHA1 Message Date
Rusty Russell e8dadbc0fb lightningd: fix reconnect while openingd still live. 7 years ago
Christian Decker b0c0e28a43 gossip: Simplify announce_signature exchange 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago
Rusty Russell 153c622157 lightningd: remove lightningd_state. 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 85ff95e829 common: new directory for any shared objects. 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
Rusty Russell a5d4a3eb2c lightningd: derive num_revocations_received. 7 years ago
Christian Decker def3d77a70 lightningd: Base peer->seed off of the channel ID 7 years ago
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 8 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 8 years ago
Rusty Russell 40895e4550 Update to match spec: "BOLT7: Reorder feature bitmaps in order to allow future changes" 8 years ago
Rusty Russell 2b7c091e70 closing: update to match proposal to restart negotiation on reconnect. 8 years ago
Christian Decker fbc2b65a3d opening: Pass network_index through to openingd 8 years ago
Rusty Russell 03be40ea8b lightningd: don't reset balance when we reconnect! 8 years ago
Rusty Russell 8b71ea924a lightningd: don't crash when simply using closingd just for retransmission. 8 years ago
Rusty Russell 7d3e074863 Misc feedback minor fixes. 8 years ago
Rusty Russell 87232ec25c lightningd: new peer state CLOSINGD_COMPLETE. 8 years ago
Rusty Russell c1f21b9fce lightningd/peer_control.c: rename peer->balance. 8 years ago
Rusty Russell 0c5e238a48 lightningd: handle reconnect during shutdown and closing. 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 6fa90c926a channeld: exit after shutdown when no more HTLCs. 8 years ago
Rusty Russell 94a33a7d15 channeld: use an enum side not a bool for funder/ 8 years ago
Rusty Russell c05f63a4db peer_control: fix double-state transition on reconnect. 8 years ago
Christian Decker 70f4484ba8 channeld: Pass through the agreed feerate_per_kw to channeld 8 years ago
Christian Decker 5e1dcea5b8 opening: Passing feerate_per_kw through to master 8 years ago
Christian Decker 02aba77698 channel: Passing channel_flags through to channeld 8 years ago