async fn check_idx_pegins(
data: &WalletClientModuleData,
tweak_idx: TweakIdx,
btc_rpc: &DynBitcoindRpc,
module_rpc: &DynModuleApi,
db: &Database,
client_ctx: &ClientContext<WalletClientModule>,
) -> Result<Vec<CheckOutcome>, Error>
Expand description
Query via btc rpc for a history of an address derived with tweak_idx
and
claim any peg-ins that are ready.
Return a list of CheckOutcome
s for each matching output.