46 Commits (b6943b91988944048565f9569ab3de2a47bb4ac2)

Author SHA1 Message Date
Rusty Russell 994addadce state: INPUT_CONNECTION_LOST 9 years ago
Rusty Russell b423b33236 protocol: implement close as per BOLT #2. 9 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 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 3ab4ba1e6f state: add _THEYCOMPLETED states to reflect receiving PKT_OPEN_COMPLETE 9 years ago
Rusty Russell 3c1b2ad1c1 state: don't defer CMD_SEND_HTLC_UPDATE 9 years ago
Rusty Russell fd370075f2 state: use STATE_INIT and separate inputs to decide on anchor. 9 years ago
Rusty Russell e5e58eeb00 state.c: fix assertion. 9 years ago
Rusty Russell 08367f8716 state: order headers correctly. 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 2f1414362c state: Don't change priority on decline. 9 years ago
Rusty Russell 4d74fd165f state: Allow CMD_CLOSE at any time. 9 years ago
Rusty Russell 188d0b76a4 state: use an enum for the completion. 9 years ago
Rusty Russell ba73787ecc state: use INPUT_RVALUE instead of CMD_SEND_HTLC_FULFILL during closing. 9 years ago
Rusty Russell 6821b4f31c state: handle on-chain HTLCs. 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 fbe6e9e0cf state: allow multiple SPENDTHEM. 9 years ago
Rusty Russell 42bf766d64 state: hand tx explicitly to bitcoin_watch / bitcoin_watch_delayed 9 years ago
Rusty Russell 29f22c165d state: handle simultaneous close. 9 years ago
Rusty Russell 1556315f2e test_state_coverage: simple exhaustive coverage test for state machine. 9 years ago
Rusty Russell 847ef21c07 state: Core state machine for lightning. 9 years ago