LoginSignup
2
1

More than 3 years have passed since last update.

Bitcoin Coreのupgrade方法(Ubuntu)

Last updated at Posted at 2017-02-10

背景

bitcoindを長いこと起動していなかったのですが、久々に起動したところ、getinfoをした時に「URGENT: Alert key compromised, upgrade required」というエラーが発生していました。原因はbitcoin coreが最新版になっていなかったことです。0.12.0がインストールされていましたが、0.13.0よりAlert機能がなくなったため、Alert機能に関してエラーが発生していました。

upgradeをすれば良いわけですが、upgradeについて書かれたページが簡単に見つからなかったので、手順をここに記す。

環境

OS : Ubuntu15.04 Desktop
Bitcoin Core: 0.12.0から0.13.0以上にアップグレード

手順

基本的に通常のインストールで上書きをすればよい。

1)データのバックアップ
~/.bitcoin/のバックアップを取る

2)PPAの追加

sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update

3)ビットコインコアのインストール

sudo apt-get install bitcoin-qt

4)うまくアップグレードできなかったので、cliとデーモンを直接インストール

sudo apt-get install bitcoind
sudo apt-get install bitcoin-cli

これでOK!

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1