565 Commits (067d2d7435d9c36a181cc8c8d7f6c995bcba1558)

Author SHA1 Message Date
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 8 years ago
Christian Decker ca00ec0bb8 htlc: Include htlc_wire.h in peer_htlcs.h to avoid forward decl 8 years ago
Christian Decker 85d2256898 wallet: Use persistent shachain for remote secrets 8 years ago
Christian Decker 28cc92cd15 gossip: Use bit 3 (mask 0x08) to signal initial routing sync 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 35847206b2 fix: Allow pings while waiting for the channel to lock 8 years ago
Christian Decker 2bf92c9063 peer: Check localfeatures and globalfeatures against what we support (#195) 8 years ago
Christian Decker 7dc693963d script: Consolidate scripts to use pubkey_to_hash160 8 years ago
sstone f371b6df20 sphinx: fix payload amount encoding 8 years ago
Christian Decker 83c8c3fc52 opening: Use the correct chainparams to open a channel 8 years ago
Christian Decker fbc2b65a3d opening: Pass network_index through to openingd 8 years ago
Christian Decker 843e21826a opts: Remove --regtest flag and pass chainparams to bitcoind 8 years ago
Christian Decker cf16b5faea options: Add option to set the network 8 years ago
Christian Decker 9370a3cdd2 opening: Fix switched parameters for towire_accept_channel 8 years ago
Christian Decker 1a1e29a4bc gossip: Re-initiate the broadcast timer upon reconnect 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 a87d50acc9 Makefile: clean daemons on clean. 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 4223a91842 lightningd: update daemon list. 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 e5a8a7502c lightningd/closing: subdaemon for closing negotiation. 8 years ago
Rusty Russell 6fa90c926a channeld: exit after shutdown when no more HTLCs. 8 years ago
Rusty Russell 80886cda8a daemon_conn: fix daemon_conn_sync_flush. 8 years ago
Rusty Russell 94a33a7d15 channeld: use an enum side not a bool for funder/ 8 years ago
Rusty Russell 7884343c15 tools/generate-wire.py: enums are assignable. 8 years ago
Rusty Russell 9ec804341c channeld: fix intermittant failure on reading init msg from master. 8 years ago
Rusty Russell 249085ac10 channeld: reorder functions more logically. 8 years ago
Rusty Russell c05f63a4db peer_control: fix double-state transition on reconnect. 8 years ago
Christian Decker f9a2f73072 Addressing feedback from PR #187 8 years ago
Christian Decker 70f4484ba8 channeld: Pass through the agreed feerate_per_kw to channeld 8 years ago
Christian Decker 5c80963577 bug: channel_update parameters slipped by one 8 years ago