Hot answers tagged

5

getinfo is now deprecated. Use getblockchaininfo instead: bitcoin-cli -testnet getblockchaininfo I don't have 50 reputation to comment. Otherwise, I would've added this as a comment.


3

You can build your miner with a bash command: $ while true; do bitcoin-cli -regtest generate 1; sleep 300; done You'l get a block every 5'. If you want a better simulation of mainnet you could use a rndom sleep


3

The init scripts can be found here: https://github.com/bitcoin/bitcoin/tree/master/contrib/init.


1

This may be connected to the fact that Berkeley DB can't be built on Ubuntu 18.10: Can’t build Berkley database on ubuntu 18.10. During call to make install getting error: definition of ‘int __atomic_compare_exchange(db_atomic_t*, atomic_value_t, atomic_value_t)’ ambiguates built-in declaration ‘bool __atomic_compare_exchange(long unsigned int, volatile ...


1

I finally end up with this setting for my raspberry nano /etc/systemd/system/bitcoin.service content of the file bitcoin.service [Unit] Description=bitcoin After=network.target [Service] Type=forking User=pi Group=pi Environment=BITCOIN_PID=/home/pi/.bitcoin/bitcoin.pid Environment=BITCOIN_HOME=/home/pi/.bitcoin ExecStart=/usr/local/bin/bitcoind ...


1

tail -f .bitcoin/debug.log You will see the progress % in the end of every line. 2019-05-21T15:53:22Z UpdateTip: new best=00000000000007463022a75f47fbce4832d885cccfddc66b9ae6d332888f825d height=181720 version=0x00000001 log2_work=68.184645 tx=3482689 date='2012-05-26T22:08:18Z' progress=0.008422 cache=256.7MiB(1838887txo) Here, in case you did not find it ...


Only top voted, non community-wiki answers of a minimum length are eligible