Bitcoin Forum
May 06, 2024, 04:02:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is Transaction malleability? How often will it happen?  (Read 218 times)
Julian ogan (OP)
Member
**
Offline Offline

Activity: 87
Merit: 27


View Profile
June 11, 2019, 01:22:03 PM
Merited by bones261 (2), ABCbits (1)
 #1

I was reading and just came across transaction malleability attack. I read multiple links that i got but, there are lot more questions in my mind.

My queries:
  • Is double spent same thing or is different? How are they same or how are they differentiated?
  • How often such a thing will occur?
  • Is it fixed?
  • Can a miner with 51% mining power can do this? As he/she with 51% power can do 51% attack

Can someone please explain this attack in lye-man language? 

1714968133
Hero Member
*
Offline Offline

Posts: 1714968133

View Profile Personal Message (Offline)

Ignore
1714968133
Reply with quote  #2

1714968133
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6379


Looking for campaign manager? Contact icopress!


View Profile
June 11, 2019, 01:57:51 PM
 #2

I was reading and just came across transaction malleability attack. I read multiple links that i got but, there are lot more questions in my mind.

Did you find / read this article? https://www.coindesk.com/bitcoin-bug-guide-transaction-malleability
It seems to answers to basically all your questions in a pretty simple language.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7464


Crypto Swap Exchange


View Profile
June 11, 2019, 07:12:20 PM
Merited by bones261 (2), pooya87 (1), mocacinno (1), Coin-1 (1)
 #3

  • Is double spent same thing or is different? How are they same or how are they differentiated?

It's different, the main difference is
  • double-spend transaction have different output
  • malleability transaction only have different transaction hash (input/output exactly same)

  • How often such a thing will occur?

That depends whether someone decide to abuse Transaction malleability

  • Is it fixed?

Yes, if you use SegWit address.

  • Can a miner with 51% mining power can do this? As he/she with 51% power can do 51% attack

Yes, but you don't need any mining power to do it. All you need to are change transaction/signature format of an transaction and broadcast it.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Julian ogan (OP)
Member
**
Offline Offline

Activity: 87
Merit: 27


View Profile
June 14, 2019, 06:35:57 AM
 #4

  • Is double spent same thing or is different? How are they same or how are they differentiated?

It's different, the main difference is
  • double-spend transaction have different output
  • malleability transaction only have different transaction hash (input/output exactly same)

  • How often such a thing will occur?

That depends whether someone decide to abuse Transaction malleability

  • Is it fixed?

Yes, if you use SegWit address.

  • Can a miner with 51% mining power can do this? As he/she with 51% power can do 51% attack

Yes, but you don't need any mining power to do it. All you need to are change transaction/signature format of an transaction and broadcast it.

Can you please recommend any article or book to read this topic in depth.

pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10549



View Profile
June 15, 2019, 03:35:39 AM
 #5

Can someone please explain this attack in lye-man language? 

it means you change something inside of any transaction you receive so that the final transaction hash changes but the transaction doesn't become invalid. so anybody could do that, you won't even need to run a node! you just have to listen to a node and receive/relay transactions.

for example changing signature was a way to malleate a transaction. one way is to inject ignore-able OP codes like OP_0 in it, another was to change S value to -S since on an elliptic curve (x,y) is congruence to (x,-y). both of these change the transaction hash (TX_ID) but won't make the transaction invalid.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!