|
@ -18,11 +18,9 @@ |
|
|
#include <secp256k1_recovery.h> |
|
|
#include <secp256k1_recovery.h> |
|
|
#include <stdlib.h> |
|
|
#include <stdlib.h> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct preimage; |
|
|
struct preimage; |
|
|
struct ripemd160; |
|
|
struct ripemd160; |
|
|
struct siphash_seed; |
|
|
struct siphash_seed; |
|
|
struct witscript; |
|
|
|
|
|
|
|
|
|
|
|
/* Makes generate-wire.py work */ |
|
|
/* Makes generate-wire.py work */ |
|
|
typedef char wirestring; |
|
|
typedef char wirestring; |
|
@ -52,7 +50,6 @@ void towire_short_channel_id_dir(u8 **pptr, |
|
|
const struct short_channel_id_dir *scidd); |
|
|
const struct short_channel_id_dir *scidd); |
|
|
void towire_sha256(u8 **pptr, const struct sha256 *sha256); |
|
|
void towire_sha256(u8 **pptr, const struct sha256 *sha256); |
|
|
void towire_sha256_double(u8 **pptr, const struct sha256_double *sha256d); |
|
|
void towire_sha256_double(u8 **pptr, const struct sha256_double *sha256d); |
|
|
void towire_preimage(u8 **pptr, const struct preimage *preimage); |
|
|
|
|
|
void towire_ripemd160(u8 **pptr, const struct ripemd160 *ripemd); |
|
|
void towire_ripemd160(u8 **pptr, const struct ripemd160 *ripemd); |
|
|
void towire_amount_msat(u8 **pptr, const struct amount_msat msat); |
|
|
void towire_amount_msat(u8 **pptr, const struct amount_msat msat); |
|
|
void towire_amount_sat(u8 **pptr, const struct amount_sat sat); |
|
|
void towire_amount_sat(u8 **pptr, const struct amount_sat sat); |
|
@ -102,7 +99,6 @@ void fromwire_short_channel_id_dir(const u8 **cursor, size_t *max, |
|
|
void fromwire_sha256(const u8 **cursor, size_t *max, struct sha256 *sha256); |
|
|
void fromwire_sha256(const u8 **cursor, size_t *max, struct sha256 *sha256); |
|
|
void fromwire_sha256_double(const u8 **cursor, size_t *max, |
|
|
void fromwire_sha256_double(const u8 **cursor, size_t *max, |
|
|
struct sha256_double *sha256d); |
|
|
struct sha256_double *sha256d); |
|
|
void fromwire_preimage(const u8 **cursor, size_t *max, struct preimage *preimage); |
|
|
|
|
|
void fromwire_ripemd160(const u8 **cursor, size_t *max, struct ripemd160 *ripemd); |
|
|
void fromwire_ripemd160(const u8 **cursor, size_t *max, struct ripemd160 *ripemd); |
|
|
struct amount_msat fromwire_amount_msat(const u8 **cursor, size_t *max); |
|
|
struct amount_msat fromwire_amount_msat(const u8 **cursor, size_t *max); |
|
|
struct amount_sat fromwire_amount_sat(const u8 **cursor, size_t *max); |
|
|
struct amount_sat fromwire_amount_sat(const u8 **cursor, size_t *max); |
|
|