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
1
vote
1answer
512 views

False error notifcation (double spent) 'code' => -4, 'message'

Now and than I seem to get a consistent false error notification. Error message: Request error: array ( 'code' => -4, 'message' => 'Error: The transaction was rejected! This might happen if some ...
0
votes
1answer
119 views

Get input address using VIN txid?

I have written following script to get Vin address from Vin txids. #!/usr/bin/python # -*- coding: utf-8 -*- import requests,json url="http://asd:asdf@localhost:2332" payload={} payload = {"jsonrpc":...
0
votes
1answer
843 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 ...
1
vote
1answer
190 views

Using bitcoind, is it possible to set a specific fee with sendtoaddress?

For example, setting the fee to exactly 1000 sats or 300 sat/kw?
5
votes
2answers
840 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 ...
5
votes
3answers
911 views

How to receive payments online to single address per user in scalable way?

Suppose we are building online casino/market and want to receive payments. To be scalable, safe and have good user experience, we: cannot generate new address for every single payment. Having single ...
1
vote
1answer
36 views

Questions about sendmany json-rpc

1 - Whats is the limit for sendmany? 2 - Can i batch a large number of payments (several hundreds)? 3 - Does an error in processing any address would interrupt the whole process?
0
votes
1answer
2k 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
334 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 ...
1
vote
1answer
141 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 ...
0
votes
1answer
520 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

How do I open bx-linux-x64-qrcode via the command line on Ubuntu 20.0 in order to get access to the BX command tool

I have tried for three days now to get access to the BX commands, via the libbitcoin-explorer library. I have gone through various tutorials and have tried the install process and i do have a build-...
2
votes
1answer
122 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?
1
vote
1answer
33 views

Connect C-lightning to a remote bitcoind through tor

I would like to connect my C-lightning node to a remote Bitcoin node, in order to be able to run lightningd on a small storage capacity VPS. I could achieve this by using clearnet connection and ...
0
votes
1answer
411 views

Bitcoin curl no reply

Hi I have made a curl to my server but get no reply . What am a missing rpcuser=rpcusername rpcpassword=rpcpassword rpcauth=rpcusername:generatedkey daemon=1 server=1 rpcport=8332 rpcbind=0.0....
0
votes
1answer
125 views

How to make concurrent calls to bitcoin core rpc?

I am trying to call getBlock for 100k blocks, but it is too slow to call them sequentially. This is what I am trying. I have a full node of bitcoin core running. I set the -rpcthreads=100 and -...
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
412 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 ...
0
votes
1answer
132 views

Is it possible to handle BCH transactions on Bitcoin Core wallet? [closed]

I've installed Bitcoin Core on a server and it works well for BTC. I would like to know can I use the same server and platform to support BCH too? I know that the addresses generated in Bitcoin Core ...
5
votes
2answers
378 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 ...
2
votes
1answer
131 views

Consistenly getting Block magic mismatch error?

I have bitcoind running (0.18) in my ubuntu machine and it keeps shutting down due after getting this error: ERROR: ReadRawBlockFromDisk: Block magic mismatch for CDiskBlockPos(nFile=0, nPos=68821043)...
1
vote
1answer
34 views

Cannot start C-lightning after reboot

I have problems starting up C-lightning's lightningd on Debian Buster under vagrant. Steps I followed: Fresh install bitcoind Install lightningd Run rpc commands - all good. Reboot system Get the ...
9
votes
4answers
7k views

Possible to speed up reindex?

I just reindexed a node that was already synced (in order to enable txindex); it took around 9 hours. It's on a pretty good system: 16G RAM, i7 with 4 physical cores. Storage is a weak point, with ...
0
votes
0answers
23 views

Getting “Invalid or non-wallet transaction id” error on transactions definitely from wallet

Very recently (within the past hour), I've been unable to get transactions for wallet addresses. It also returns 0 received when running getreceivedbyaddress and entering an address that I've ...
-1
votes
1answer
142 views

How to recover my lost cryptomultipler money? [closed]

I was trading in a cryptomultipler some one shared with me, to invest my money in there. They told me that my investment will grow, but after that they been asking me many charges until I sent them ...
1
vote
1answer
88 views

How accurate is 'estimatesmartfee' in bitcoin-core?

Method of estimatesmartfee is very simple and easy to use and understand. But I want to know how accurate this function really is? It would be great help if you can provide a link to article or ...
0
votes
0answers
16 views

Is there a way to fetch all transactions in a block via electrum protocol?

Quickly surfing through the list of electrum methods, looks like not, and I will have to use getblock from bitcoind json-rpc. Is there a better way?
2
votes
1answer
106 views

Why is my bitcoin core not downloading any blocks?

I am using Centos 7 and I installed the newest version of bitcoin core. I just want to run a full node to download all the blocks. According to their documentation, the first time we start bitcoin ...
8
votes
3answers
2k views

How to get notification on bitcoin receive with bitcoin core

How can I get Bitcoin receive notifications with Bitcoin Core. I have tried the walletnotify and blocknotify options. walletnotify is fired two times when I send or receive bitcoins. And with ...
2
votes
0answers
28 views

How to accelerate mempool data access with bitcoind

What could I do to accelerate access to the data I get when I call for example: bitcoin-cli getblocktemplate ? If I would like to be able to be the fisrt one who get information about all the new tx ...
12
votes
3answers
17k views

All Bitcoin Public Keys with non-zero balance

I want to get a database or otherwise retrieve a set off all bitcoin public keys (not addresses) that have non zero balances. What would be the easiest way to do that? Is there an API that could do ...
1
vote
1answer
60 views

Recover corrupted wallet due to system crashed

My server was crashed suddenly and didn't shut down bitcoin core probably, so now my wallet was corrupted due to it didn't be released. I try to moved the corrupted wallet to a new server but it can't ...
1
vote
1answer
51 views

How do I start -testnet in -deprecatedrpc to test a script?

I hope all is well during our COVID-19 pandemic. My question: How do I start "bitcoind -testnet" in "-deprecatedrpc=signtransaction" mode? Do I simply start it the same way without ...
0
votes
1answer
54 views

Bitcoin V0.1 Not Connected

My Bitcoin V 0.1 says, "not connected" when I try to generate coins. I have ensured the port is connected through the firewall. Also, I have read that V 0.1.3 corrected this problem. However,...
0
votes
0answers
36 views

How Do I Fix This Error Without Loosing Stored Blocks On Pc?

I opened my Bitcoin Core program today on my Windows 7 PC via an external hard disk (1 TB) and I found the following error: MinGW Runtime Assertion Assertion Failed! Program: E:\Blockchain\bitcoin-qt....
0
votes
1answer
45 views

Bitcoincore listrecievedbyaddress doesn’t work

I am trying to run bitcoin full node on testnet. I have downloaded ant started bitcoind with such config: testnet=1 regtest=0 server=1 listen=0 I'v generated new address ...
1
vote
1answer
155 views

How to get block headers from block hash using P2P API?

I have been experimenting with getheaders and one thing I can't seem to figure out is how to get a header for a specific hash, because getheaders doesn't provide this feature. According to the ...
5
votes
3answers
3k views

Where can i get all the commands with descriptions for Bitcoind on my linux server?

Just installed bitcoind on my server and wanted to find a cheat sheet for the bitcoind commands. Where would i find them with a description and example of what each command does?
1
vote
0answers
23 views

How can I add the MySQL C++ connector to Bitcoin Makefile?

I'm trying to add a custom function to my bitcoin client that queries a mysql db. I followed this guide for the basic: https://technology.finra.org/code/compile-run-customize-your-own-bitcoin-client....
5
votes
2answers
4k views

64: too-long-mempool-chain

I am using bitcoind json rpc api to send bitcoin to multiple bitcoin addresses. I am using sendrawtransaction. When i have 24 unconfirmed payments sent from my account, i can't send anymore because i ...
1
vote
0answers
53 views

Wallet.dat bitcoin cash? [closed]

I had 20 btc in 2012, and I spent it all in December 2017. I heard there was a fork for Bitcoin cash. How do I get my 20 bitcoin cash out of my wallet.dat ?
1
vote
1answer
53 views

Number of bitcoind peers drops precipitously every 30 days or so

I run bitcoind headless on a linux box with maxconnections=256 and port 8333 open on the router. Using Bitcoin Node Manager I monitor node status occasionally. Peer count of course starts at 8 and ...
0
votes
0answers
24 views

How i can protected my bitcoincore project?

I have two servers. The backend is located on one, the bitcoincore is located on the second. Becken on a laravel, when requesting Bitcoin core, I specify the server ip and pass the username and ...
3
votes
2answers
70 views

What is the default number of transactions a full node have in its mempool?

Is there a default limit to the number of transactions a node can keep in its memory pool? Or do we have to explicitly declare maxmempool=xyz to restrict the number of transactions a node can have in ...
1
vote
0answers
51 views

How to build coinbase transaction from bitcoin core?

I am coding a program that connects to bitcoin-qt as local server. For building the blockheader i need the merkleroot, to build the merkle root, i need the coinbase transaction (which is not provided ...
2
votes
1answer
38 views

What are best practices around toggling between multiple wallets in bitcoind?

I've created a couple wallets on Core to experiment with and want to dedicate one wallet as a live one. What is the best way to move between those wallets inside the command line? When I toggle to a ...
0
votes
0answers
48 views

Wallet files are empty

I started Bitcoin Core 0.20.0 and allowed it to sync with the network. The synchronization was completed. However my balance is 0.00 and all transaction history is missing. I tried to troubleshoot ...
6
votes
1answer
2k views

Get notified of incoming Bitcoin transaction, as soon as it broadcasted

After a few weeks of searching for an answer, I decided to ask here. I want to accept a Bitcoin payment, to a specific wallet, and immediately, when the user approved the payment, to receive an ...
0
votes
1answer
644 views

Sendrawtransaction error with locktime : 64: non-final txid

I have created raw transaction with locktime and sign it. The lock time is already passed but still got error like this when sendrawtransaction 64: non-final txid the locktime value is 1523515709 ....
0
votes
1answer
41 views

bitcoind fails to start at boot

I am trying to set up bitcoind to start at boot as a specific user. I see the process start for a minute and then fail, following boot. I can start bitcoin as the user just fine with a login and then ...

1 2 3
4
5
42