71 Commits (f4fe42e9771158db32ada8d46ace20c4de1b195f)

Author SHA1 Message Date
Rusty Russell 3866d7605c daemon: reconnect support. 8 years ago
Rusty Russell fd650ba79d protocol: rename clearing to shutdown. 8 years ago
Rusty Russell bb28bbd470 peer: always initialize commit_info commit number, other fields. 8 years ago
Rusty Russell 02cb7abd9d bitcoind: keep running fee estimate. 8 years ago
Rusty Russell 7709eb9b4a protocol: use separate ack packet. 8 years ago
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