mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-20 06:14:23 +01:00
19 lines
1.0 KiB
C
19 lines
1.0 KiB
C
#ifndef LIBWALLY_CORE_BIP32_INT_H
|
|
#define LIBWALLY_CORE_BIP32_INT_H 1
|
|
|
|
#if defined(SWIG) || defined (SWIG_JAVA_BUILD) || defined (SWIG_PYTHON_BUILD)
|
|
|
|
WALLY_CORE_API int bip32_key_get_chain_code(const struct ext_key *key_in, unsigned char *bytes_out, size_t len);
|
|
WALLY_CORE_API int bip32_key_get_parent160(const struct ext_key *key_in, unsigned char *bytes_out, size_t len);
|
|
WALLY_CORE_API int bip32_key_get_priv_key(const struct ext_key *key_in, unsigned char *bytes_out, size_t len);
|
|
WALLY_CORE_API int bip32_key_get_hash160(const struct ext_key *key_in, unsigned char *bytes_out, size_t len);
|
|
WALLY_CORE_API int bip32_key_get_pub_key(const struct ext_key *key_in, unsigned char *bytes_out, size_t len);
|
|
|
|
WALLY_CORE_API int bip32_key_get_depth(const struct ext_key *key_in, size_t *output);
|
|
WALLY_CORE_API int bip32_key_get_child_num(const struct ext_key *key_in, size_t *output);
|
|
WALLY_CORE_API int bip32_key_get_version(const struct ext_key *key_in, size_t *output);
|
|
|
|
#endif /* SWIG_JAVA_BUILD/SWIG_JAVA_BUILD/SWIG_PYTHON_BUILD */
|
|
|
|
#endif /* LIBWALLY_CORE_BIP32_INT_H */
|