Questions tagged [bitcoind]

This tag should be used for questions related to bitcoind, the command-line software for Bitcoin Core. It stands for "Bitcoin Daemon" where a daemon is any computer process which runs in the background ("service" in Windows terminology).

Filter by
Sorted by
Tagged with
8
votes
2answers
650 views

How old should be my bitcoins to send them again without transaction fee?

I'm making some test for a bitcoin merchant webpage. I want to test different actions without paying transaction fees everytime, but I can't since I use the same few bitcoins for everything. Sooo how ...
8
votes
1answer
320 views

With peerblockfilters=1 hundreds of "btcwire 0.5.0/neutrino" connections are downloading TB from my Bitcoin node

I run Bitcoin Core 0.21.0 from a data center, unmetered, with compact block filters enabled (blockfilterindex=1 peerblockfilters=1). Soon after the restart, I get a huge number (140-200) of ...
8
votes
1answer
6k views

How to configure bitcoind in Arch Linux

Ok, well I've been watching the Bitcoin trend with some interest for several years. And I've finally decided to get involved myself. So yesterday and today I've been reading for several hours from the ...
8
votes
1answer
1k views

bitcoind and onion listening

I would like to get Bitcoind to advertise that it is listening on an onion address. However, I do not want to have Bitcoind use a tor socks proxy to connect. I have a special router for tor ...
8
votes
2answers
2k views

Ubuntu bitcoin PPA

Since bitcoin is a software package that involves "real" money (inasmuch as any currency is "real"), I know there are major incentives for unscrupulous people to build backdoors into software related ...
7
votes
9answers
7k views

How to communicate between Java and bitcoind?

I am having problems communicating between Java and bitcoind - every JSON RPC library I try has some issues. Can anyone provide a working implementation of even the most basic JSON RPC communication ...
7
votes
3answers
2k views

How to know when a payment has been received by bitcoind?

I want to create a website which involves the creation of a new single-use address that a user would send bitcoins to. I'd like to know programmatically when the user has sent bitcoins to the address ...
7
votes
7answers
11k views

How to get unspents for a specified bitcoin address?

I want to access unspent data of a specific bitcoin address. I am trying this command bitcoin-cli -regtest listunspent "some bitcoin address" But I am always getting an empty list. I am using local ...
7
votes
1answer
2k views

Safely interrupt -reindex?

My database became corrupted and I had to reindex: bitcoind --daemon -reindex It takes my computer quite some time and CPU power. It's been running for an hour but it will take at least 4 more hours ...
7
votes
2answers
1k views

Does assumevalid lower the security of Bitcoin?

Bitcoin's assumption was to download the blocks and verify it in order to prevent getting fooled. But by default, the assumevalid option is enabled in the software, which, as I understand it, makes ...
7
votes
3answers
2k views

Is it safe to run bitcoind on another server

I'm making first, rough concepts of some ideas for bitcoin-enabled services I have in mind. One thing that I wonder is, is there a best-practise approach on running bitcoind on another server that ...
7
votes
1answer
372 views

List transactions *relayed* by my full node?

Running Bitcoin Core full node 24/7, with 70+ peer connections. Is there a bitcoin-cli command that will let me see the transactions that my full node has relayed from its SPV "clients"? FWIW, I can ...
7
votes
1answer
4k views

Receive money in regtest mode

I am working on a app in which my project communicates with the bitcoin server to get the details of a transaction with transaction id as the parameter. I have bitcoind, bitcoin-cli and bitcoin-qt ...
7
votes
2answers
3k views

Add a Watch-only Wallet in Bitcoind

When running bitcoind under OSX/Linux, how can we add a watch-only wallet using the JSON RPC? Do we need the public key or is the bitcoin address sufficient?
7
votes
2answers
3k views

How to check if an output has been spent?

Using an rpc client (e.g. bitcoin-cli), for a given transaction and index of an output of it, how can I tell if the output is currently an utxo, or if it has already been spent? In the latter case, I'...
7
votes
3answers
9k views

How can I export all my private keys using bitcoind?

I know that PyWallet has a -dumpwallet but without using pywallet, how can I export all the addresses and privatekeys with the stock bitcoind? Is there an API command that lists all addresses held by ...
7
votes
3answers
3k views

How does SatoshiDice operate with 0 confirmations?

I understand they use your bet as an input, but what does that mean and how do they do it? Can they use the standard bitcoind as a server against which to run the API from?
7
votes
3answers
14k views

Mining pool software for home use

I have tried to set up a mining pool with my home computers. I am running bitcoind on one machine, and the others, also running bitcoind, were started with --url and --userpass to my central bitcoind ...
7
votes
1answer
3k views

How to tell bitcoind to use more memory and CPU

I just updated my node to 0.12 and its going through its long verification process but I noticed that its not using very much memory/cpu pi 602 10.5 19.4 352220 184312 ? Ssl 21:57 1:...
7
votes
1answer
3k views

Is it possible to create bitcoind regtest network on Ubuntu (which itself is on Virtualbox)?

I am getting into Bitcoin development and it seems that bitcoin regtest mode is perfect for testing our applications. I am trying to create a network, following Fred Tingey's answer but, ...
7
votes
2answers
3k views

Calculating address balance

Is there some method how you can calculate the balance of an address without resorting to web-based API's? When I import a private key the rescanning of bitcoind takes hours. I know to get a balance ...
7
votes
2answers
1k views

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

Hi! I would like to set up a local wallet at my computer, which runs as a daemon. However, the blockchain takes ages to download and every single day it takes quite a lot of time to update the ...
7
votes
2answers
3k views

What is the difference between chainstate and blocks folder?

Is the blocks and chainstate folder store the same blocks data ? How can we read those data using code and display that on the web frontend like the blockchain explorer websites
7
votes
2answers
1k views

How to enable website users to transact with each other using bitcoins?

I have a website which enables users to trade information for a price. The price is calculated based on an algorithm within the website. The website charges a percentage per transaction for the ...
7
votes
1answer
5k views

Is there a way to find how many nodes are there?

As a single bitcoind node I can only detect how many connected peers I have. Is there a way to have a vision of the whole bitcoin network?
7
votes
1answer
1k views

How can I find the "real" difficulty on testnet?

As is well known, testnet has a "20-minute rule": if no block is found within 20 minutes, the mining difficulty drops to 1 until a block is found. From some experimentation, it appears that bitcoind'...
7
votes
4answers
2k views

importing all blkXXXXXX.dat

I've moved my bitcoind process to a new server, I made a backup of my .bitcoin folder (I'm using linux). I would really like to avoid downloading the whole blockchain again. What's the right way to ...
7
votes
2answers
1k views

How often should I call getblocktemplate?

I'm building a basic Bitcoin client in c# to better understand the mining protocol. I need help understanding Getblocktemplate. I have read the Getblocktemplate wiki, but I'm still having an issue ...
7
votes
1answer
648 views

How peer discovery works after connecting to hardcoded nodes?

I am tinkering with the bitcoin source code and trying to understand the exact working of peer discovery mechanism in the testnet mode for which I have made the following changes: Disabled the DNS ...
7
votes
3answers
8k views

Sending bitcoins programatically without running a node [duplicate]

How can I send bitcoins in my web app without running the daemon on my server? Is there a way to do it? Do third parties allow you to send through them?
7
votes
1answer
329 views

How to do precise accounting with bitcoind?

I'm considering making a service that would be handling user deposits in Bitcoins through a server running bitcoind. Upon purchasing something through the service, I want to withdraw the precise ...
7
votes
2answers
699 views

Bitcoind Performance for production usage

Lets say we have one instance of bitcoind running on the production server. And our exchange software/application interacts with it using RPC callbacks for: address generation withdrawal ...
7
votes
1answer
4k views

Bitcoin C# .NET API

I am trying to get the address the bitcoins were last owned by or the "from" address, I know that if you send bitcoins back to that address not in all cases will the user actually get them but I still ...
6
votes
5answers
340 views

What is the transaction rate bottle neck?

I recently read (Scalability link) that bitcoin can do 3.3 to 7 transactions per second... I am curious, what is the bottle neck for the transaction rate? Is it verifying the signatures? or maybe it'...
6
votes
4answers
1k views

How do I sort the output of listtransactions "*"?

I am testing some new code, and need to sort the output of listtransactions. Ultimately I need to verify that there are no duplicate txids. How do I output ./bitcoind -datadir=1 listtransactions "*" ...
6
votes
2answers
3k views

Why does gettransaction report me only the receiving address?

Both on "send" and "receive" transactions, the command gettransaction gives me the account name, and the receiving address, ignoring the send address. Why should I care about receiving address in a "...
6
votes
1answer
1k views

Is there a way to only sync up to a certain block?

I am planning on doing some transaction analysis on the blockchain, however, I only want to do it on a small part of the blockchain first and then run it on the full blockchain later on. I have ...
6
votes
1answer
829 views

Can I run p2pool with a thin bitcoin client?

Everytime I restart my mining machine due to heat, I have to wait the following sequence to mine at p2pool: bitcoind -> download blockchain & rescan -> p2pool -> download shares -> ...
6
votes
2answers
2k views

Is it possible to send coins WITHOUT importing private key?

I have a cold storage wallet that I periodically move funds into. I want to be able to send funds out of the wallet quickly. Right now, I have to keep a clean VM up with the full blockchain, then ...
6
votes
1answer
243 views

What version of C++ is used in Bitcoin Core?

I can't find the information on which C++ version is being currently used in bitcoin core project? Is it decided for future releases somehow? How does the situation looks now? The only thing I could ...
6
votes
1answer
3k views

What would be the Internet Usage For 100 Antminer S7?

I am planing to set up a mini farm with 100 S7 Miners, but am little concerned about the internet usage and speed. What speed do I need and how much bandwidth it will consume per month?
6
votes
1answer
417 views

Running bitcoin core in a low storage system

I have a machine with ~40GB in storage. The Bitcoin block chain is ~75GB in size, is there any chance to run bitcoind in my system? I mean, can I somehow skip downloading some part of the block chain? ...
6
votes
2answers
6k views

16: mandatory-script-verify-flag-failed (Non-canonical DER signature) (code -26)

I try to send transaction via sendrawtransaction in console of bitcoind. Sig is: ...
6
votes
1answer
3k views

Is there a connections limit on bitcoind?

I don't know if it is a lot or a few, but I see this number of connections: bitcoin-cli getnetworkinfo | grep connections "connections": 66, It does not seem to get over 70, is there an in-built ...
6
votes
1answer
926 views

Does bitcoind accept batch RPC calls?

Am currently sending RPC calls to bitcoind in Python3 in series using JSON: import json, requests def pull(command, foo): headers = {'content-type': 'application/json'} payload = json.dumps({...
6
votes
3answers
3k views

How can I run bitcoind on test and production networks, at the same time, on the same computer?

Bitcoin and Bitcoind will send an error if it is launched multiple times. I'm assuming this is because they share the same database and wallet. Is it possible to run two instances of Bitcoin QT / ...
6
votes
1answer
3k views

What are the hex and asm field values in the JSON decoded from a raw transactions?

I used the command line bitcoin-cli decoderawtransaction <hex-value> and got back a JSON output (see below). However, I noticed there are hex and asm fields that are themselves hex values (at ...
6
votes
3answers
664 views

Are there any clients that allow for multiple wallets and API acccess?

I know that multibit has the capacity to have multiple wallets, but no API access. bitcoind has great API access, but only one wallet. Is there any solution that combines the two?
6
votes
2answers
6k views

How to do mass payouts in my application to multiple addresses at once, or very quickly?

Let's say it's pay day--I've accumulated a lot of bitcoins, and sent them all to a single address. I now want to pay a lot of addresses from this "pool" of coins, say anywhere between 100 and 10,000 ...
6
votes
1answer
149 views

Why does getheaders P2P API return more than getblocks?

I've been reading through the Bitcoin P2P protocol documentation as well as experimenting with Bitcore library but confused about one thing. So getblocks seems to return inventory objects, which are ...

1 2
3
4 5
45