487 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 91116fe67c gossip: include chain_hash in gossip messages. 7 years ago
Rusty Russell ffddb91e3e gossipd: hand in chain_hash. 7 years ago
Rusty Russell 2b9d3bb0b7 channeld: hand in chain_hash. 7 years ago
Rusty Russell b3514d3430 generate-wire.py: generate chain_hash fields as sha256_double. 7 years ago
Rusty Russell 1ecd687eec sphinx: update padding as per latest BOLT 4 7 years ago
Rusty Russell fea412dd94 BOLT: Update text to latest commit. 7 years ago
Rusty Russell 8ffdeea522 daemon/chaintopology: hand full txs to watch_tx() 7 years ago
Rusty Russell 04db39558d htlc_tx: use keyset abstraction. 7 years ago
Rusty Russell 4bfaaef408 keyset: abstraction over what keys we need for a specific commitment. 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 524e56cf56 dev_disconnect: support '*N' syntax for disconnecting on the N'th occurance. 7 years ago
Rusty Russell 99581bd709 dev_disconnect: support 'permfail' line to permanently fail peer. 7 years ago
Rusty Russell f5f8ca5352 onchain/onchain_wire: routines to marshal/unmarshal htlc stubs. 7 years ago
Rusty Russell f765e0e846 bip32: marshal/unmarshal routines. 7 years ago
Rusty Russell bcc9ed9aa6 lightningd/htlc_wire: marshal/unmashal bitcoin tx. 7 years ago
Rusty Russell a4f290daba htlc_wire: marshal/unmarshal shachain object. 7 years ago
Rusty Russell 217df2d2e8 channeld: fix shutdown when we have to complete HTLCs. 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
Rusty Russell 709991fed1 subd: fix case where we replycb calls peer_internal_error(). 7 years ago
Christian Decker 6dbd99ddc6 gossip: Fix a race condition between release_peer and fail_peer 7 years ago
Christian Decker cc5af13e05 wallet: Implement channel_config persistence 7 years ago
Christian Decker ca00ec0bb8 htlc: Include htlc_wire.h in peer_htlcs.h to avoid forward decl 7 years ago
Christian Decker 85d2256898 wallet: Use persistent shachain for remote secrets 7 years ago
Christian Decker 28cc92cd15 gossip: Use bit 3 (mask 0x08) to signal initial routing sync 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 35847206b2 fix: Allow pings while waiting for the channel to lock 7 years ago
Christian Decker 2bf92c9063 peer: Check localfeatures and globalfeatures against what we support (#195) 7 years ago
Christian Decker 7dc693963d script: Consolidate scripts to use pubkey_to_hash160 7 years ago
sstone f371b6df20 sphinx: fix payload amount encoding 7 years ago
Christian Decker 83c8c3fc52 opening: Use the correct chainparams to open a channel 7 years ago
Christian Decker fbc2b65a3d opening: Pass network_index through to openingd 7 years ago
Christian Decker 843e21826a opts: Remove --regtest flag and pass chainparams to bitcoind 7 years ago
Christian Decker cf16b5faea options: Add option to set the network 7 years ago
Christian Decker 9370a3cdd2 opening: Fix switched parameters for towire_accept_channel 7 years ago