Bitcoin Forum
August 20, 2018, 03:01:23 PM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Theoretical hard fork - how to separate txs  (Read 253 times)
slothbag
Sr. Member
****
Offline Offline

Activity: 369
Merit: 250



View Profile
July 19, 2016, 04:07:10 AM
 #1

Lets say for whatever reason (deliberate or accidental) Bitcoin hardforks into two chains.. I have 10 bitcoins in my wallet, on chain 1 I would like to send those 10 bitcoins to address 12345 and on chain 2 I would like to send those same 10 bitcoins to address 19876..

Assuming both chains have nodes still relaying txs amongst both chains, how do I prevent the first tx from being applied to the 2nd chain accidentally? 

Is there a way to specify to only include this tx if block x hash = <some known hash>?

Any other way to keep the tx on one chain and not the other?
BOUNTY PORTALS
BLOG
WHERE BOUNTY MANAGEMENT
MEETS AUTOMATION
SIGNATURE CAMPAIGNS
TWITTER
FACEBOOK
MEDIA CAMPAIGNS
AND MORE!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1534777283
Hero Member
*
Offline Offline

Posts: 1534777283

View Profile Personal Message (Offline)

Ignore
1534777283
Reply with quote  #2

1534777283
Report to moderator
1534777283
Hero Member
*
Offline Offline

Posts: 1534777283

View Profile Personal Message (Offline)

Ignore
1534777283
Reply with quote  #2

1534777283
Report to moderator
Foxpup
Legendary
*
Online Online

Activity: 2282
Merit: 1099



View Profile
July 19, 2016, 04:22:36 AM
 #2

Is there a way to specify to only include this tx if block x hash = <some known hash>?
Yes. Use coins mined in that block as one of the inputs.

Any other way to keep the tx on one chain and not the other?
Make double-spend attempts to yourself, sending to a different address on each chain. Since both addresses belong to you, you don't lose anything (except transaction fees) if it fails, and after you eventually succeed, coins from each address can only be spent on the corresponding chain.

Alternatively, if different consensus rules make certain types of transactions valid on one fork but not the other, just create such a transaction.

Will pretend to do unverifiable things (while actually eating an enchilada-style burrito) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
slothbag
Sr. Member
****
Offline Offline

Activity: 369
Merit: 250



View Profile
July 19, 2016, 04:30:28 AM
 #3

Thanks Foxpup, so..

* Use freshly minted coins (hard to get significant quantity from miners)
* Send coins to different accounts you own on each chain (trial and error, could take a few attempts)
* Try trigger different consensus rules (not always possible depending on fork reason)
* Try find a miner who can directly accept new tx (no relay) and place in one chain only. (not many powerful miners to choose from, requires effort from them to build)

Not really any great solutions.. probably the double spend until you have coins in separate accounts sounds best.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!