Rusty Russell
|
be7c7b9732
|
lightningd/handshake: rename WIRE_BAD_COMMAND to WIRE_HANDSHAKE_BAD_COMMAND
So it doesn't clash with opening daemon, for example.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
f9189254e4
|
lightningd/commit_tx: creation of BOLT 3 commitment transaction.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
b290a96a4a
|
lightningd: use daemon/htlc_state.c
We're about to need HTLC handling.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
a600b1a30f
|
handshake: hand in client fd on exec instead of gratuitous fd passing.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
2f9b04b0d9
|
subdaemon: start fds at 3 not 4.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
f9eea9041e
|
handshake: update for BOLT 8 latest revision.
This now matches commit fc4846a27bf420c591ba0b024cc34972816913c7,
and fixes "make check-source".
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
6bf3c30a10
|
lightningd/Makefile: fix check-source
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
33748bf119
|
lightningd/Makefile: combine all headers (wire/gen was missing)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
73d07ce441
|
libsodium: use our local submodule.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
3af081aded
|
Makefile: make all lightningd objects depend on all lightningd headers.
Christian reported that we weren't generating some gen_ files.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
211491f4d7
|
lightningd/lightningd: add lightning_handshake.
Now we do crypto handshake when peer comes in.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
78841456e0
|
lightningd/handshake: test handshake, produce BOLT 8 test vectors.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
32e1b5bb06
|
lightningd/handshake: simple daemon to do BOLT 8 crypto handshake.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |