58 Commits (b04392609a24825a6f386196b391c0d0c2f2e9cb)

Author SHA1 Message Date
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
Rusty Russell bcfd50e28c test/test_state_coverage: temporarily disable decline test. 9 years ago
Rusty Russell 31459d6cd2 protocol: rename update_complete_htlc to update_fulfill_htlc. 9 years ago
Rusty Russell ca68c5c47f state: remove non-HTLC updates. 9 years ago
Rusty Russell 0f4ad940ae test/test_state_coverage: remove_event / add_event / have_event helpers. 9 years ago
Rusty Russell fbe6e9e0cf state: allow multiple SPENDTHEM. 9 years ago
Rusty Russell 92bb5f03de test_state_coverage: fix dependent events. 9 years ago
Rusty Russell 42bf766d64 state: hand tx explicitly to bitcoin_watch / bitcoin_watch_delayed 9 years ago
Rusty Russell c19839816e test/test_state_coverage: --dump-states 9 years ago