peer: keep current commit txs, anchor state, channel funding and their sig.

This lets us implement accept_pkt_anchor().

Also had to predeclare sha256 in commit_tx.h, revealed by the new
includes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-01-22 06:44:27 +10:30
parent 871e4d5172
commit ecbe671688
4 changed files with 169 additions and 7 deletions

View File

@@ -6,6 +6,7 @@
struct channel_state;
struct sha256_double;
struct sha256;
struct pubkey;
struct rel_locktime;