123 Commits (fccab6411dd1216a01be2c3f6cd7c439a0a99396)

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 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
Rusty Russell a38d0c985e Makefile: more fascist warnings. 9 years ago
Anthony Towns cadaa348e3 test_onion.py: drop repeated sha calculation 9 years ago
Rusty Russell beb702054b test_onion: minor protocol change; use single SHA to create both IVs. 9 years ago
Rusty Russell 0c4eb06e26 test_onion: remove gratuitous dynamic alloc, cleanup on exit. 9 years ago
Rusty Russell 064cf6cc39 test/onion_key: code cleanup. 9 years ago
Anthony Towns 626be23180 test_onion.py: control generate/decode from command line 9 years ago
Anthony Towns beafbe1c19 test_onion.c: generate message predictably 9 years ago
Anthony Towns 9ffac49c6f onion_key: allowing both odd and even pubkeys 9 years ago
Anthony Towns 2042e1cdb7 onion_key: generate multiple keys at once 9 years ago
Rusty Russell ed46dd355d test_onion: split encode and decode, drive from cmdline. 9 years ago
Rusty Russell 7c36a3e058 test_onion: get rid of dummy crypto options. 9 years ago
Rusty Russell 32a08ce6c5 test/onion_key: helper to generate deterministic key pairs. 9 years ago
Rusty Russell 9aa8907e38 test_onion: Rename struct pubkey to struct onion_pubkey. 9 years ago
Rusty Russell 8e9944bc37 test: add .gitignore 9 years ago
Rusty Russell f693060068 test_onion: fix random padding. 9 years ago
Anthony Towns 8b0635f7d3 test_onion.py: make it possible to build an onion 9 years ago
Anthony Towns bb26fc3026 test_onion.py: drop unused part of message secrets 9 years ago
Anthony Towns 53e13e69c9 test_onion.py: drop separate padding method 9 years ago
Anthony Towns 75dceaf254 test_onion.py: alternative onion peeling implementation 9 years ago
Anthony Towns b2c86c650a test_onion: dump more output 9 years ago
Rusty Russell e165d0009c test_onion: Switch from AES256 to AES128. 9 years ago
Rusty Russell 927bc28c8e test_onion: always generate 0x2 keys. 9 years ago
Rusty Russell 90794d8ebf test_onion: generate onion in place. 9 years ago
Rusty Russell 6aae8d6257 test_onion: keep hmacs rather than padding. 9 years ago
Rusty Russell 154b917680 test_onion: put padding at the front. 9 years ago
Rusty Russell 81d35294f4 test/test_onion: demo program to show onion routing crypto. 9 years ago
Rusty Russell 1ac08e3b11 test_state_coverage: test all accept_pkt failure paths. 9 years ago
Rusty Russell 82e25a31cb test/test_state_coverage: reduce memory usage for failure branches. 9 years ago
Rusty Russell 0b3f74509a test_state_coverage: fail() adds failpoints itself. 9 years ago
Rusty Russell 832fed70dc test_state_coverage: test declining an HTLC. 9 years ago
Rusty Russell afc67e1ff1 test_state_coverage: remove depth argument. 9 years ago
Rusty Russell 8e468d077d test_state_coverage: keep trail on stack. 9 years ago
Rusty Russell 65be414d1b test_state_coverage: unset outputs as we use them. 9 years ago
Rusty Russell 4d74fd165f state: Allow CMD_CLOSE at any time. 9 years ago
Rusty Russell ba73787ecc state: use INPUT_RVALUE instead of CMD_SEND_HTLC_FULFILL during closing. 9 years ago