Difference between revisions of "Bitcoin instalasi bitcoind di ubuntu"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(4 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 | bitcoind -daemon | ||
Line 14: | Line 21: | ||
bitcoin-cli stop | bitcoin-cli stop | ||
bitcoin-cli help | bitcoin-cli help | ||
+ | |||
+ | Di atur cron | ||
+ | |||
+ | crontab -e | ||
+ | @reboot bitcoind -daemon | ||
+ | |||
+ | |||
==Lokasi File== | ==Lokasi File== |
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/