A Bitcoin Beginner’s Guide to Surviving the BIP 148 UASF

in #bip1487 years ago

This is a re-write of A Bitcoin Beginner’s Guide to Surviving a Coin-Split, specifically addressing issues associated with the upcoming BIP 148 UASF.

There is a chance Bitcoin will experience a chain-split on August 1st. A segment of all Bitcoin users is committed to activate a user activated soft fork (UASF) as described in Bitcoin Improvement Proposal 148 (BIP 148). Specifically, they will reject any Bitcoin blocks that do not signal support for Segregated Witness (SegWit), the centerpiece of Bitcoin Core’s scaling roadmap.

If a majority of miners (by hash power) does not signal support for SegWit through BIP148 on August 1st, but at least some do, Bitcoin’s blockchain will split in two. In that case, there would be two types of Bitcoin tokens, which we’ll refer to in this article as “148 BTC” for coins on the soft forked chain, and “Legacy BTC” for coins on the chain that did not activate the soft fork.

The good news is that each bitcoin would effectively be copied to both chains. If you hold bitcoin right now, you will hold both 148 BTC and Legacy BTC after the split.

The bad news is that this coin-split can be messy and risky. And if you’re not careful, you could lose funds.

This guide will provide you with the basics to keeping your funds safe during the UASF and will help to make sure you make it to the “other side” with all your bitcoins intact.

Author’s note: If you want to play the 148 BTC/Legacy BTC markets as soon as possible and you are fine with taking risks, and/or you really know what you are doing, this article is probably not for you: It’s a beginner’s guide.

Before August 1

First off, be aware that a chain-split create a high-risk situation. There is a chance that some sort of cyber-battle will break out between the two camps, perhaps even escalating to the point where bitcoin’s exchange rate(s) drops sharply, possibly to zero. Make absolutely sure you are not holding more value in bitcoin than what you are willing to lose.

If you do decide to hold onto your bitcoins, the single most important piece of advice is this: Ensure that you control your own private keys.

If you are storing your bitcoins on an exchange, in a custodial wallet like Coinbase, Circle or Xapo, or on any other service that holds your private keys for you, you may or may not eventually receive coins on both ends of the chain. In fact, if these kinds of services aren’t well-prepared, there could be scenarios where you don’t get any coins at all. So far, no exchanges have given any kind of guarantee.

So if you’re using any of these kinds of services to store your bitcoins, you need to create your own wallet. Send your bitcoins to one or several Bitcoin addresses in this new wallet. This wallet now holds your private keys.

What kind of wallet you use is up to you. That said, here are some basic solutions:

The only wallets that are entirely trustless are full node wallets, like Bitcoin Core or Bitcoin Knots. These verify all protocol rules, but they can be a bit resource intensive to use. If you don’t care about transacting with bitcoin (either 148 BTC or Legacy BTC) anytime soon and really just want to keep both as a long-term investment, printing your private keys on a paper wallet is another option. This option, however, is only really secure if you follow strict security precautions, which you can find here. Alternatively, you could get yourself a hardware wallet. Any of the hardware wallets listed on bitcoin.org will keep your private keys secure.

Most regular desktop or mobile wallets, as listed on bitcoin.org, are about as secure as your computer or phone is. Since most computers and phones are not all that secure, these are not ideal for large amounts. With that in mind, all mobile wallets and desktop wallets listed on bitcoin.org will store your private keys for you.

In any case: Be sure to make backups of your keys! Most wallets require you to do this when installing: don’t skip this step.

On, and Perhaps (shortly) After, August 1

If a majority of hash power signals support for Segregated Witness through BIP148 on or before August 1st, the protocol upgrade will activate smoothly. In that case, you’re fine, even if you didn’t prepare at all.

But it’s also possible that a majority of hash power will not go along with the BIP 148 UASF on August 1st, in which case the chain could split. If you hold your private keys, you will then have both 148 BTC and Legacy BTC.

Such a chain-split could resolve in several ways.

If at any point on or after August 1st, the 148 BTC chain becomes the chain with most accumulated proof of work, both BIP 148 nodes as well as Legacy nodes would switch to the 148 BTC chain. As such, the Legacy BTC chain should be discarded, resolving the situation. It would have been a temporary split, and you should be fine if you held onto your private keys. You can now continue to use bitcoin as usual.

But unless and until this happens (or other types of precautions are taken), there is always at least a theoretical risk that the Legacy BTC chain can be overtaken and be discarded like this. That chance should decrease as time goes on, but will realistically exist for hours, perhaps days, and maybe even longer — even if no blocks are found on the 148 BTC chain.

As such, buying or accepting Legacy BTC after the split — and especially shortly after the split — is very risky. These bitcoins can quite literally disappear if the 148 BTC chain overtakes the Legacy BTC chain. Therefore, it’s not recommended that you buy or accept any Legacy BTC — if you do, at least be aware of and comfortable with the risk that your money could cease to exist.

BIP 148 nodes will never acknowledge the Legacy chain, so these will not switch regardless of which chain has more hash power. However, it is very risky to buy, accept or hold 148 BTC, too. Most importantly, there is no guarantee that 148 BTC will continue to be used. While that is of course true for any cryptocurrency, due to slow mining difficulty adjustments, a potentially hostile environment, and the continued possibility for SegWit to activate on the Legacy chain after all, it’s probably more true for 148 BTC. Additionally, block confirmations may be very slow for quite a while, which could make using 148 BTC for transacting impractical.

If you want to accept 148 BTC regardless, you need to run a BIP 148 full node as a wallet. You can find more information about that here, and you can find software downloads here.

On top of the Legacy BTC chain being discarded or the 148 BTC chain withering away, there is another big risk: replay attacks.

In case of a chain-split, transactions on both sides of the fork will look identical. If a transaction is picked up by both 148 BTC and Legacy BTC nodes — for example, because the receiver of a transaction retransmits that transaction — the transaction may be valid on both chains. This is called a “replay attack.”

As such, spending coins on one end of the chain could make you accidentally spend the equivalent coin on the other side of the chain. Instead of paying someone only in 148 BTC, you may unintentionally send Legacy BTC as well, or vice versa. 148 BTC and Legacy BTC are initially “stuck together.”

The best way to prevent replay attacks is simple: Do not send any transactions. At least not until it is clearer to everyone what the post-fork situation looks like.

After the Chain-Split

In case of the BIP 148 UASF, it is a bit hard to say what “after the chain-split” actually means.

If the 148 BTC chain gets more accumulated proof of work, it should be the only chain to survive, and the split would be over. All 148 BTC would then simply be bitcoins (BTC) again.

But if that doesn’t happen fast, and even if the 148 BTC chain appears non-active, a chain-split could, at the very least, linger for a while. Miners could start mining on that chain at any time. As such, the 148 BTC chain can in theory always wipe out the Legacy BTC chain.

And there are also possible scenarios where the two chains — 148 BTC and Legacy BTC — coexist. What’s more, even a scenario where more than two chains emerge can’t be taken out of the equation. In these scenarios, you will have coins on both (or all) sides of the fork.

But as mentioned, it will be tricky to spend coins on one chain without accidentally spending the equivalent on the other(s). And the bad news is that splitting these coins can be a bit complex. (It will require freshly mined or double-spent coins.)

The good news, however, is that some exchanges will likely set up coin-splitting services and take care of most of the complexity behind the screens. You’d just need to send your bitcoins to an exchange, and the exchange will credit your account with 148 BTC and Legacy BTC. (They should even replay the transaction for you to make sure they indeed receive both your coins.) At that point, if you want, you will be able to sell or trade your coins.

If the split persists, there should be wallets for both coins soon enough. Of course, you may need to upgrade your existing wallet or download a new wallet if and when this happens. This outcome also remains to be seen. Do not accept any transactions on your wallet before this is clear.

Further specifics on what to do after a coin-split will be announced on Bitcoin Magazine (and most likely on bitcoin.org and other sources of information) if and when a coin-split occurs and we have a better understanding of the post-fork situation.

So, to Recap ...

  1. Control your private keys.

  2. To be on the safe side, avoid any transactions on and shortly after August 1st. (How “shortly after” depends on what happens.)

  3. If there are still two chains when the dust settles, split your coins into different wallets.in_case_of_148_uasf2.width-800.jpg

Sort:  

thanks for the info

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://bitcoinmagazine.com/articles/bitcoin-beginners-guide-surviving-bip-148-uasf/