Related Posts Plugin for WordPress, Blogger...

Wednesday, 31 May 2017

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

http://ift.tt/2snP01Q

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

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 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 can be 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:

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 one option. This option, however, is only really secure if you follow strict security precautions, which you can find here. Another option is to get 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.

Additionally, a BIP 148 full node wallet gives you some extra security if you want to be on the 148 BTC chain and accept 148 BTC. More on that below.

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 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 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 on or after August 1st, the 148 BTC chain becomes the chain with most accumulated proof of work, the Legacy BTC chain will completely disappear, and the situation will be resolved as only the 148 BTC chain would be left. It will have conclusively 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 a risk that the Legacy BTC chain can theoretically be overtaken and disappear entirely. That chance should decrease as time goes on, but will realistically exist for days and maybe even weeks or longer — even if not a single block is found on the 148 BTC chain for a while.

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

Buying, accepting or holding 148 BTC will be a bit safer, though still risky. 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 and a potentially hostile environment, it’s probably a bit 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 do want to accept 148 BTC, you need to run a BIP 148 full node as a wallet. You can find more information about that here.

On top of the Legacy BTC disappearing, there is a second big risk: replay attacks.

Unfortunately, BIP 148 currently does not include “replay protection.” This means that 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 Legacy 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 — theoretically, even after months.

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.

This article will be updated as news develops.


The post A Bitcoin Beginner’s Guide to Surviving the BIP 148 UASF appeared first on Bitcoin Magazine.



via Bitcoin Magazine http://ift.tt/2rphnzE

No comments:

Post a Comment