Bitcoin Forum
May 13, 2024, 04:02:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: alternative for a bitcoin fork/rollback  (Read 1319 times)
Senor.Bla (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 253


View Profile
August 06, 2016, 12:18:40 PM
Merited by ABCbits (1)
 #1

Most recently we had the DAO "Hack" and a following hard fork which resulted in ETH and ETC.
After the recent hack of Bitfinex some of the bitcoin users where thinking about a possibility to fork bitcoin with the intention of recovering the stolen funds.

Since Bitcoin and Ether use different technologies it is not that easy to compare those two cases and i do not want to do that. and it is probably to late anyway but i am interested in the theory behind it.

What i heard about how to make the hack undone is this:
we, or to be more precise over 51% of the miners, would need to go back to the transaction in the blockchain and ignore it and then restart the blockchain again.
At this point i am not sure if we had also to rewrite all other transactions manually or if it would be sufficient to let the mines start working again and write the transaction as if there where just in line to process. How would this be controlled?
Also the miners would have to run their equipment for some time for loss since the days since would be lost.

But my main question is about an alternative:
If we know the address of the stolen bitcoins and agree on an correction of the hack.
would it be possible to agree on a future blocknummber and one miner, who mines just this one block with just this one transaction from the hackers address back to bitfinex.
after this one block every thing goes back to normal.

this sounds very simple and i am sure there are some reasons why this is not going to work, but i do not see them and so i am asking you to explain it to me. thank you!

1715572971
Hero Member
*
Offline Offline

Posts: 1715572971

View Profile Personal Message (Offline)

Ignore
1715572971
Reply with quote  #2

1715572971
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715572971
Hero Member
*
Offline Offline

Posts: 1715572971

View Profile Personal Message (Offline)

Ignore
1715572971
Reply with quote  #2

1715572971
Report to moderator
Pursuer
Legendary
*
Offline Offline

Activity: 1638
Merit: 1163


Where is my ring of blades...


View Profile
August 06, 2016, 12:56:08 PM
Merited by ABCbits (3)
 #2

After the recent hack of Bitfinex some of the bitcoin users where thinking about a possibility to fork bitcoin with the intention of recovering the stolen funds.

to those users I have one question: was the problem with bitcoin or the people using bitcoin?

if you think about this question for a moment then you realize how ridiculous suggesting a fork for bitcoin because bitfinex was hacked sounds like.

if we are going to have a fork for this hack then we should have a fork for every other hack.
the next day someone would ask for a fork because he has lost his private keys (forgot or lost to a keylogger) and has some funds in his bitcoin wallet and with your logic we should have a fork so he can get his funds back.

Only Bitcoin
Senor.Bla (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 253


View Profile
August 06, 2016, 01:08:24 PM
 #3

After the recent hack of Bitfinex some of the bitcoin users where thinking about a possibility to fork bitcoin with the intention of recovering the stolen funds.

to those users I have one question: was the problem with bitcoin or the people using bitcoin?

if you think about this question for a moment then you realize how ridiculous suggesting a fork for bitcoin because bitfinex was hacked sounds like.

if we are going to have a fork for this hack then we should have a fork for every other hack.
the next day someone would ask for a fork because he has lost his private keys (forgot or lost to a keylogger) and has some funds in his bitcoin wallet and with your logic we should have a fork so he can get his funds back.

i never said i want a fork and clearly this is not happening anyway. but i also do not want this discussion in this thread.
if you want to discuss this please do so in an other thread as i am more in the technical side interested and not the moral or whatever.   

topiOleg
Full Member
***
Offline Offline

Activity: 174
Merit: 100



View Profile
August 06, 2016, 04:42:39 PM
 #4

this sounds very simple and i am sure there are some reasons why this is not going to work, but i do not see them and so i am asking you to explain it to me. thank you!

You can rebuild the blockchain using over 50% hash power using current rules. Instead of the transaction from bitfinex to hacker you replace it to other valid (signed) transaction: from bitfinex to new bitfinex address, basically a double spend. The problem is you need to rebuild the blockchain to get longest chain again and this means many days (since the hack) of invalidated blocks (and their rewards) while miners already used electricity to mine these blocks. Thus its not in miners interest, an even if bitfinex compensated all the invalidated block rewards to miners, the lost of confidence is lost when you can do 51% attack anytime to double spend any transaction even few days old one - would you use Bitcoin if after many days a transaction with 300+ confirmations could be still double spended ?

The second approach is hard fork to add special status just for this transaction similarly like the ethereum did, even much worse imo.

Coding Enthusiast
Legendary
*
Offline Offline

Activity: 1039
Merit: 2783


Bitcoin and C♯ Enthusiast


View Profile WWW
August 06, 2016, 05:30:37 PM
 #5

#
If we know the address of the stolen bitcoins and agree on an correction of the hack.
would it be possible to agree on a future blocknummber and one miner, who mines just this one block with just this one transaction from the hackers address back to bitfinex.
after this one block every thing goes back to normal.
#

are you looking for a way to "reverse the transaction"?
because what you are explaining here sounds like you want that miner to "spend" the coins from the hackers bitcoin address and sends it back to bitfinex address. (not possible)

p.s. move your topic to "Development & Technical Discussion" board. there is a button on bottom left.

Projects List+Suggestion box
Donate: 1Q9s or bc1q
|
|
|
FinderOuter(0.19.1)Ann-git
Denovo(0.7.0)Ann-git
Bitcoin.Net(0.26.0)Ann-git
|
|
|
BitcoinTransactionTool(0.11.0)Ann-git
WatchOnlyBitcoinWallet(3.2.1)Ann-git
SharpPusher(0.12.0)Ann-git
calkob
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 520


View Profile
August 06, 2016, 05:33:51 PM
 #6

they are 2 differant animals and actually the problem wasn't with bitcoin it was with those using it, bitcoin functioned perfectly.....  Wink
Senor.Bla (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 253


View Profile
August 06, 2016, 07:01:56 PM
 #7

#
If we know the address of the stolen bitcoins and agree on an correction of the hack.
would it be possible to agree on a future blocknummber and one miner, who mines just this one block with just this one transaction from the hackers address back to bitfinex.
after this one block every thing goes back to normal.
#

are you looking for a way to "reverse the transaction"?
because what you are explaining here sounds like you want that miner to "spend" the coins from the hackers bitcoin address and sends it back to bitfinex address. (not possible)

p.s. move your topic to "Development & Technical Discussion" board. there is a button on bottom left.

found the button and moved it.

you got the idea. i was thinking about the possibility that the mines spend the coins from the hackers address to a bitfinex address. they usually write transactions from a to b. so i thought they could also write a transaction where they force the attacker to send it back. i figuerd it would work fine if the majority was for it and i did not saw my mistake. I think i do now.
the miners do not have the private key of the hackers address to sign it. so this whole idea of mine would not result in a valid block. Am i right?

achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
August 06, 2016, 09:57:03 PM
Merited by ABCbits (2)
 #8

found the button and moved it.

you got the idea. i was thinking about the possibility that the mines spend the coins from the hackers address to a bitfinex address. they usually write transactions from a to b. so i thought they could also write a transaction where they force the attacker to send it back. i figuerd it would work fine if the majority was for it and i did not saw my mistake. I think i do now.
the miners do not have the private key of the hackers address to sign it. so this whole idea of mine would not result in a valid block. Am i right?

Theoretically it is possible. In every single Bitcoin full node there would need to be an exception coded for the block and txid of the transaction which returns the funds. Under every other circumstance, it would be considered invalid, and for anyone that is writing Bitcoin transaction validation code, it would be an annoyance to have to keep that exception there.

topiOleg
Full Member
***
Offline Offline

Activity: 174
Merit: 100



View Profile
August 06, 2016, 11:45:51 PM
 #9

the miners do not have the private key of the hackers address to sign it. so this whole idea of mine would not result in a valid block. Am i right?

Your right, only the one having the private key to certain address can sign the transaction so it become valid. If you try include transaction moving the coins from any address without valid signature, your block would fail validation on all Bitcoin full nodes - "surprisingly" miner can not steal somebody else coins this way.

Coding Enthusiast
Legendary
*
Offline Offline

Activity: 1039
Merit: 2783


Bitcoin and C♯ Enthusiast


View Profile WWW
August 07, 2016, 03:12:17 AM
Merited by ABCbits (1)
 #10

found the button and moved it.

you got the idea. i was thinking about the possibility that the mines spend the coins from the hackers address to a bitfinex address. they usually write transactions from a to b. so i thought they could also write a transaction where they force the attacker to send it back. i figuerd it would work fine if the majority was for it and i did not saw my mistake. I think i do now.
the miners do not have the private key of the hackers address to sign it. so this whole idea of mine would not result in a valid block. Am i right?

Theoretically it is possible. In every single Bitcoin full node there would need to be an exception coded for the block and txid of the transaction which returns the funds. Under every other circumstance, it would be considered invalid, and for anyone that is writing Bitcoin transaction validation code, it would be an annoyance to have to keep that exception there.

theoretically it would be a fork with consensus .
i assume something like this situation needs to happen: https://bitcointalk.org/index.php?topic=823.msg9531#msg9531 (not to be mistaken with what OP is asking, this was  a bug but practically they invalidated the block 74638 hence the transactions that exploited the bug in 2010)

Projects List+Suggestion box
Donate: 1Q9s or bc1q
|
|
|
FinderOuter(0.19.1)Ann-git
Denovo(0.7.0)Ann-git
Bitcoin.Net(0.26.0)Ann-git
|
|
|
BitcoinTransactionTool(0.11.0)Ann-git
WatchOnlyBitcoinWallet(3.2.1)Ann-git
SharpPusher(0.12.0)Ann-git
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!