mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 23:04:35 +01:00
bitcoin: remove unused functions, or make static.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -45,14 +45,6 @@ bitcoin_block_from_hex(const tal_t *ctx, const struct chainparams *chainparams,
|
||||
void bitcoin_block_blkid(const struct bitcoin_block *block,
|
||||
struct bitcoin_blkid *out);
|
||||
|
||||
/* Parse hex string to get blockid (reversed, a-la bitcoind). */
|
||||
bool bitcoin_blkid_from_hex(const char *hexstr, size_t hexstr_len,
|
||||
struct bitcoin_blkid *blockid);
|
||||
|
||||
/* Get hex string of blockid (reversed, a-la bitcoind). */
|
||||
bool bitcoin_blkid_to_hex(const struct bitcoin_blkid *blockid,
|
||||
char *hexstr, size_t hexstr_len);
|
||||
|
||||
/* Marshalling/unmarshaling over the wire */
|
||||
void towire_bitcoin_blkid(u8 **pptr, const struct bitcoin_blkid *blkid);
|
||||
void fromwire_bitcoin_blkid(const u8 **cursor, size_t *max,
|
||||
|
||||
Reference in New Issue
Block a user