mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
bbed5e3411
We leave the *build* results in lightningd/ for ease of in-place testing though. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
19 lines
556 B
C
19 lines
556 B
C
#ifndef LIGHTNING_LIGHTNINGD_ONCHAIN_ONCHAIN_WIRE_H
|
|
#define LIGHTNING_LIGHTNINGD_ONCHAIN_ONCHAIN_WIRE_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
#include <ccan/tal/tal.h>
|
|
#include <common/htlc.h>
|
|
|
|
/* The minimal info about an htlc. */
|
|
struct htlc_stub {
|
|
enum side owner;
|
|
u32 cltv_expiry;
|
|
struct ripemd160 ripemd;
|
|
};
|
|
|
|
void towire_htlc_stub(u8 **pptr, const struct htlc_stub *htlc_stub);
|
|
void fromwire_htlc_stub(const u8 **cursor, size_t *max,
|
|
struct htlc_stub *htlc_stub);
|
|
#endif /* LIGHTNING_LIGHTNINGD_ONCHAIN_ONCHAIN_WIRE_H */
|