Difference between revisions of "Bitcoin instalasi bitcoind di ubuntu"

From OnnoWiki
Jump to navigation Jump to search
(Created page with " sudo apt-add-repository ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get install bitcoind")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
  sudo apt-add-repository ppa:bitcoin/bitcoin
+
  sudo apt-add-repository ppa:bitcoin/bitcoin -y
 
  sudo apt-get update
 
  sudo apt-get update
 +
 +
Opsi untuk instalasi
 +
 +
sudo apt-get install bitcoin-qt
 
  sudo apt-get install bitcoind
 
  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/

Latest revision as of 05:40, 20 November 2017

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/