Hot answers tagged

12 votes

Ubuntu Linux -- How do I start bitcoind as a service to run automatically?

There's an upstart script for Ubuntu in the Bitcoin Core source tree. Using that is the most correct way. However, I just login as the user account I want to run Bitcoin Core daemon, start a ...
user avatar
8 votes
Accepted

What is the key differences between bitcoin-qt, bitcoin-cli, bitcoind, bitcoin rpc, and daemon?

All of those things are part of the same program, Bitcoin Core. bitcoin-qt: The GUI version of Bitcoin Core. Most users will use this as it provides a nice Graphical User Interface that uses the Qt ...
user avatar
  • 62.3k
7 votes
Accepted

Bitcoin-cli how to get balance of a wallet on different node?

You cannot because Bitcoin Core does not store such information. Bitcoin Core does not store all information for all addresses, it only stores information for its own addresses and the lower level ...
user avatar
  • 62.3k
6 votes
Accepted

Is bitcoin-qt using bitcoind? or bitcoind is already built in the bitcoin-qt wallet?

Bitcoin-qt does not run bitcoind as a daemon. If you check the running processes after you launch bitcoin-qt, you will not see bitcoind being launched. They both utilize the same "Bitcoin Core" ...
user avatar
  • 2,062
5 votes
Accepted

Reserve the connection for local wallets

Bitcoin Core allows you to bind a separate listening socket with specific white listing properties. It has enhanced transaction relaying for use as a gateway and an immunity to banning for bad ...
user avatar
  • 15.1k
4 votes
Accepted

rpc json outside localhost

The listen option is for the P2P network connection, not the RPC service. The option you want is rpcallowip=<ip>. To allow all IP addresses to connect to your node's RPC port, you can use ...
user avatar
  • 62.3k
4 votes
Accepted

How to resolve Bitcoin Daemon Warning of last 100 blocks have unexpected version message?

There is no need to resolve anything - some miners create arbitrary versions to attempt to speed up the mining process, as it gives them an additional field in the block block header to alter without ...
user avatar
  • 16.5k
4 votes
Accepted

How do you run one daemon for multiple users?

bitcoin-cli attempts to read the credentials from $HOME/.bitcoin. Since user2 will have a different home directory, bitcoin-cli will not able to find the credentials. You can either symlink .bitcoin ...
user avatar
  • 16.5k
3 votes
Accepted

Bitcoind list all transactions from all accounts with listtransactions cli command

I would like to receive the transactions of all accounts on my daemon, including the default account. $ bitcoin-cli listtransactions "*" 9999999
user avatar
  • 7,090
3 votes
Accepted

Litecoind answers "getnewaddress" RPC request with "Method not found"

The answer is to recompile the Litecoin daemon, making sure to call the configure script with the --enable-wallet option: ./configure --enable-wallet From there, make and make-install will give you ...
user avatar
3 votes
Accepted

Is there an RPC command that checks for hardforks

There is no way to explicitly know that your node is on a minority-hashrate fork because to do so would mean awareness of all the new rules that makes the majority-hashrate fork valid, and then ...
user avatar
  • 4,676
3 votes

What is the key differences between bitcoin-qt, bitcoin-cli, bitcoind, bitcoin rpc, and daemon?

All belongs to same application (bitcoin-core) You can download it from bitcoin.org bitcoin-qt Qt is a cross-platform application and UI framework for developers using C++. It's is used for UI in ...
user avatar
  • 3,569
3 votes

Ubuntu Linux -- How do I start bitcoind as a service to run automatically?

I finally end up with this setting for my raspberry nano /etc/systemd/system/bitcoind.service content of the file bitcoind.service [Unit] Description=bitcoin After=network.target [Service] Type=...
user avatar
3 votes
Accepted

Bitcoin daemon sends "Empty reply from server" when in test net

I leave it here. Because i spent about two days on it :-o https://github.com/bitcoin/bitcoin/issues/10218 Authentication is not optional. Configuring it yourself is optional, but bitcoind never ...
user avatar
2 votes

How can I run Bitcoind -server in "light mode"?

https://bitcoin.stackexchange.com/a/49273/13941 bitcoind now supports pruning (i.e. not keeping the entire blockchain). However, this is different from SPV, since it still fully validates all ...
user avatar
  • 151
2 votes
Accepted

Mastercoin API - what to use?

I think the most easy way to do this would be through Omniwallet API. mastercoin-tools is deprecated and should not be used. If you want the better security achieved by running a local instance, use ...
user avatar
  • 26.4k
2 votes

How i can delete last block from blockchain? altcoin

You can't delete a block, just mine a new block on top of the previous block, creating a fork. Just reference the parent block as the parent of your new block, and if you mine more on top of your new ...
user avatar
  • 11.4k
2 votes
Accepted

Windows 7 : Unable to start bitcoin server using daemon in regtest : bitcoind -regtest -daemon

In the command line on windows you must type just bitcoind -regtest whitout -daemon
user avatar
1 vote

Why do I have to update my node version if I am up to date?

Your node is not up to date: the latest release of Bitcoin Core is 0.19.1 which is a newer release than 0.19.0.1. You appear to be using a RaspiBolt. The RaspiBolt project's FAQ addresses your ...
user avatar
  • 64.5k
1 vote
Accepted

Why does bitcoin sync inventories?

Pre 0.10 versions synced inventories as it was the way they composed a list of blocks that they then recursively request from the peer. It provides multiple benefits over just asking for all blocks ...
user avatar
1 vote

Bitcoind live wallet backup (by copying wallet.dat)

In some cases, bitcoin-qt/bitcoind may regularly (and even gratuitously) flush the wallet [1], so it's possible that wallet.dat could be in an inconsistent state at the time you make your own copy. ...
user avatar
1 vote

How can I have Bitcoind.exe use the core data from Bitcoin-QT on my D drive. Using Windows 10

There are a few ways to do it one of which is modifying the shortcut as you've mentioned. The easiest way is to create a bitcoin.conf file in %APPDATA%\Bitcoin. That's the default directory bitcoind ...
user avatar
1 vote

Security implications of bitcoin.conf location

I do not see the "necessary" relevance to bitcoin here. File access security is better discussed in unix relevant stackexchange. Still I'd like to share my view with the little bit of bitcoind ...
user avatar
  • 5,026
1 vote

Bitcoin-cli how to get balance of a wallet on different node?

You can download a database dump from blockchair.com at https://gz.blockchair.com/bitcoin/addresses/ The database is updated daily and is contains a balance of satoshis for every address on the ...
user avatar
  • 11
1 vote

Help needed with upgrading bitcoin ABC

Yes, you need to upgrade. You have version 0.16.2, and the 32MB block support was added in 0.17.0. The latest release version is 0.17.2. Your apt-get commands will only work if you originally ...
user avatar
1 vote

Bitcoin cash testnet core crash

Since it works without your wallet file, it is likely that your wallet has some sort of corruption which is causing Bitcoin ABC to error on start. Try starting Bitcoin ABC with -salvagewallet and see ...
user avatar
  • 62.3k
1 vote

Bitcoin-cli - error: couldn't connect to server: unknown (code -1)

Did you confirm that your user trying ti use bitcoin-cli has ownership permissions on the .bitcoin directory? That was what gave me trouble. To fix, I ran: sudo chown username:username /directory/...
user avatar
1 vote

Automatically restart bitcoind on crash

I'm running a RaspberryPi Bitcoin node. Since I discovered that the node had sometimes crashed due to overload, I put an hourly starting command into crontab: @hourly <completePath>/bitcoind -...
user avatar
  • 64.5k
1 vote

Fixing libtool for -rpath problems

That's not an error. Continue by running make, optimally with -j set to the number of cores you have on your system.
user avatar
  • 15.1k
1 vote

How to tell when bitcoin has really stopped running

On linux: ps aux | grep bitcoind Or even: watch ps aux | grep bitcoind But to answer your question slightly differently I'd suggest keeping existing bitcoind running. Then your new node add a ...
user avatar
  • 126

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