565 tutoriels disponibles
Chercher un tutoriel
Bienvenue
sur Shareannonce
 
Install wallet bitcoin core ubuntu 0.20.0
Ecrit par: Shareannonce
Date création:  04-06-2020
Nombre de vues:  4621
Catégorie:  crypto-monnaie
Note: 
 
   Tutoriel N° 2da

Install wallet bitcoin core 0.20.0 on ubuntu 16.04 18.04


Method with sources Jun, 4 2020 ** RECOMMENDED **
Method with ppa 0.19.0 May, 15 2020
Method with snap 0.20.0 Jun, 4 2020 ** RECOMMENDED **
BONUS: PRUNE YOUR NODE



Bitcoin core 0.20.0, install with sources Jun, 4 2020 ** RECOMMENDED **

nano install_bitcoin_qt.sh


#!/bin/sh
sudo apt-get update -y
sudo apt-get install git -y
mkdir -p src && cd src
git clone https://github.com/bitcoin/bitcoin.git
ls bitcoin
sudo apt-get install build-essential -y
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
echo '12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef db-4.8.30.NC.tar.gz' | sha256sum -c

tar -xvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
mkdir -p build
BDB_PREFIX=$(pwd)/build
../dist/configure --disable-shared --enable-cxx --with-pic --prefix=$BDB_PREFIX
make install
cd ../..
sudo apt-get install autoconf libtool pkg-config libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libevent-dev libqt4-dev libcanberra-gtk-module -y

cd ~/src/bitcoin/
# https://bitcoincore.org/bin/ check the last version
# git checkout v0.19.1
git checkout v0.20.0
./autogen.sh
# https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools -y
sudo apt-get install libqrencode-dev -y
./contrib/install_db4.sh `pwd`
./configure CPPFLAGS="-I${BDB_PREFIX}/include/ -O2" LDFLAGS="-L${BDB_PREFIX}/lib/" --with-gui --disable-wallet
make


To install it, write in a terminal:

sh install_bitcoin_qt.sh


To launch it, write in a terminal:

cd ~/src/bitcoin/src/qt && ./bitcoin-qt





Method with ppa 0.19.0 May, 15 2020

sudo add-apt-repository ppa:luke-jr/bitcoincore
sudo apt-get update
sudo apt-get install bitcoin-qt bitcoind


To launch it, write in a terminal:

bitcoin-qt



Method with snap 0.20.0 Jun, 4 2020 ** RECOMMENDED **

sudo apt-get update -y
sudo apt install snapd
sudo snap install bitcoin-core


return:

bitcoin-core 0.20.0 from Bitcoin Core installed

To launch it
Close session and write in a terminal:

bitcoin-core.qt



BONUS: PRUNE YOUR NODE

source: https://twitter.com/CoinCornerDanny/status/1268541672406896644?s=20



Additional tip if you don't have storage space.

1. Settings -> options -> tick "prune block storage" and set to 5 GB
2. Restart wallet

Now you only have to store 5GB of the latest bitcoin blockchain data



Speed up initial sync!

Additional tip to speed up your initial sync if you have enough RAM.

1. Settings -> options -> increase "size of database cache" maybe to 1000 or 2000
2. Restart wallet

Now your wallet should sync quicker

Ressources:
https://bitcoin.org/en/download




 
 
   Autres tutoriels de la même catégorie >
 
ShareAnnonce version 2.0 Tous droits reserves. | Condition d'utilisation | Contact