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
0
votes
0answers
8 views

Which parameters in the Bitcoin Core config file need to be set correctly prior to IBD?

The majority of the parameters in the Bitcoin Core config file can be changed during or after IBD (Initial Blockchain Download) with no complications. However, there are some parameters in the config ...
0
votes
1answer
561 views

Walletnotify not working

Here's my bitcoin.conf: server=1 rpcallowip=127.0.0.1 rpcuser=userrunningbitcoind rpcpassword=passwordofuserrunningbitcoind rpcport=7788 walletnotify=/home/userrunningbitcoind/transaction.sh %s And ...
0
votes
1answer
77 views

How do I configure a port in my .conf file?

This is what my conf file looks like: prune=600 maxconnections=12 maxuploadtarget=20 rpcuser=user rpcpassword=password keypool=10000 server=1 [main] rpcport=5040 Whenever I run this from the ...
4
votes
1answer
272 views

Syncing bitcoin node with multiple cores

I'm syncing my node on 32 CPUs, and it's super slow. Obviously, syncing doesn't go in parallel. I wonder if there is any fundamental obstacle for "divide and conquer" way of doing it. So let's say ...
3
votes
2answers
732 views

How to run a full node: Am I already doing so?

I've succesfully installed bitcoind and bitcoin-cli. I got some questions about it: I run bitcoind in the background by typing: bitcoind -daemon and the blockchain begins to download: By typing ...
5
votes
2answers
811 views

bitcond and bitcoin-Qt system configuration and bandwidth requirements

What is the best operating system configuration for a computer to run (bitcoind or bitcoin-Qt) and (BFGminer or CGMiner) under Linux, assuming that it will be connected to a 3 Terrahash mining rig on ...
0
votes
0answers
12 views

Why does PHP call undefined on “listtransactions” RPC?

I'm trying to get a user's incoming transaction by running this RPC command in PHP: $list_tx = $bitcoin->listtransactions("*", 1, 0, false); $amount = $list_tx["amount"]; $address = $list_tx["...
0
votes
1answer
1k views

How to send Bitcoin in the Testnet?

I'm using this library: https://github.com/lian/bitcoin-ruby And here's my code: require 'open-uri' require 'net/http' require 'net/https' require 'json' require 'bitcoin' Bitcoin.network = :...
0
votes
1answer
166 views

Manually create a transaction to spend the output of a P2SH tx

I want to manually create a transaction to spend the output of a P2SH tx, but I don't know where the redeem script should be placed in the new transaction? I followed an online tutorial Building a ...
15
votes
2answers
1k views

Running a store through Tor - what are the setup options available?

I am required to setup a store that will operate through Tor and accept Bitcoin payments only. I know I can run the standard client on the server and make it connect to peers only through Tor. However,...
1
vote
1answer
38 views

How do block explorer sites show information that is not available on Bitcoin Core?

As I understood in the following post How to get unspents for a specified bitcoin address?, we should use listunspent only on addresses that belong to our own wallet otherwise will return blank. But ...
1
vote
1answer
118 views

Monitor a bunch of addresses for deposits

I have a situation where I create one address per user through GetNewAddress(User.Id) So, in the end, I have a lot of addresses to monitor, to see if any user has deposited money. I can do something ...
3
votes
2answers
211 views

What is the safest way to rename my altcoin from “bitcoin” to “myaltcoin” in the source code? [on hold]

Some Context I am creating my own altcoin for learning purposes and have successfully built the bitcoin code from source with my own genesis block. Now is it time for me to change the name of the ...
0
votes
1answer
481 views

Errors when running bitcoind at startup

Hi i've built bitcoin core 0.15 from source and am trying to get it to run at startup. I've used the bitcoind.conf file found in the bitcoin core repository https://github.com/bitcoin/bitcoin/blob/...
0
votes
0answers
21 views

Can not connect to rpc server bitcoind 0.16

I have 2 server v0.18 and 0.16. They're nearly same config but I can't connect to v0.16 server via RPC though using command on it is still well eg bitcoin-cli -info. I have searched few configs and ...
0
votes
0answers
13 views

open source server for bitcoin wallet [on hold]

For my simple bitcoin wallet, I use the blockcypher.com api. There is a problem due to the limitation of the number of requests for api, so I need to make my "api blockcypher.com", which would be ...
1
vote
1answer
18 views

Fetch UTXO Bitcoin to address created by rpc importprivkey without rescan like other api

For few reasons, I must use rpc node to handle wallet at this time. In the near future, I will change the flow to use library to create addreses, store privatekey at database and create raw ...
1
vote
1answer
58 views

How do I connect my `bcoin` wallet to `bitcoind`?

I have bitcoind running in regtest mode. I want to connect my bcoin wallet to it and retrieve all UTXOs relevant to the sender's address. How can I do that?
0
votes
1answer
40 views

I'm running an antminer V9 solo on my local bitcoind 'pool' will i get paid?

I'm running an antminer V9 solo on my local bitcoind 'pool' plus an S5. Both are hashing away lovely, but only the S5 goes through bfgminer, the V9 is connected to my bitcoind 'pool' directly . My ...
4
votes
1answer
311 views

Which RPC may I use to query bitcoind for raw transactions coming through?

I need to capture and store the raw transactions coming through my local full-node bitcoin instance. I read here that it is possible, but there is no mention of the particular RPC calls. I also see ...
1
vote
1answer
312 views

bitcoind starting and then quickly shutting down automatically

Lenovo E460, 8GB RAM, Fedora 26, bitcoin core command line version 0.16.0, All blocks completely downloaded on a flash drive with 256GB capacity. I rebooted my machine today without stopping the ...
2
votes
2answers
3k views

bitcoind error “mempool min fee not met” preventing me from sending btc on blockchain

When I want to send btc in block chain this message is appearing: BitcoindException(super=com.neemre.btcdcli4j.core.BitcoindException: Error #-26: 66: mempool min fee not met, code=-26). Who ...
1
vote
1answer
327 views

Need help to understand where bitcoin transaction has gone

I am new with bitcoin and I need some help from experienced members. I have a server with bitcoin core where we accept some payments and use bitcoin core as mercant. The problem is that we have got ...
2
votes
1answer
179 views

Bitcoin Core 0.18.0 in Docker container: Could not connect to the server

This is likely me not understanding how Docker works, but I've tried everything I can think of. I'm trying to start bitcoind in regtest mode inside a Docker container, then execute JSON-RPC commands ...
2
votes
2answers
94 views

Security implications of bitcoin.conf location

I'm setting up and hardening a dedicated headless bitcoind and lightning daemon and wanted to have a discussion about location of the bitcoin.conf. Item #1: Bitcoind defaults to using ~/.bitcoin/...
0
votes
1answer
368 views

generate/generatetoaddress what are this two rpc methods used for?

can anyone explain what are this rpc methods used for: 1.generate https://bitcoincore.org/en/doc/0.16.3/rpc/generating/generate/ from the introduction of generate mehod: Mine up to nblocks blocks ...
0
votes
2answers
102 views

Can't reach remote bitcoin rpc server

I got vps with ubuntu 18.04 with ssh access and bitoind set up on it. This is my bitcoin.conf file: testnet=1 prune=35840 maxconnections=12 muxuploadtarget=20 daemon=1 server=1 rpcclienttimeout=5000 ...
2
votes
1answer
117 views

Wallet for btc bot

Which bitcoin wallet should I use to manipulate it programmatically? I don't want to use heavy bitcoin-core. But as I understand there are different kinds of bitcoin's thin clients: some outsource ...
1
vote
1answer
76 views

How can I pass Multiple addresses in Move command

I have to pass multiple addresses in move command but I am not able to pass as it is not accepting more than one wallet address Is there is any another way to move the balance to multiple addresses.
15
votes
1answer
11k views

How to generate SegWit address

How do I generate a SegWit address using Bitcoin Core CLI? Also will I be able to redeem those outputs and send them to a "legacy" address? If so, will this second transaction be accepted by older, ...
1
vote
1answer
5k views

json_rpc_call failed

I have a little problem with the launch of the software: https://bitcointalk.org/index.php?topic=55038.0 My blockchain is fully loaded and JSON-RPC also works, since I use it in a PHP script whose ...
0
votes
1answer
242 views

Manage multiple users wallets for web wallet service

This already summaries the issue I'm currently trying to figure out to calculate the transaction fee to prevent negative balance. (testnet) I tried using createrawtransaction answered. When I tried ...
2
votes
2answers
2k views

how to send money using json-rpc in bitcoin-cli for php?

$bitcoin->sendfrom($this->session->userdata('account'), $_POST['address'], number_format($_POST['amount'], 8)); but this isn't working. i got everything via json-rpc. but can't send or move ...
2
votes
1answer
27 views

Error after reindex

Hello after I got an db error.. I try to reindex my db. But I got this error: ERROR: ReadBlockFromDisk: Errors in block header at FlatFilePos(nFile=75, nPos=117947311) So what can I do to fix it ? ...
0
votes
1answer
40 views

How to upgrade bitcoind in docker?

I am running the docker version for c-lightning 0.7 On a raspberry I need to clone the blockchain, but it needs version 0.17.1 Looking at the docker-compose.yml file I see: version: "3" services: ...
0
votes
0answers
19 views

How do I provide a URL for the EasyBitcoin-PHP library?

I've tried initializing a connection like this: $bitcoin = new Bitcoin("user", "password", "HTTP", "localhost", "8332", "http://127.0.0.1:8332/wallets/$wallet_string"); This returns false, however ...
0
votes
1answer
58 views

Transaction net gain/loss

I have a TXid in my wallet that contains multiple transactions (multiple sends and receives). From what I read these are transactions the network creates facilitate splitting/combining multiple inputs/...
2
votes
1answer
693 views

Running Bitcoind as a service on windows 10

So I am trying to run bitcoin daemon as a service on windows 10, so I don't have to keep starting it. I have tried the following command: sc create BitcoinServer binpath= "C:\Program Files\Bitcoin\...
0
votes
1answer
143 views

Bitcoind could not locate RPC credentials but rpcuser and password are set

I installed bitoind and synced it. But when i'm trying to connect from my php website i getting: Unable to connect to http://user:password@my.bitoind.server.ip:18332/. Also when i'm trying to see ...
1
vote
1answer
14 views

How used the getrawtransaction for fin the tx blockchain

How used the getrawtransaction to find the tx blockchain? inside the documentation says to use the -txindex, can you give me an example for the complete command please?
0
votes
1answer
483 views

Blockchain.info testnet websocket doesn't work

When I try to connect testnet websocket provided by blockchain.info api. Connection doesn't establish, when i looked into the code. It says for testnet it uses "wss://ws.testnet.blockchain.info/inv" ...
0
votes
1answer
306 views

Please help - Bitcoin Conf file in the wrong directory

I am running a full node using Bitcoin Core GUI on Windows 10. The conf file is in my bitcoin data directory, instead of being in the appdata/roaming folder. But Bitcoin-qt points to it by default and ...
0
votes
1answer
28 views

What does the scriptSing contain when it is decoded with RPC framework?

I'm trying to get the wallet id from scriptSing and ScriptPubKey. When I decode the scriptSig, the result does not contain the address address. But when I decode the scriptPubKey, it contains the ...
1
vote
1answer
156 views

Txindex=1: how to recognise the blockchain with this option?

This might be a dumb question: I started the Bitcoin daemon for an initial blockchain download. It immediately started downloading, I edited the Bitcoin.conf file with txindex=1. Stopped and restarted ...
3
votes
1answer
229 views

Bitcoin Core 0.13 How many addresses it can **effectively** manage?

I want to know, what's the maximum amount of addresses that Bitcoin Core 0.13 can manage? All addresses should belong to the default account. I want to use walletnotify feature How startup time ...
4
votes
2answers
265 views

Trying to import a private key into bitcoind

I am in a special situation where I need to import my private key credentials and basically restore a wallet to bitcoind. bitcoind is running and I do have an rpc user/pass and server=1 in the ...
3
votes
1answer
88 views

How do I recover from a disk read error (fread failed)?

My full node daemon (bitcoind) crashed due to a disk read failure. The error is as follows: "Deserialize or I/O error - CAutoFile::read: fread failed" etc. How do I recover from this error? I don't ...
1
vote
2answers
793 views

Setting up the bitcoind to run at startup Ubuntu 17.04

I've created a bitcoin.service file as found here: https://github.com/bitcoin/bitcoin/blob/master/contrib/init/bitcoind.service However i've modified it as i build bitcoin-core from source to the ...
1
vote
1answer
35 views

how do I use the getwalletinfo RPC?

I can't seem to get a firm grasp of how to use the getwalletinfo RPC in the cmd line as well as in PHP code, The documentation says getwalletinfo doesn't take any parameters, but I've seen ways to ...
3
votes
3answers
3k views

jsonRPCClient.php states its served a 401 error response

When I execute my php file from the command line I get this: <pre> PHP Warning: fopen(http://...@127.0.0.1:8332/): failed to open stream: HTTP request failed! HTTP/1.0 401 Authorization ...