mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
anchor: change is not an arbitrary output, but a pubkey we p2sh to.
Gets rid of the last pubkey user; they're generally deprecated. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
3
pubkey.h
3
pubkey.h
@@ -15,4 +15,7 @@ bool proto_to_pubkey(const BitcoinPubkey *pb, struct pubkey *key);
|
||||
/* 33 or 65 bytes? */
|
||||
size_t pubkey_len(const struct pubkey *key);
|
||||
|
||||
/* Convert from hex string (scriptPubKey from validateaddress) */
|
||||
bool pubkey_from_hexstr(const char *str, struct pubkey *key);
|
||||
|
||||
#endif /* LIGHTNING_PUBKEY_H */
|
||||
|
||||
Reference in New Issue
Block a user