Open askming opened 2 years ago
Bitcoin Core keeps a full copy of the transaction ledger (blockchain), with every transaction that has ever occurred on the bitcoin network since its inception in 2009. This dataset is several gigabytes in size (approximately 16 GB in late 2013) and is downloaded incrementally over several days. The client will not be able to process transactions or update account balances until the full blockchain dataset is downloaded. During that time, the client will display “out of sync” next to the account balances and show “Synchronizing” in the footer. Make sure you have enough disk space, bandwidth, and time to complete the initial synchronization.
bitcoind
on Linux.autogen
creates a set of automatic configuration scripts that will interrogate your system to discover the correct settings and ensure you have all the necessary libraries to compile the code.configure
command will create the customized build scripts that will allow us to compile bitcoind.make
to compile the softwaremake install
/usr/local/bin
.
git checkout vxx.xx
./autogen.sh
./configure
make
sudo make install
-daemon
: $ bitcoind -daemon
$ bitcoin-cli help
$ bitcoin-cli getinfo
: displays basic info about the status of the bitcoin network node, the wallet, and the blockchain database.$ bitcoin-cli encryptwallet password
bitcoin-cli walletpassphrase password 360
$ bitcoin-cli getnewaddress
$ bitcoin-cli getaddressbyaccount
$ bitcoin-cli listtransactions
$ bitcoin-cli getreceivedbyaddress some-address 0
$ bitcoin-cli getbalance
Constructing a transaction
Bitcoin mining