Bitcoin Forum
July 30, 2024, 11:15:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Transaction malleability and conflicted transactions  (Read 175 times)
Deepigma (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
August 13, 2018, 11:10:42 AM
Merited by LoyceV (1)
 #1

Hi there,

Hope you can clarify an issue regarding Transaction Malleability for me.

Lets suppose I will issue a transaction with a hash 1111 , then someone utilises transaction malleability and changes my transaction, so it will have a new hash: 222.
As far as I understand, only 1 of these 2 transactions will be eventually confirmed in the blockchain.
The question is: will the second transaction become conflicted one with the confirmations value equal to -1, according to this API docs:
https://bitcoin.org/en/developer-reference#listtransactions

Thank you in advance.
ranochigo
Legendary
*
Offline Offline

Activity: 3010
Merit: 4266


Crypto Swap Exchange


View Profile
August 13, 2018, 11:38:44 AM
 #2

Most transactions aren't getting mutated for now, as far as I can tell but its definitely possible.

Bitcoin Core's default behavior is to ignore any transactions that spends the same input as in their mempool. This means that if the transaction that is mutated confirms, then the client will be able to see both the non-mutated (original) and mutated transactions. The one that is not in the blockchain (original TXN) will be given a -1.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Deepigma (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
August 14, 2018, 07:25:26 AM
 #3

OK, thank you.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!