349 Commits (9a6c36a56819a9bce17480ae7f5375f8177e0d66)

Author SHA1 Message Date
Rusty Russell 664ce8bfc2 watch: remove peer_debug helper. 7 years ago
Christian Decker e418f2a7fe gossip: Make sure timestamp does not change while creating sig 7 years ago
Rusty Russell ef28b6112c status: use common status codes for all the failures. 7 years ago
Rusty Russell f219955dc6 wallet: fix spending of change. 7 years ago
Christian Decker fa13190595 wallet: Hook into the hsm_funding_sig to extract change outputs 7 years ago
Christian Decker 641a3b64cf channel: Use min_cltv_expiry in the channel announcements 7 years ago
Rusty Russell b19a4516d4 lightningd: fix crash when old openingd still around. 7 years ago
Rusty Russell 5889ad5fc4 dev-disconnect: add blackhole option. 7 years ago
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 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 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