https://travis-ci.org/github/bitcoin/bitcoin/jobs/680452476#L6107
for (const CTxIn& txin : mergedTx.vin) {
            view.AccessCoin(txin.prevout); 
        }
        view.SetBackend(viewDummy); 
    }
    
    
    const CTransaction txConst(mergedTx);
    
    for (unsigned int i = 0; i < mergedTx.vin.size(); i++) {
        CTxIn& txin = mergedTx.vin[i];
        const Coin& coin = view.AccessCoin(txin.prevout);
        if (coin.IsSpent()) {
            throw JSONRPCError(RPC_VERIFY_ERROR, "Input not found or already spent");
        }
        SignatureData sigdata;
        
        for (const CMutableTransaction& txv : txVariants) {
            if (txv.vin.size() > i) {
                sigdata.MergeSignatureData(DataFromTransaction(txv, i, coin.out));
            }
        }
        ProduceSignature(DUMMY_SIGNING_PROVIDER, MutableTransactionSignatureCreator(&mergedTx, i, coin.out.nValue, 1), coin.out.scriptPubKey, sigdata);
        UpdateInput(txin, sigdata);
    }
    return EncodeHexTx(CTransaction(mergedTx));
},
    };
}
static RPCHelpMan signrawtransactionwithkey()