Bitcoin Forum
May 08, 2024, 04:45:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Theoretical hard fork - how to separate txs  (Read 322 times)
slothbag (OP)
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?
1715186747
Hero Member
*
Offline Offline

Posts: 1715186747

View Profile Personal Message (Offline)

Ignore
1715186747
Reply with quote  #2

1715186747
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715186747
Hero Member
*
Offline Offline

Posts: 1715186747

View Profile Personal Message (Offline)

Ignore
1715186747
Reply with quote  #2

1715186747
Report to moderator
1715186747
Hero Member
*
Offline Offline

Posts: 1715186747

View Profile Personal Message (Offline)

Ignore
1715186747
Reply with quote  #2

1715186747
Report to moderator
Foxpup
Legendary
*
Offline Offline

Activity: 4354
Merit: 3044


Vile Vixen and Miss Bitcointalk 2021-2023


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 unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
slothbag (OP)
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:  

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