Function vault::service::execute_open_requests
source · pub async fn execute_open_requests(
shutdown_tx: ShutdownSender,
parachain_rpc: InterBtcParachain,
vault_id_manager: VaultIdManager,
read_only_btc_rpc: DynBitcoinCoreApi,
num_confirmations: u32,
payment_margin: Duration,
auto_rbf: bool
) -> Result<(), Error>
Expand description
Queries the parachain for open requests and executes them. It checks the bitcoin blockchain to see if a payment has already been made.