Rusty Russell
|
fc4c94cb06
|
daemon: simple close support for the case of one side closing transaction.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
6bdaa5d1ca
|
daemon: newhtlc command.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
871e4d5172
|
secrets: peer_sign_theircommit() helper.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
fc49e3fd74
|
daemon: rename 'state' to 'dstate' everywhere.
This is the daemon state, not the state machine state.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
b04392609a
|
daemon: encapsulate each side's state in a struct.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
d303393d67
|
daemon/peer: save their commit key too.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
bf3080ca09
|
secrets: handle per-peer secrets as well.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
9449f387ac
|
daemon: primitive privkey handling.
Eventually this will be in a separate process, etc.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |