Questions tagged [bitcoind]

Bitcoind is a program that implements the Bitcoin protocol for command line and remote procedure call (RPC) use.

bitcoind is a program that implements the protocol for command line and use. It is also the first Bitcoin client in the network's history. It is available under the MIT license in 32-bit and 64-bit versions for Windows, GNU/Linux-based OSes, and Mac OS X.

Prior to version 0.5, this service-provider client used a GUI as its default GUI. It is now instead bundled with Bitcoin-Qt.

218 questions
36
votes
3 answers

Here's how to send raw transaction BTC using Bitcoin-cli command

Scenario: Michael receives 0.05000000 BTC from Pablo and another 0.01000000 BTC from Kuradang. Michael also wants to send 0.02500000 BTC to Berteng. Each amount that Michael receives has the corresponding txid and other details. Lets check that out…
Michael Blanza
  • 701
  • 2
  • 7
  • 13
16
votes
1 answer

How to extract all used hash160 addresses from Bitcoin blockchain

I have all 150GB Bitcoin blocks now what? How to open them and read them in Python? I need to extract all used hash160 so far I tried to open them with Berkeley DB but no success it seems these files aren't Berkeley DB and what is the difference…
John Kotkin
  • 191
  • 1
  • 7
10
votes
5 answers

GCP Kubernetes workload "Does not have minimum availability"

Background: I'm trying to set up a Bitcoin Core regtest pod on Google Cloud Platform. I borrowed some code from https://gist.github.com/zquestz/0007d1ede543478d44556280fdf238c9, editing it so that instead of using Bitcoin ABC (a different client…
9
votes
1 answer

Simulate private bitcoin network with random peer discovery

I am looking for a way to simulate a 1000 node bitcoin network on my private LAN/Wifi network. I read the developer's guide: https://bitcoin.org/en/developer-examples#regtest-mode which mentions the regtest mode that works primarily for single…
bawejakunal
  • 1,678
  • 2
  • 25
  • 54
7
votes
3 answers

Canceling a Bitcoin transaction

I am writing a bitcoin app and looking to implement a 'cancel' feature. All over reddit are references that if under 3 confirmation have occurred, technically a payment can be stopped. Maybe only a minute or 2 available, but still. I cannot find any…
brad
  • 870
  • 2
  • 13
  • 38
6
votes
3 answers

Is there a way to send funds from a specific bitcoin address in a wallet?

The first result from Google gave me an answer from 2012 so I wondered if there was a better one than 'use armoury' now? It's fine if I have to decode the raw transactions, I would be grateful if someone could take me through the steps. Thanks in…
derrend
  • 4,176
  • 4
  • 27
  • 40
5
votes
0 answers

Unable to send raw transaction: mandatory-script-verify-flag-failed

When I send a raw transaction I get an error: 16: mandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation) Raw transaction that I…
5
votes
3 answers

List transactions from given address in bitcoind

Is there anyway to list all transactions from given address by using API RPC to bitcoind? Actually, I'm using btcd and most non-wallet functions are the same with bitcoind, but I can't find any methods to do that.
Tam Vo
  • 157
  • 1
  • 3
  • 5
5
votes
2 answers

When does walletnotify event occur on bitcoind

I have configured the walletnotify and the blocknotify event on the bitcoin daemon based on the documentation from https://en.bitcoin.it/wiki/Running_Bitcoin, to know any changes to my wallet. Only the blocknotify is executed and the walletnotify…
Abishek
  • 11,191
  • 19
  • 72
  • 111
4
votes
1 answer

Bitcoin RPC authentication issue - regtest

i am currently developing a bitcoin application which involves running a full bitcoin node. As i am testing my source code, i decided to use the bitcoin regtest mode. This is how i start my bitcoin node: ./bitcoind -regtest -rpcuser=a -rpcpassword=b…
Creative crypter
  • 1,348
  • 6
  • 30
  • 67
4
votes
2 answers

OSError: [Errno 7] Argument list too long on ubuntu, python calling bitcoind-cli with popen

Running a python script calling bitcoind-cli using popen on ubuntu, on large blocks with many trasactions, when calling getrawtransaction i get the error OSError: [Errno 7] Argument list too long i understand it's a buffer issue between the shell…
nimrodlehavi
  • 41
  • 1
  • 3
4
votes
1 answer

How to maximize bitcoind JSON-RPC performance?

Does anyone have suggestions for optimizing a script that reads the blockchain from JSON-RPC? Is it possible to use HTTP/1.1 keepalive to avoid re-stablishing a TCP connection for each query? Does the JSON-RPC service support concurrency? UPDATE I…
odigity
  • 7,568
  • 4
  • 37
  • 51
4
votes
2 answers

How to connect to a Bitcoin testnet running in a docker container

I am testing some Bitcoin related code and in order to test it have installed bitcoin-testnet-box within a docker container. It's running fine, and, within the container I can execute commands and see the results. The Dockerfile is exposing port…
Dave Sag
  • 13,266
  • 14
  • 86
  • 134
4
votes
1 answer

bitcoind daemon and createrawtransaction params

I've been testing/learning the rpc interface for Bitcoind daemon, and using the php library successfully up until now. I am trying to create a new raw transaction, i got a lot of example over internet but i don't know function's params where…
Nagy Ervin
  • 701
  • 2
  • 11
  • 21
4
votes
1 answer

How to get last transactions made to a non-wallet bitcoin address?

I know I can rebuild my block index by setting txindex=1 in my bitcoin.conf file and restart bitcoind with -reindex so that I can view non-wallet transactions using: bitcoind getrawtransaction…
kramer65
  • 50,427
  • 120
  • 308
  • 488
1
2 3
14 15