core-lightning/lightningd/bip32.h
Rusty Russell f765e0e846 bip32: marshal/unmarshal routines.
Neater than using a u8 array as we do now.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-08-20 13:06:41 +09:30

13 lines
356 B
C

#ifndef LIGHTNING_LIGHTNINGD_BIP32_H
#define LIGHTNING_LIGHTNINGD_BIP32_H
#include "config.h"
#include <ccan/short_types/short_types.h>
#include <stddef.h>
struct ext_key;
void towire_ext_key(u8 **pptr, const struct ext_key *bip32);
void fromwire_ext_key(const u8 **cursor, size_t *max, struct ext_key *bip32);
#endif /* LIGHTNING_LIGHTNINGD_BIP32_H */