29 Commits (63cb0667f6e907133662be53adb9cfc71f03b844)

Author SHA1 Message Date
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