298 Commits (7c512f91ce8176c046a1acdaffd385024a2eab5b)

Author SHA1 Message Date
Rusty Russell 96a85a786c opening: save the correct commitment tx when we are the fundee. 7 years ago
Rusty Russell aea77653d3 onchaind: update bolt #5, and implement failure of timed-out onchain HTLCs. 7 years ago
Rusty Russell 5666ba551f onchaind: fail htlcs which are not included in commitment tx. 7 years ago
Rusty Russell 1ac9e0b532 onchain: implement penalty transaction. 7 years ago
Rusty Russell d640dc3a6f test_lightningd.py: fix wait_for_logs with duplicate entries. 7 years ago
Rusty Russell cbe72b658e onchaind: extract payment_preimage from onchain HTLC redemption. 7 years ago
Rusty Russell f96a04e2a6 onchaind: resolve HTLC transactions. 7 years ago
Rusty Russell a76a53a933 onchaind: fulfill HTLCs onchain. 7 years ago
Christian Decker 081413e247 pytest: Added test to check node_announcement signatures 7 years ago
Rusty Russell 584b160cdc lightningd: avoid errors on shutdown. 7 years ago
Rusty Russell ec63c0d10b lightningd: give option to crash if a subdaemon fails. 7 years ago
Rusty Russell 64a26b06e7 tests/test_lightningd.py: fail on crash.log. 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 f2d67f88c0 pytest: Run sendpay in a future so it doesn't complain about failing 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 40fc95921d Cleanup: remove unused IRC flag. 7 years ago
Rusty Russell 5a5e23c011 test_lightning.py: use NO_VALGRIND instead of NOVALGRIND. 7 years ago
Rusty Russell 1cf33eefe2 lightningd: handle case where channeld fails locally-generated HTLC. 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago
Rusty Russell 88bb38f63b daemon/lightningd: remove building, and main files 7 years ago
Christian Decker 4b64b7f2aa lightningd: Fix channel-persistence for channels with commits 7 years ago
Rusty Russell 0a88948849 test_lightningd: explicitly test the new commit point case. 7 years ago
Rusty Russell e7633613a9 test_lightningd: onchain tests. 7 years ago
Christian Decker e51d261f51 lightningd: Load persisted channels on startup 7 years ago
Christian Decker 29785d4990 pytest: Added a simple channel-persistence test 7 years ago
Christian Decker c0aefad8e3 pytest: Add a small helper to run queries against the node's DB 7 years ago
Christian Decker 121595935a pytest: Reduce noise from bitcoind 7 years ago
Rusty Russell fc24c71196 tests/test_lightningd.py: add async option for pay command. 7 years ago
Rusty Russell 8e0c19c76a lightningd: add dev-fail command to inject permenant failure. 7 years ago
Rusty Russell 1ad960413d test_lightningd: fix valgrind detection on children. 7 years ago
Christian Decker 9ad8365589 pytest: Split test_disconnect 7 years ago
Christian Decker 943b6526c7 pytest: Configure non-legacy tests correctly and filter legacy 8 years ago
Christian Decker 843e21826a opts: Remove --regtest flag and pass chainparams to bitcoind 8 years ago
Christian Decker 8e043fc448 pytest: Consolidating sync_blockheight and fixing flaky test 8 years ago
Christian Decker 1a1e29a4bc gossip: Re-initiate the broadcast timer upon reconnect 8 years ago
Rusty Russell f04222cb12 test_lightningd.py: make pay helper use random label if we don't care. 8 years ago
Rusty Russell 87232ec25c lightningd: new peer state CLOSINGD_COMPLETE. 8 years ago
Rusty Russell 87f6a57d75 tests/test_lightningd.py: test closing and shutdown reconnection. 8 years ago
Rusty Russell a827d2b2bb lightningd: add in support for closingd. 8 years ago
Rusty Russell d40334ce18 tests/test_lightningd.py: add pay helper for making payments. 8 years ago
Rusty Russell 6fa90c926a channeld: exit after shutdown when no more HTLCs. 8 years ago
Rusty Russell 4a3c309e84 tests/test_lightningd.py: fix assumption about gossip order 8 years ago
Rusty Russell 9fae82c175 tests: generalize wait_for_log into wait_for_logs. 8 years ago
Rusty Russell c05f63a4db peer_control: fix double-state transition on reconnect. 8 years ago
Rusty Russell 5edc14ee1a tests/test_lightningd.py: make test less flaky. 8 years ago
Rusty Russell 866ac79850 channeld: shutdown support. 8 years ago
Christian Decker 462d936f25 wallet: Add unit test for withdrawal 8 years ago