66 Commits (aeeb0b70118b276353328bda5177d0ad9aacce15)

Author SHA1 Message Date
Rusty Russell f5c00deec7 Remove trailing whitespace from source. 8 years ago
Rusty Russell a4ee683b3e tal_tmpctx: clear marker for temporary contexts. 8 years ago
Rusty Russell cb0cc80984 patch remove-timeout.patch 9 years ago
Rusty Russell 983000428f daemon: rename CMD_SEND_HTLC_UPDATE to CMD_SEND_HTLC_ADD 9 years ago
Rusty Russell 4f67b59c26 protocol: rename routefail to fail. 9 years ago
Rusty Russell 40361e3dd8 state: explicit callback to check pkt_open_complete. 9 years ago
Rusty Russell a2f4000d22 state: cleanup after anchor has been transmitted. 9 years ago
Rusty Russell 5ac1d5df00 state: include daemon/peer (only if !TEST_COVERAGE). 9 years ago
Rusty Russell 65cc6bbd50 pkt_err: make it variadic. 9 years ago
Rusty Russell 79e1c9bb62 state: make bitcoin_commit() take a non-const peer. 9 years ago
Rusty Russell 6a7a046f60 state: add peer_unwatch_close_timeout() call. 9 years ago
Rusty Russell 144ab3bef4 state: make tx arguments const. 9 years ago
Rusty Russell ebf2bc57d8 state: add async anchor creation. 9 years ago
Rusty Russell 0db3c03ed1 state: fix BITCOIN_HTLC_TOTHEM_SPENT idata. 9 years ago
Rusty Russell 2b3d5b4049 state: remove all traces of struct state_effect. 9 years ago
Rusty Russell 63ea6bfd7a state: add callbacks for adding/removing watches. 9 years ago
Rusty Russell 1a20e8094f state: return tx to be queued directly. 9 years ago
Rusty Russell e984df486d state: return Pkt to be queued directly. 9 years ago
Rusty Russell 7383da5f87 state: remove update_theirsig effect. 9 years ago
Rusty Russell 63cb0667f6 state: use callbacks for htlc management. 9 years ago
Rusty Russell f48adb097e state: use peer_unexpected_pkt() for an unexpected packet. 9 years ago
Rusty Russell 4d9041e62a state: fix case where we replied to an error with an error. 9 years ago
Rusty Russell 9013a7d872 state: set peer->state directly. 9 years ago
Rusty Russell 4c9a9f8982 state: return status of current command. 9 years ago
Rusty Russell 03268014b4 state: use PEER_BUSY when doing a command. 9 years ago
Rusty Russell 14ede84d87 state: set peercond in peer directly. 9 years ago
Rusty Russell 50a4b14a9a test/test_state_coverage.c: remove deferred packet handling. 9 years ago
Rusty Russell 3ab4ba1e6f state: add _THEYCOMPLETED states to reflect receiving PKT_OPEN_COMPLETE 9 years ago
Rusty Russell fd370075f2 state: use STATE_INIT and separate inputs to decide on anchor. 9 years ago
Rusty Russell caa27f1d93 names.h/names.c: wrappers to get name for states/inputs. 9 years ago
Rusty Russell 15c5fca876 state: take struct peer instead of struct state_data. 9 years ago
Rusty Russell 2c356fde55 state: remove unnecessary set_errpkt() helper. 9 years ago
Rusty Russell 85f4a7cf14 state: simplify effect. 9 years ago
Rusty Russell 4d22b4e3eb pkt_open: use flag to indicate whether packet will offer anchor. 9 years ago
Rusty Russell 1ac08e3b11 test_state_coverage: test all accept_pkt failure paths. 9 years ago
Rusty Russell 82e25a31cb test/test_state_coverage: reduce memory usage for failure branches. 9 years ago
Rusty Russell 0b3f74509a test_state_coverage: fail() adds failpoints itself. 9 years ago
Rusty Russell 832fed70dc test_state_coverage: test declining an HTLC. 9 years ago
Rusty Russell afc67e1ff1 test_state_coverage: remove depth argument. 9 years ago
Rusty Russell 8e468d077d test_state_coverage: keep trail on stack. 9 years ago
Rusty Russell 65be414d1b test_state_coverage: unset outputs as we use them. 9 years ago
Rusty Russell 4d74fd165f state: Allow CMD_CLOSE at any time. 9 years ago
Rusty Russell ba73787ecc state: use INPUT_RVALUE instead of CMD_SEND_HTLC_FULFILL during closing. 9 years ago
Rusty Russell 80d23a0a61 test/test_state_coverage: traverse main state loop less. 9 years ago
Rusty Russell 97e10e0a18 test/test_state_coverage: don't run both peers once they're independent. 9 years ago
Rusty Russell 3e9680659e test/test_state_coverage: limit HTLCs in flight to 2. 9 years ago
Rusty Russell 5a4d07b921 test/test_state_coverage: cut memory usage dramatically. 9 years ago
Rusty Russell 565e905bce test/test_state_coverage: better HTLC reporting in errors. 9 years ago
Rusty Russell 7d911fe049 test/test_state_coverage: test on-chain htlcs. 9 years ago
Rusty Russell d4178a389c test/test_state_coverage: more information in error trail. 9 years ago