lightningd: peer_htlcs.c

Move HTLC handling out of peer_control.c.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-06-20 15:15:03 +09:30
parent 42ede14081
commit 7c9b66e67f
5 changed files with 637 additions and 618 deletions

View File

@@ -2,6 +2,9 @@
#define LIGHTNING_DAEMON_INVOICE_H
#include "config.h"
#include <bitcoin/preimage.h>
#include <ccan/crypto/sha256/sha256.h>
#include <ccan/list/list.h>
#include <ccan/tal/tal.h>
struct invoices;
struct lightningd_state;