Logo
Explore Help
Sign In
davide/palladum-lightning
1
0
Fork 0
You've already forked palladum-lightning
Code Issues Pull Requests Actions 5 Packages Projects Releases Wiki Activity
Files
7d95dbbd0a320e9f515db1775f2fc94de7c4cbfc
palladum-lightning/common/bip32.h

13 lines
344 B
C
Raw Normal View History

headers: fix up header idempotent lines. For future reference, done via: for f in `find wire/ bitcoin/ common/ lightningd -name '*.h' ! -name 'gen*'`; do ID=`echo -n LIGHTNING/$f | tr 'a-z' 'A-Z' | tr -cs 'A-Z0-9' _`; sed 's/^#\(ifndef\|define\) .*_H$/#\1 '$ID/ < $f | sed 's,#endif /..*_H ./$,#endif /* '$ID' */,' | bagto $f; done Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-08-29 01:36:01 +09:30
#ifndef LIGHTNING_COMMON_BIP32_H
#define LIGHTNING_COMMON_BIP32_H
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-18 14:13:52 +09:30
#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);
headers: fix up header idempotent lines. For future reference, done via: for f in `find wire/ bitcoin/ common/ lightningd -name '*.h' ! -name 'gen*'`; do ID=`echo -n LIGHTNING/$f | tr 'a-z' 'A-Z' | tr -cs 'A-Z0-9' _`; sed 's/^#\(ifndef\|define\) .*_H$/#\1 '$ID/ < $f | sed 's,#endif /..*_H ./$,#endif /* '$ID' */,' | bagto $f; done Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-08-29 01:36:01 +09:30
#endif /* LIGHTNING_COMMON_BIP32_H */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 278ms Template: 20ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API