Bitcoin instalasi bitcoind di ubuntu

From OnnoWiki
Revision as of 05:40, 20 November 2017 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
sudo apt-add-repository ppa:bitcoin/bitcoin -y
sudo apt-get update

Opsi untuk instalasi

sudo apt-get install bitcoin-qt
sudo apt-get install bitcoind
sudo apt-get install bitcoind bitcoin-qt

Menjalankan

Tunggu agak lama untuk menjalakan bitcoind pertama kali, karena harus mendownload semua transaksi bitcoin dari awal.


bitcoind -daemon
bitcoin-cli getblockchaininfo
bitcoin-cli getnetworkinfo
bitcoin-cli getnettotals
bitcoin-cli getwalletinfo
bitcoin-cli stop
bitcoin-cli help

Di atur cron

crontab -e
@reboot bitcoind -daemon


Lokasi File

cd ~
.bitcoin/blocks/index
.bitcoin/blocks
.bitcoin/database
.bitcoin/chainstate
.bitcoin/