Difference between revisions of "Bitcoin instalasi bitcoind di ubuntu"

From OnnoWiki
Jump to navigation Jump to search
Line 3: Line 3:
 
  sudo apt-get update
 
  sudo apt-get update
 
  sudo apt-get install bitcoind
 
  sudo apt-get install bitcoind
 
  
 
==Menjalankan==
 
==Menjalankan==

Revision as of 10:41, 6 November 2017

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

Menjalankan

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/