108 Commits (73df39e0c9f2fcc4d16e0b0040d72d808a04312b)

Author SHA1 Message Date
Rusty Russell 73df39e0c9 test_protocol: attach states to each HTLC, rather than using queues. 8 years ago
Rusty Russell d54a59f010 test_protocol: remove support for multiple commits in flight. 8 years ago
Rusty Russell 836eee048b test_protocol: rename struct funding to struct commit_tx. 8 years ago
Christian Decker e37bd38fdd Switched from openssl to sodium for test_onion 9 years ago
Rusty Russell c649f62e43 libsecp256k1: update. 9 years ago
Rusty Russell 69cb158edd base58, script, protobuf_convert: don't use temporary secp256k1 context. 9 years ago
Rusty Russell 889db659c5 test: test commands during commit phase. 9 years ago
Rusty Russell a2ced6c16c test/test_protocol: add actual crossover case. 9 years ago
Rusty Russell e46a2ed49a test/test_protocol: rename internally to match updated 02-wire-protocol.md 9 years ago
Rusty Russell 06d2c19c41 test/test_protocol: make pretty(-ish) SVG diagrams. 9 years ago
Rusty Russell 126c91e1b1 test/test_protocol: don't allow multiple commits in flight by default. 9 years ago
Rusty Russell a77466aa21 test/test_protocol: Keep pointer to previous state. 9 years ago
Rusty Russell 4c1b50baab test/test_protocol: don't bother keeping acked (outgoing) queue. 9 years ago
Rusty Russell bc8cd0dce7 test/test_protocol: don't manually reapply changes. 9 years ago
Rusty Russell 52db7ae0c4 test/test_protocol: keep cache of state with all changes applied. 9 years ago
Rusty Russell 388dfc355e test/test_protocol: add fee support. 9 years ago
Rusty Russell 056c219bc1 test/test_protocol: add checksync command to assert nodes are in sync. 9 years ago
Rusty Russell 7f90d183da test/test_protocol: simulator for the updated wire-protocol BOLT. 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 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