2853 Commits (6112df3a90d392d4315cdc887b6f08ce3f93da1f)
 

Author SHA1 Message Date
cornwarecjp 6112df3a90 Bring back the time-out on the start-up of bitcoind, but make it 60 seconds instead of the original 10 seconds. This is much larger than the normal start-up time of bitcoind (so we should never hit the time-out), but still lets a test terminate in a reasonable time in the unlikely case that bitcoind hangs. 7 years ago
cornwarecjp 896f7ef37d Make it possible to run the test suite in Python 3.4 (bytes.hex was introduced in 3.5) 7 years ago
cornwarecjp 0b0708d86a Bitcoind should always eventually finish starting, but there is no guarantee on how long it takes, so don't apply a time-out. In case bitcoind hangs indefinitely, the test will hang indefinitely too, but this should be solved in bitcoind, not in the test code. 7 years ago
cornwarecjp 859070a5ed Terminate LightningD if, for some reason, it doesn't start properly. This cleans up the environment for future test runs. 7 years ago
cornwarecjp 71581ff96e Terminate BitcoinD if, for some reason, it doesn't start properly. This cleans up the environment for future test runs. 7 years ago
Rusty Russell 0cef23d33a check-spelling: don't paginate, and give file and line. 7 years ago
Rusty Russell 8fcb45c1b2 routing: use marshalled short_channel_id, not string as tag for channel_announce 7 years ago
Rusty Russell 3d91bf2ab8 closingd: use common/read_peer_msg. 7 years ago
Rusty Russell 89e8d26f45 openingd: use common/read_peer_msg. 7 years ago
Rusty Russell 6dee526074 channeld: don't handle packets already taken by peer_msg_in. 7 years ago
Rusty Russell c69aee7d7a channeld: use common/read_peer_msg. 7 years ago
Rusty Russell ef9b16399c common: read_peer_msg helpers for per-peer subds. 7 years ago
Rusty Russell bbdab02e1b bitcoind: trivial cleanups. 7 years ago
Christian Decker 3b9b7dc9dc wallet: Add a simple txo rescan command to sync with bitcoind UTXO 7 years ago
Christian Decker 11404f808e bitcoind: Disentangle gettxout from the scid verification 7 years ago
ZmnSCPxj 87726d5b89 test_lightningd: Add test for reporting routing failures 7 years ago
ZmnSCPxj a043d1063a pay: Also report local channel failures to gossipd. 7 years ago
ZmnSCPxj 131283af6e test_lightningd: Move 0-payment test to its own test. 7 years ago
ZmnSCPxj 579011e980 pay: Report routing failures to gossip. 7 years ago
ZmnSCPxj c46727604e peer_htlcs: Prevent htlc_out from being handled multiple times in case of immediate channeld error. 7 years ago
ZmnSCPxj bd5dd46c4f peer_htlcs: Add missing assignment to hout->failcode. 7 years ago
ZmnSCPxj b2d8efcf25 pay: Move setting failed status on payment to after we get payment details. 7 years ago
ZmnSCPxj 67e2275383 gossipd: Add handling of channel_update to routing failures. 7 years ago
ZmnSCPxj 299b280f78 pay: Save nodes and channels used on route to payment. 7 years ago
ZmnSCPxj b255d82ae2 gossipd: Implement `gossip_routing_failure` for master to report routing failures. 7 years ago
Christian Decker 7a651c62fa gossip: Pull up the check for new channels before checking the txout 7 years ago
Christian Decker d9d618aff9 jsonrpc: Fix wrong argument order in failed connection attempt 7 years ago
Christian Decker fa1806da61 gossip: Deduplicate short_channel_id checks 7 years ago
Christian Decker e2f5e4bb3c moveonly: Move find_pending_cannouncement up 7 years ago
ZmnSCPxj 8248dccaee channeld: Properly pad and HMAC onion replies that our masterd generated. 7 years ago
gdassori 7101db060b add mutually exclusive bolt11 & payment_hash to listpayments method 7 years ago
gdassori 72dd1461a0 async param is unwanted here 7 years ago
gdassori b9b0b7ebe0 fix LightningRpc signatures according to tests 7 years ago
gdassori bdcf38442b add port argument in connect, add getpeer method for test convenience 7 years ago
gdassori 67dbe71dfa update pylightning readme installation informations 7 years ago
gdassori 825ccb33a6 version bump 7 years ago
gdassori 51a491ef74 same methods of lightning-cli in pylightning 7 years ago
Rusty Russell 9825dddd18 test_lightning: test that we unwatch txs. 7 years ago
Rusty Russell c6ce352404 lightningd: actually unwatch txs when onchaind says we should. 7 years ago
Rusty Russell 6d0fd84c63 walletrpc: don't assert() when we pay ourselves. 7 years ago
Rusty Russell 0d3eaef945 tests: add argument to is_in_log so we can check only recent log entries. 7 years ago
Rusty Russell 2fbe3161a0 onchaind: remove unnecessary num_outputs arg from onchain_unwatch_tx 7 years ago
Rusty Russell 64bdee6b6e bitcoind: add helper for arg manip, make array a const char *. 7 years ago
Christian Decker 70514d1e95 cli: Add rpcuser, rpcpassword and rpcconnect to bitcoind 7 years ago
Rusty Russell ca2f72fd5f log: block reporting on minor memleak. 7 years ago
Rusty Russell 57b423625b subd: use peer log for messages (if any). 7 years ago
Rusty Russell fc43c4824a openingd: handle unexpected messages better. 7 years ago
Rusty Russell 7a40e0262f closingd: handle unexpected messages better. 7 years ago
Rusty Russell dd044f826b channeld: handle unexpected messages better. 7 years ago
Rusty Russell 1a297a7010 bitcoind: mark request no longer running, even if it fails. 7 years ago