Tagged Questions

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

0
votes
2answers
27 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
16 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
31 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
39 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
25 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
49 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
47 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.
2
votes
1answer
41 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
20 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
29 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
32 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
38 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
39 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
58 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
26 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
181 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
31 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
16 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
36 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
29 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
44 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
63 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
42 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
26 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
167 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
56 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
40 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
28 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
42 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
36 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
31 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
108 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
33 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
28 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
50 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
89 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
45 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
43 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 ...
4
votes
1answer
205 views

What does “Safe mode: Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues.” mean?

My bitcoind client that runs on testnet has started returning a lot of errors today. It has been doing so for a few of hours (as of 2014-08-29 9:50 UTC). When I call it via RPC, I get the following ...
2
votes
0answers
46 views

Maximum number of transactions in wallet.dat for Bitcoin Core

I know that a large number of key pairs in wallet.dat is not a concern. But is having too many transactions in wallet.dat an issue? Can Bitcoin Core start crashing after it reaches a certain number ...
3
votes
1answer
140 views

Are all private keys required to create a multisig bitcoin address

Do all 3 private keys in a 2-of-3 multisig wallet have to exist on the same device at some point in order to generate the bitcoin address? It would be ideal if the 3 private keys never existed on the ...
1
vote
1answer
27 views

Test in a box duplicating addresses how come?

I copied the whole directory for bitcoin data and then ran two instances one for the first directory and the other for the copied one, and then I generated a new address from the old instance go to ...
0
votes
1answer
68 views

Blockchain command line tools

I was under the assumption that the bitcoind server allowed you to query the blockchain and run commands like bitcoind getbalance on any address. I'm finding out that you may query addresses in your ...
1
vote
2answers
37 views

Importing keys to a brand new wallet

After I imported keys to the brand new wallet I tried to test that it is imported properly so I ran salvagewallet command to verify my new wallet but got these errors! 2014-08-21 12:17:28 WARNING: ...
2
votes
2answers
112 views

Transactions within orphaned blocks

Scenario: You are running a bitcoind node and listening to the incoming blocks/transactions. You receive TX 1 which is put into your mempool. Block A is mined, and includes TX 1, which is ...
0
votes
0answers
28 views

Bitcoind sync status at ~block 206286

I installed bitcoind on an ubunto server. If I execute bitcoind getinfo, I get the following output: ...
0
votes
1answer
54 views

IsCanonicalPubKey method in Bitcoin Core source

In my logs I see that I keep getting: ERROR: Non-canonical public key: compressed nor uncompressed This error is thrown from inside the method: bool IsCanonicalPubKey(const valtype ...