2

I use bitcoind's Wallet feature to manage my bitcoins. Using json-rpc interface, how can I check that a transaction is a conflicted one? And, how can I get txhash of a transaction, that spends those same outputs and is confirmed(malleability situation)?

1 Answer 1

3

If you call listtransaction, you should get a JSON array called walletconflicts.

If your transaction conflicts with another transaction in your mempool or with a transaction in a block, this walletconflicts array is filled with n transactions-id's that points to the tx that spends the same, conflicting inputs.

walletconflicts is also present in gettransaction

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.