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 ...
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 ...
7
votes
Accepted
Relation between transaction data and transaction id
Since BIP144, transaction data consists of two parts (normal data and witness data). There are also two distinct transaction serialization formats:
The legacy serialization format, which stores ...
6
votes
Accepted
Which RPC method is used to mine bitcoin?
Which of the following rpc methods is used to mine bitcoin and receive its reward?
None, really.
The primary way of interfacing with Bitcoin Core for mining is through the getblocktemplate (GBT) RPC, ...
5
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 ...
5
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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=...
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 ...
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
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 ...
2
votes
Accepted
Submitblock input parameters similar to getblock?
The input to submitblock is a full serialized block, encoded in hexadecimal.
Block serialization consists of:
The block header (80 bytes)
A CompactSize encoding of the number of transactions
The ...
1
vote
Working with Bitcoin node on Windows as a developer?
I'm a web developer looking to integrate a Bitcoin node into a PHP application and I am unsure how I would go about interacting with the Bitcoin core in a developer environment for my machine.
The ...
1
vote
Bitcoin Core Vs Daemon (Windows 10)
It's the same wallet, data?
This depends on your configuration like -datadir. This can be specified by command line, or something like a registry key value (when you are using Microsoft Windows).
...
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 ...
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 ...
1
vote
Error while syncing with the blockchain on my Raspberry Pi
As @MartinSolie noted, it might be helpful to look into the debug.log file.
Based on what you describe, it sounds like your Bitcoin Core node crashes at some point while synchronizing. You mentioned ...
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.
...
1
vote
Bitcoind daemon: error connecting to the server?
-bash: =: command not found
Leave out the initial dollar symbol when you assign the variable:
NEW_ADDRESS=$(./bitcoin-cli getnewaddress)
Use the dollar symbol when you use the variable:
echo $...
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 ...
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 ...
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 ...
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 ...
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 ...
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/...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
daemon × 67bitcoind × 29
bitcoin-core × 14
json-rpc × 11
wallet × 7
litecoin × 7
server × 7
bitcoin-cli × 6
ubuntu × 5
blockchain × 4
synchronization × 4
ripple × 3
php × 3
balance × 3
windows × 3
compiling × 3
dogecoin × 3
cli × 3
address × 2
bitcoin-cash × 2
blockchain-fork × 2
miner-configuration × 2
full-node × 2
raw-transaction × 2
nodes × 2