core-lightning/lightningd/test
Rusty Russell 9b1d240c1f lightningd: --dev-disconnect support.
We use a file descriptor, so when we consume an entry, we move past it
(and everyone shares a file offset, so this works).

The file contains packet names prefixed by - (treat fd as closed when
we try to write this packet), + (write the packet then ensure the file
descriptor fails), or @ ("lose" the packet then ensure the file
descriptor fails).

The sync and async peer-write functions hook this in automatically.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>



Header from folded patch 'test-run-cryptomsg__fix_compilation.patch':

test/run-cryptomsg: fix compilation.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-05-25 14:24:47 +09:30
..
Makefile tests/test_lightningd.py: incorporate everything from old test-basic shell test. 2017-04-29 10:30:10 +02:00
run-channel.c sphinx: Updating daemon to new sphinx implementation 2017-05-02 11:47:52 +02:00
run-commit_tx.c struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
run-cryptomsg.c lightningd: --dev-disconnect support. 2017-05-25 14:24:47 +09:30
run-funding_tx.c lightningd/funding_tx: output number is 16 bit. 2017-03-07 11:33:24 +10:30
run-key_derive.c struct secret: use everywhere. 2017-05-09 11:43:35 +09:30