mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
f342630b92
Seriously, it's taproot time, let's get rid of p2sh wrapped segwit. Changelog-Removed: wallet: removal of p2sh-segwit addresses; newaddr won't issue them, we won't watch them for new funds (deprecated in *23.02*) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
19 lines
481 B
C
19 lines
481 B
C
#ifndef LIGHTNING_WALLET_WALLETRPC_H
|
|
#define LIGHTNING_WALLET_WALLETRPC_H
|
|
#include "config.h"
|
|
|
|
enum addrtype {
|
|
ADDR_BECH32 = 2,
|
|
ADDR_P2TR = 4,
|
|
ADDR_ALL = (ADDR_BECH32 + ADDR_P2TR)
|
|
};
|
|
|
|
struct utxo;
|
|
|
|
/* We evaluate reserved timeouts lazily, so use this. */
|
|
bool is_reserved(const struct utxo *utxo, u32 current_height);
|
|
|
|
bool WARN_UNUSED_RESULT newaddr_inner(struct command *cmd, struct pubkey *pubkey,
|
|
enum addrtype addrtype);
|
|
#endif /* LIGHTNING_WALLET_WALLETRPC_H */
|