bitcoind is the command-line interface for Bitcoin. It stands for "Bitcoin Daemon" where a daemon is any computer process which runs in the background ("service" in Windows terminology). bitcoind connects to the Bitcoin network and passes transactions, updates the block chain, etc.

learn more… | top users | synonyms

2
votes
0answers
26 views

When does the “reject” string have an empty reject reason upon submitting a new block?

I submitted a new block using the rpc command submit. And I just got a "reject" string without a reject reason. I checked the bitcoind source code, and found that it usually sends a reject reason; ...
1
vote
0answers
22 views

Bitcoin, detecting deposits to the node.js server (code review)

I'm trying to detect deposits that user will made. I explained it with comment lines in below. Can you are there any flaw in it? var _ = require('underscore') var check = function(client, site) { ...
1
vote
1answer
49 views

bitcoind JSON-RPC interface timeouts under unit tests

I am running unit tests against bitcoind which do JSON-RPC requests in high rate. Random failures are an issue. E.g. if you have something like this in printconsole logs: ThreadRPCServer ...
1
vote
1answer
31 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 ...
2
votes
0answers
25 views

Proving the address belongs to a shared wallet where one can control some deposits and withdrawals

A bitcoin exchange is using a shared web wallet where its users deposits and withdraw bitcoins. The withdrawal transactions are merged, so that the pending transactions of several users are grouped ...
0
votes
1answer
41 views

NoClassDefFoundError when using Java Coinbase API

I've simply downloaded an API .jar file of a Coinbase. I've created a project dynamic web project. I added successfully into a reference library that API. Here is my simple program: import ...
2
votes
1answer
58 views

What exactly are the rev00000.dat files?

I've been looking at the on disk structured generated by the standard bitcoin-qt client. It looks to me that the rev?????.dat files are reverse application for blocks? So I imagine every single spent ...
1
vote
0answers
40 views

Querying insight-api to dump all addresses with a positive balance

It's been some time I've been using 'insight-api' (https://github.com/bitpay/insight-api) and I couldn't find any documentation / anything helpful to query leveldb in a way that all addresses with a ...
1
vote
1answer
21 views

Bitcoind fails to start on Centos 5.8

When I try to start bitcoind on Centos 5.8 I immediately receive the following error: bitcoind: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by bitcoind) bitcoind: ...
0
votes
2answers
55 views

Bitcoind confirmations during fork

I'm using bitcoind's JSONRPC interface to get transaction information for my wallet, specifically, I'm running a little script every time a block gets broadcast (using -blocknotify) which calls the ...
0
votes
1answer
24 views

Why am I not getting payments on my bitcoind on an amazon ec2 instance?

I have an amazon ec2 instance running a web server, MySQL server, and bitcoin daemon on ubuntu 14.04, and I ran ./bitcoind getnewaddress and the output was an address. I sent a few cents worth of ...
1
vote
1answer
34 views

where is the code about sending command getblocks in bitcoin source code

I am reading the protocol part. One silly question. I found the part processing getblocks part, but i did not find when and where to send the getblocks command.Or it is deleted in the new bitcoin ...
2
votes
1answer
50 views

Security: Blockchain.info vs bitcoind

I want to set up a website that needs an online bitcoin wallet (able to deposit and withdraw at any time). Would it be better to use the blockchain.info's infrastructure through API commands or should ...
0
votes
1answer
46 views

rpcallowip=192.168.0.* ?? invalid configuration

I recently downloaded bitcoin from github and changed the settings to allow for rpc. This is how I have it: rpcallowip=192.168.0.* This does not work anymore. However when running bitcoind, it ...
0
votes
1answer
58 views

OP_RETURN transaction doesn't go to the blockchain

I created transaction with OP_RETURN adding some information. Even though transaction hash created successfully, the transaction doesn't go to blockchain properly. Could you please help me to do this ...
1
vote
1answer
54 views

C++ code for traverse though all the blocks in blockchain?

In my project for one particular functionality, I want to traverse through all the Transactions. For that purpose I want to traverse through all the blocks in blockchain.
4
votes
2answers
71 views

Bitcoind transaction data verification

I find myself a victim of either my poor googling skills, or the lack of detail in the bitcoind docs. I have a walletNotify script running on a full node that whenever a transaction to / from my ...
0
votes
1answer
37 views

Decode blocks received and Store in another file for analyzing

I am working on a bitcoin research project. I want to decode receiving blocks from the block chain and store decoded data in a separate file for analyzing purposes. For this purpose I digs the ...
1
vote
1answer
54 views

JSON RPC calls for Armory wallet

I'm trying to access an armory wallet via RPCs. For instance using the procedure listreceivedbyaddress should ideally return all of the addresses in my Armory wallet. However, when I run this from my ...
1
vote
1answer
37 views

What is the easiest way to associate an utxo to a specific account?

I'm building a web application that uses bitcoind's accounts to track user balances. My dev env is currently in regtest mode. I am working on calculating the network transaction fee prior to creating ...
1
vote
1answer
57 views

Difference between bitcoin-tx, bitcoin-cli, and bitcoind?

I just pulled from the bitcoin github and compiled, and noticed that there were three executable generated: bitcoin-cli bitcoin-tx bitcoind I have not heard of bitcoin-tx before, what is it? ...
1
vote
1answer
43 views

Which part of code (function) handles received transactions?

I was trying to understand the flow of control between functions (operations performed and their order) when a transaction is received.
0
votes
1answer
68 views

Insert data to transaction with OP_RETURN

This might be a possible duplicate with this. I want to know a proper way to insert additional string with OP_RETURN and retrieve the transaction from block chain and decode it accordingly. Thank ...
1
vote
1answer
31 views

How does serializing in coins.h work?

I'm talking specifically about this: /** pruned version of CTransaction: only retains metadata and unspent transaction outputs * * Serialized format: * - VARINT(nVersion) * - VARINT(nCode) * - ...
2
votes
1answer
231 views

How to add additional information to transaction?

I want to add some additional information to my specific transaction, so that I can send the additional information to blockchain.
0
votes
0answers
37 views

How safe is sending out transactions using unconfirmed inputs for a service?

I've been running into problems with a high-traffic hot wallet, where a single transaction would lock up any input for a block with the spendzeroconfchange disabled. Would it be safe for a service ...
0
votes
0answers
28 views

bitcoind importaddress balance

I am trying to do some tests using multisig transactions without importing the private key in bitcoind (watch only addresses). Bitcoind runs in regtest mode. These are the steps I have done: ...
1
vote
1answer
49 views

How to get the number of the confirmed transactions from Bitcoin QT Rpc

We are building a generic wrapper around Bitcoin-Qt. I wonder if there is way to get the information about the confirmation count of a transaction from a Bitcoin-QT having an empty wallet using the ...
0
votes
1answer
42 views

Bitcoind transactions in regtest mode always fail with -25 error

I have a problem trying to make a transaction using bitcoind/bitcoin-cli in regtest mode (I do not know if it works in other modes). bitcoin-cli -regtest createrawtransaction '[{"txid" : ...
1
vote
3answers
52 views

Running bitcoind getaccountaddress

When I run bitcoind getaccountaddress I get this error error: {"code":-1,"message":"getaccountaddress \"account\"\n\nReturns the current Bitcoin address for receiving payments to this ...
0
votes
1answer
71 views

Bitcoinj always gets 0 balance

I am trying to use Bitcoinj for my app. I am using regtest mode. I have a balance of 42 BTC on my account: bitcoin-cli -regtest getbalance mirko3 -> 42.00000000 My code follows: public class ...
2
votes
1answer
55 views

RPC addmultisigaddress call

I tried the following RPC call via the debug window: addmultisigaddress 2 '["0304a7aadeb1ae96482a10fa634825d86d80dbad8d43cd9177664eaf6f0ff7d890", ...
1
vote
0answers
143 views

Why are double-spends bad? [duplicate]

In the answer to this question it is stated the bitcoind filters doublespends. What is the reasoning behind this?
0
votes
1answer
40 views

How do I run Armory Testnet on Win7 x64 using Bitcoin Core 0.9.3 using remote datadir?

Trying to use the testnet which I have no problems with using Bitcoin Core 0.9.3 with command: Bitcoin-qt.exe -testnet -datadir=f:\data\bitcoincore But running Armory using the Testnet icon attempts ...
2
votes
1answer
181 views

Motivation to run full nodes

I'm sorry if I ask a stupid question. Bitcoin network was conceived by Satoshi Nakamoto as a decentralized network, but now we are seeing the full centralization of nodes in the United States. The ...
1
vote
2answers
65 views

How to Create a new Genesis Block with some bitcoins initially asigned to some users?

I am trying to use Bitcoin's code for some other application. Is it possible to create a genesis block so that I can initially assign some coins (bitcoins) to some users. For e.g. The Genesis Block ...
0
votes
1answer
53 views

Blockchain Parser not working on blockchain generated in regtest mode using bitcoind. Any help?

Has anyone used this blockchain parser for Bitcoin https://code.google.com/p/blockchain/ ? http://codesuppository.blogspot.in/2014/01/a-command-line-interface-for-blockchain.html I tried to parse ...
0
votes
1answer
38 views

Allowing bitcoind startup script to access daemon commands

I'm trying to create multiple full nodes on a single machine each using a different data directory and static ip's. My directory layout is ~/bitcoin1 ~/bitcoin2 ~/bitcoin3 For each ...
0
votes
0answers
48 views

Bitcoin tutorial for beginners. [duplicate]

I am new to bitcoin and trying to learn it in hard way, but the problem is that i couldn't find any good tutorial site that teaches bitcoin for the beginners. Can you please help me to identify such ...
2
votes
1answer
48 views

Can I transfer bitcoins generated in regtest mode to a friend?

I am running Bitcoin in regtest mode. Is it possible to send bitcoins generated in regtest mode to a friend ? (I only want to test it). Is it possible ?
1
vote
1answer
94 views

Can you switch the method of blockchain download?

I torrented bootstrap.dat and used am using it to populate the blockchain. It is close to being complete, but my server has ran out of room. There is room for one copy but not enough for two. Is it ...
2
votes
1answer
40 views

How secure is calling bitcoind JSON-RPC from same computer?

I am wondering if calling JSON-RPC from the computer it is running on is secure. I read How secure is calling bitcoind JSON-RPC? and understand why it is insecure to do so from a different computer. ...
0
votes
1answer
36 views

Does outbound port have to be open to make an Json-RPC call

lets say i am making a json-rpc call with the following connection : $connect = new jsonRPCClient('http://user:password@ipaddress:9332'); does outbound port 9332 of the sender need to be open as ...
1
vote
1answer
139 views

JSON-RPC call to bitcoind error, 403 failed to open stream

I am trying to make a json-call to a VPS server that hosts my wallet and it is failing with the following error message : Warning: fopen(http://user:pass@ip:port): failed to open stream: HTTP ...
0
votes
1answer
41 views

What does this mean? RPC_CLIENT_NOT_CONNECTED = -9, // Bitcoin is not connected

I'm building a service which does some automatic Bitcoin transactions and balance checking. In the system I now created some logging, which told me that my bitcoind daemon (running on Ubuntu 14.04 ...
0
votes
0answers
34 views

Bitcoind randomly stops downloading the blockchain

I have bitcoind running from a 2 GB CentOS 6 box in order to check balances of addresses. The problem is that it just randomly stops downloading the blockchain sometimes, and I have to use ./bitcoind ...
1
vote
1answer
61 views

How does the Clearing & Settlement process work in Open Transaction [duplicate]

From what I have read and understood. As open transaction platform uses coloured coins. The issuer of the coloured coin can associate it with a particular asset: like a ticket to a concert, or gold or ...
2
votes
1answer
94 views

Bitcoin payout based on real-life event

Just starting to learn bitcoin scripting. Can someone explain how to pay out based on some real-life event? I currently test from the command line with bitcoind -regtest
0
votes
2answers
55 views

getbalance not working

I am getting this error when I type getbalance: error: {"code":-1,"message":"std::bad_alloc"} Basically, I type getbalance and wait for about 2 minutes and this error appears finally. What does it ...
1
vote
1answer
45 views

Running Multiple Full Nodes on one Host

simple question. I would like to run several full nodes for Bitcoin, Litecoin, Darkcoin and so on, but don't they run on the same port (8333)? Will this just work or do I need to give them several ...