#ifndef LIGHTNING_ONCHAIND_ONCHAIND_WIRE_H #define LIGHTNING_ONCHAIND_ONCHAIND_WIRE_H #include "config.h" #include #include #include /* The minimal info about an HTLC. */ struct htlc_stub { enum side owner; u32 cltv_expiry; u64 id; 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_ONCHAIND_ONCHAIND_WIRE_H */