Difference between revisions of "Bitcoin instalasi bitcoind di ubuntu"

From OnnoWiki
Jump to navigation Jump to search
Line 14: Line 14:
 
  bitcoin-cli stop
 
  bitcoin-cli stop
 
  bitcoin-cli help
 
  bitcoin-cli help
 +
 +
Di atur cron
 +
 +
crontab -e
 +
@reboot bitcoind -daemon
 +
 +
  
 
==Lokasi File==
 
==Lokasi File==

Revision as of 10:40, 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/