To accompany this fix we need to relay two transactions (and merkle proofs) for each issue, redeem and replace request. We can do this via Bitcoin Core using the getblock RPC or the Esplora /block/:hash/txids endpoint and fetching the transaction for the first txid listed. The coinbase transaction is always the first transaction in each block but to verify this we can check that there is only one input and the previous output is null - see rust-bitcoin or our parsing code here.
To accompany this fix we need to relay two transactions (and merkle proofs) for each issue, redeem and replace request. We can do this via Bitcoin Core using the
getblock
RPC or the Esplora/block/:hash/txids
endpoint and fetching the transaction for the first txid listed. The coinbase transaction is always the first transaction in each block but to verify this we can check that there is only one input and the previous output is null - seerust-bitcoin
or our parsing code here.