Bitcoin Forum
May 05, 2024, 02:58:44 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Disentanglement Of Coins In Event of 2 Chains  (Read 2223 times)
teukon
Legendary
*
Offline Offline

Activity: 1246
Merit: 1002



View Profile
August 29, 2015, 02:26:16 AM
 #21

OK I have 5 BTC before the fork, these coins are deemed good by both types of nodes and miners.

I buy some dust that is only valid on the XT chain, and some dust that is only valid on the Core chain.

I then send the 5 BTC + the XT dust to an address I control.  These 5 BTC + XT dust are only valid and only seen by the XT nodes and miners on the XT chain.  The transaction will be rejected by the Core nodes, miners and chain.

I send the same 5 BTC + the Core dust to an address I control. These 5 BTC + Core dust are only valid and only seen by the Core nodes and miners on the Core chain.  The transaction will be rejected by the XT nodes, miners and chain.

Then all I need to do is keep track of which address contains my XT coins and which address contains my Core coins.

I think that will work.

Yes, this is one solution.  It has been suggested that this kind of functional taint could be offered as a trustless service.

Are you trying to find something easier?

Not myself, I'm happy with my locktime solution.  Still, something even cleaner would be interesting.
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714921124
Hero Member
*
Offline Offline

Posts: 1714921124

View Profile Personal Message (Offline)

Ignore
1714921124
Reply with quote  #2

1714921124
Report to moderator
danielW (OP)
Sr. Member
****
Offline Offline

Activity: 277
Merit: 250


View Profile
August 30, 2015, 12:10:54 AM
 #22

OK I have 5 BTC before the fork, these coins are deemed good by both types of nodes and miners.

I buy some dust that is only valid on the XT chain, and some dust that is only valid on the Core chain.

I then send the 5 BTC + the XT dust to an address I control.  These 5 BTC + XT dust are only valid and only seen by the XT nodes and miners on the XT chain.  The transaction will be rejected by the Core nodes, miners and chain.

I send the same 5 BTC + the Core dust to an address I control. These 5 BTC + Core dust are only valid and only seen by the Core nodes and miners on the Core chain.  The transaction will be rejected by the XT nodes, miners and chain.

Then all I need to do is keep track of which address contains my XT coins and which address contains my Core coins.

I think that will work.

Yes, this is one solution.  It has been suggested that this kind of functional taint could be offered as a trustless service.

Are you trying to find something easier?

Not myself, I'm happy with my locktime solution.  Still, something even cleaner would be interesting.


Do you mind explaining how you would split them using locktime ? Smiley
teukon
Legendary
*
Offline Offline

Activity: 1246
Merit: 1002



View Profile
August 30, 2015, 01:00:31 AM
 #23

Do you mind explaining how you would split them using locktime ? Smiley

Not at all.  The two forks would commonly have different heights (consider random walks).  I would broadcast a transaction with a locktime equal to the height of the longest fork, spending my coins to address X.  This transaction would be accepted into the longer fork's blockchain but would have to wait in the mempool of the shorter fork for a while before it could be similarly included.  After getting a couple of confirmations on the longer fork, I would broadcast a second transaction (without locktime), spending my coins to address Y.  This transaction would be invalid on the longer fork (the coins have already been spent) but would be fine on the shorter fork (an update to a locktime transaction in the mempool).

Should the two forks be close in height (say within 10 blocks of one another) I would just wait for them to diverge.
Pages: « 1 [2]  All
  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!