Bitcoin Forum
May 25, 2018, 05:40:43 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Theoretical hard fork - how to separate txs  (Read 250 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?
1527270043
Hero Member
*
Offline Offline

Posts: 1527270043

View Profile Personal Message (Offline)

Ignore
1527270043
Reply with quote  #2

1527270043
Report to moderator
1527270043
Hero Member
*
Offline Offline

Posts: 1527270043

View Profile Personal Message (Offline)

Ignore
1527270043
Reply with quote  #2

1527270043
Report to moderator
1527270043
Hero Member
*
Offline Offline

Posts: 1527270043

View Profile Personal Message (Offline)

Ignore
1527270043
Reply with quote  #2

1527270043
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1527270043
Hero Member
*
Offline Offline

Posts: 1527270043

View Profile Personal Message (Offline)

Ignore
1527270043
Reply with quote  #2

1527270043
Report to moderator
Foxpup
Legendary
*
Offline Offline

Activity: 2198
Merit: 1055



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!