66 Commits (5c9dfd5206af84e3b011c6255c260974e172e3cc)

Author SHA1 Message Date
Rusty Russell 7c2165f5b4 peer: save txid -> commit_num mapping. 8 years ago
Rusty Russell 9b2fd3a969 peer: record depth at which anchor tx is considered deep enough. 8 years ago
Rusty Russell 0bd12b4e97 daemon/packets.h: create from prototypes which were in state.h. 8 years ago
Rusty Russell 149fa341be packets.c: accept_pkt_* should do less state-mangling. 8 years ago
Rusty Russell 6615db32c0 packets.c: queue_pkt_* only creates and sends packets. 8 years ago
Rusty Russell b4f0d32b09 daemon: always terminate waiting manual update command on failure. 9 years ago
Rusty Russell 1444d407f3 daemon: remove normal operation loop from state.c 9 years ago
Rusty Russell bc5800b1c1 state: remove unused fields from union input 9 years ago
Rusty Russell 4110376e87 daemon: allow commands during commit. 9 years ago
Rusty Russell 5aed0e12f8 daemon: remove closing states from state machine. 9 years ago
Rusty Russell 4cb6cd1f90 daemon: handle information leak. 9 years ago
Rusty Russell 7ae15401dd daemon: log all state changes the same way. 9 years ago
Rusty Russell 0f9889f2c6 state: trim unused states. 9 years ago
Rusty Russell f29a6043d2 daemon: open-code handling of on-chain states. 9 years ago
Rusty Russell 12b37d5f80 daemon: fix logic which determines how anchor output was spent. 9 years ago
Rusty Russell eb5d832963 state: don't spend the "to-us" output from their commit tx. 9 years ago
Rusty Russell c4713a6ed5 state: use htlc_onchain structure 9 years ago
Rusty Russell 0e07cc7a36 daemon: fix close fee negotiation. 9 years ago
Rusty Russell 5e7b3d02a1 daemon: batching of changes as per BOLT #2. 9 years ago
Rusty Russell 57689390fb state: queue packets directly. 9 years ago
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