Bitcoin Forum
December 15, 2024, 08:04:01 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to spend Bitcoin Cash without the corresponding transaction being mirrored?  (Read 139 times)
Beetkoin (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 18


View Profile
November 01, 2021, 03:44:50 PM
 #1

So, Bitcoin Cash and Bitcoin both use the same address system?

I personally got into Bitcoin long after Segwit, so I have no BCH.

But let's say someone owns both BTC and BCH after the hard fork.

And then, he wants to sell BCH and buy BTC.

However, when he broadcasts a transaction on BCH, what is to stop someone from broadcasting the same transaction on the BTC network?

Worse, since Segwit essentially creates a "anyone can spend" UTXO as interpreted by pre-Segwit nodes, if he transfers BTC into a Segwit address, what is to prevent someone from stealing his coins on BCH?

NeuroticFish
Legendary
*
Offline Offline

Activity: 3892
Merit: 6623


Looking for campaign manager? Contact icopress!


View Profile
November 01, 2021, 03:53:39 PM
 #2

what is to prevent someone from stealing his coins on BCH?

All the proper tutorials about claiming fork coins tell this:
before claiming the fork coin - no matter if it means to send the fork coins to an exchange or other operations - the very first step is to move your bitcoin into a new safe wallet.
This is necessary not only because of mirroring tx. This is also necessary because the fork coin wallet may be malicious, for example.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1736
Merit: 8452


Fiatheist


View Profile WWW
November 01, 2021, 03:57:50 PM
 #3

However, when he broadcasts a transaction on BCH, what is to stop someone from broadcasting the same transaction on the BTC network?
Nothing. That's why we say they are separate chains. This is what hard fork means. If you've found two people willing to buy your coin, but they both want different chains and you had the opportunity to obtain some before the split happens, then what you do is, essentially, double-spending.

You've doubled your belongings. (Assuming 1 BTC and 1 BCH have the same value, which is never the case)

what is to prevent someone from stealing his coins on BCH?
What's the association with SegWit? If they transfer BTC to an address, whether that's SegWit or not, they've spent the UTXO. But, this happens on the Bitcoin network; there's no relation with the Bitcoin Cash network since the split happens.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Beetkoin (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 18


View Profile
November 01, 2021, 04:03:21 PM
 #4

what is to prevent someone from stealing his coins on BCH?

All the proper tutorials about claiming fork coins tell this:
before claiming the fork coin - no matter if it means to send the fork coins to an exchange or other operations - the very first step is to move your bitcoin into a new safe wallet.
This is necessary not only because of mirroring tx. This is also necessary because the fork coin wallet may be malicious, for example.

But when I move my BTC to a safe wallet, someone is going to mirror that transaction on Bitcoin Cash?
So isn't it an endless game of cat and mouse?

If I move my BTC to a SegWit address, then on BCH it will appear as a "anyone can spend" UTXO therefore immediately stolen?
NeuroticFish
Legendary
*
Offline Offline

Activity: 3892
Merit: 6623


Looking for campaign manager? Contact icopress!


View Profile
November 01, 2021, 04:06:27 PM
 #5

If I move my BTC to a SegWit address, then on BCH it will appear as a "anyone can spend" UTXO therefore immediately stolen?

Wouldn't it "steal" those BCH.. by moving them to your (new, safe) bitcoin address?  Wink

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
PrimeNumber7
Copper Member
Legendary
*
Offline Offline

Activity: 1666
Merit: 1901

Amazon Prime Member #7


View Profile
November 01, 2021, 04:17:02 PM
Merited by DaveF (2), n0nce (2)
 #6

But let's say someone owns both BTC and BCH after the hard fork.

And then, he wants to sell BCH and buy BTC.

However, when he broadcasts a transaction on BCH, what is to stop someone from broadcasting the same transaction on the BTC network?

Bcash split from bitcoin as of block 478559. If you want to spend coin on the bitcoin blockchain that is invalid on the bcash blockchain, you must use a UTXO that can be traced to a block reward from 478560 or later. This will guarantee your transaction will not be valid on the bcash blockchain.

Alternatively, you can include a UTXO that can be traced back to a transaction whose 'sister' UTXO was spent to another address on the bcash blockchain.
For example. UTXO ABC:2 is for 2 BTC, was spent on the bitcoin blockchain via txid xyz with one output to bitcon address xx. The same UTXO ABC:2 was spent on the bcash blockchain via txid wxy that had one output to bcash address zz. Any UTXO that can be traced back to the utxo xyz:0 will not be valid on the bcash blockchain.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3514
Merit: 4895



View Profile
November 01, 2021, 08:04:08 PM
 #7

If you don't have access to any UTXO that only exist on one chain, they you can try the following.

Create address A on BTC chain.
Create address B on BCH chain.

Send full balance on BTC chain to address A.
Immediately (as close to simultaneously as you can) send full balance on BCH chain to address B.

If someone does manage to rebroadcast one of the transactions from one chain to the other before the miners have confirmed the transactions, and your transaction gets bumped by the rebroadcast transaction, then at least you still have access to the private keys for both transactions, so you haven't lost anything more than the transaction fees. You can re-try or you can look for another solution.

However, there is a high likelihood that your transaction to address A will only confirm on the BTC chain and the transaction to address B will only confirm on the BCH chain. If that happens, then you have now blocked the ability for anyone to rebroadcast your transactions from one chain to another anymore. since the two UTXO are completely different.


DaveF
Legendary
*
Offline Offline

Activity: 3696
Merit: 6686


Crypto Swap Exchange


View Profile WWW
November 01, 2021, 08:36:34 PM
 #8

But let's say someone owns both BTC and BCH after the hard fork.

And then, he wants to sell BCH and buy BTC.

However, when he broadcasts a transaction on BCH, what is to stop someone from broadcasting the same transaction on the BTC network?

Bcash split from bitcoin as of block 478559. If you want to spend coin on the bitcoin blockchain that is invalid on the bcash blockchain, you must use a UTXO that can be traced to a block reward from 478560 or later. This will guarantee your transaction will not be valid on the bcash blockchain.

Alternatively, you can include a UTXO that can be traced back to a transaction whose 'sister' UTXO was spent to another address on the bcash blockchain.
For example. UTXO ABC:2 is for 2 BTC, was spent on the bitcoin blockchain via txid xyz with one output to bitcon address xx. The same UTXO ABC:2 was spent on the bcash blockchain via txid wxy that had one output to bcash address zz. Any UTXO that can be traced back to the utxo xyz:0 will not be valid on the bcash blockchain.

More or less this with one more addition. There are several forks (BCash, BSV, BCHA, eCash) that are worth some money if you have 1BTC all of the ones I mentioned will get you about another $900. If you only have .1BTC it's probably not worth the time for $90 YMMV. But anyway, if you send on 1 of the forks you send on all so you have to taint your coins with a bit of BCash, BSV, and such so when you move them you only move them on the 1 blockchain.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4363

<insert witty quote here>


View Profile
November 01, 2021, 09:58:46 PM
Merited by NeuroticFish (2)
 #9

Isn't this all rather moot considering that BCH implemented 2-way replay protection? Huh

As far as I'm aware, you can't broadcast a BTC transaction on the BCH chain and you can't broadcast a BCH transaction on BTC chain. The replay issue was only really a thing when the BCH/BCHA/BSV forks happened with no replay protection.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
DaveF
Legendary
*
Offline Offline

Activity: 3696
Merit: 6686


Crypto Swap Exchange


View Profile WWW
November 01, 2021, 10:07:08 PM
 #10

Isn't this all rather moot considering that BCH implemented 2-way replay protection? Huh

As far as I'm aware, you can't broadcast a BTC transaction on the BCH chain and you can't broadcast a BCH transaction on BTC chain. The replay issue was only really a thing when the BCH/BCHA/BSV forks happened with no replay protection.

Nope, if you have an input that predates the forks and send it to another legacy address it can be broadcast on the other chains. I don't know how common it is for the other chains to pick up the transaction but it is the same. *Unless something has changed since the BSV fork. I saw a bunch of drama back then pop up with people trying to move older coins and moving other chains with them by accident. Didn't really care, just something I read.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4363

<insert witty quote here>


View Profile
November 02, 2021, 04:43:47 AM
 #11

Nope, if you have an input that predates the forks and send it to another legacy address it can be broadcast on the other chains.
So, what happened to the whole SIGHASH_FORKID thing that the Bitcoin Cash devs implemented at the eleventh hour (it went in like a day or 2 before the fork)? Huh

https://bitcoin.stackexchange.com/a/102405

Addresses between BTC and BCH are "compatible" yes... but transactions are not... again, the replay attack stuff was purely with BCH and it's forks (BCHA BSV etc)

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
NeuroticFish
Legendary
*
Offline Offline

Activity: 3892
Merit: 6623


Looking for campaign manager? Contact icopress!


View Profile
November 02, 2021, 06:54:26 AM
 #12

Isn't this all rather moot considering that BCH implemented 2-way replay protection? Huh

* I didn't follow BCash hence I didn't know whether that was implemented. Possibly OP also didn't, hence it's good that you've mentioned that.
* it can be seen as a hypothetical question for other forks, especially if by chance OP knew that this was implemented in BCash

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!