pub trait RecoveryKeys {
type Signer: RecoverySign;
// Required methods
fn iter(&self) -> Iter<Self::Signer> ⓘ;
fn sign_onchain_tx(
&self,
tx: &Transaction,
segwit_flags: &[bool],
ipaths: &Vec<Vec<u32>>,
prev_outs: &Vec<TxOut>,
uniclosekeys: Vec<Option<(SecretKey, Vec<Vec<u8>>)>>,
opaths: &Vec<Vec<u32>>,
) -> Result<Vec<Vec<Vec<u8>>>, Status>;
fn wallet_address_native(&self, index: u32) -> Result<Address, Status>;
fn wallet_address_taproot(&self, index: u32) -> Result<Address, Status>;
}
Expand description
Provide enough signer functionality to force-close all channels in a node