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
2answers
152 views

How can I accept Bitcoin as a payment without a 3rd party gateway

I want to create a website where users can pay with Bitcoin. However I want to create my own payment gateway because I do not want to rely on services like BitPay. I want a unique BTC address for ...
0
votes
0answers
44 views

How to delete .dat files? 'rm' command fails with “bad message”

rm: cannot remove '/home/[user]/btc/bitcoin-core/blocks/blk01253.dat': Bad message The same error message when I tried running bitcoind -reindex Info: OS: Ubuntu Bitcoind version: 0.18 External ...
0
votes
1answer
56 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 ...
6
votes
1answer
67 views

Why does getheaders P2P API return more than getblocks?

I've been reading through the Bitcoin P2P protocol documentation as well as experimenting with Bitcore library but confused about one thing. So getblocks seems to return inventory objects, which are ...
2
votes
1answer
68 views

Bitcoin Core What default values should I pass for some positional RPC params in sendtoaddress

I am trying to use the sendtoaddress rpc method of bitcoin core. From the documentation I read that I can pass "estimate_mode" parameter to estimate a fee. However as I believe json rpc follows ...
0
votes
2answers
106 views

Bitcoin core How do I get the transaction fee while using sendtoaddress

I have a bitcoin core running on testnet, so for suppose I have a wallet balance of 1BTC and I have to send it to an addressx, so how can I know the amount of transaction fee so that I can subtract it ...
1
vote
1answer
59 views

How to handle multiple transactions from the same account(address)?

I am new to bitcoin so please bear my question. To understand the IN's and OUT's of this crypto world, i am creating a dummy bank to have a better understanding of the system. So I have a bitcoin ...
0
votes
1answer
106 views

LND How to reset pending_open_channels?

I am using LND (most recent version 0.6.1-beta) and I have a lot of pending channels in state pending_open_channels which are stuck for many days (perhaps because of low fee and full mempool) so I ...
1
vote
1answer
260 views

bitcoind connection refused error with curl

my bitcoin.conf: server=1 rpcauth=myusername:e2aa83d74a55b7addfe070367546e72d$953dda2b7e2d5a151a7ef0e82ed50a734bf4c4ac55289fede8bd340489d5af0f rpcallowip=46.101.245.27clientip address datadir=/mnt/...
0
votes
0answers
80 views

what broke (and how do I fix it)?: I can mine testnet (via cgminer and bfgminer-0.5.5) on bitcoind-0.17, but not on bitcoin-0.18

I haven't changed any configuration, merely upgraded bitcoind. Working: the following scenario where machine 'A' has the ASIC, and bfgminer, and machine 'B' is running bitcoind-0.17 on testnet: ...
0
votes
0answers
27 views

Display IP address that bitcoin core bitcoind has discovered

Per the bitcoin wiki, bitcoind will auto-discver it's own IP address by default. However when I run bitcoin-cli getnetworkinfo the only address that is shown under "localaddresses" is the onion ...
0
votes
2answers
110 views

How to ./configure a built for Raspberry Pi?

I want to use this guide to set up a headless bitcoin core full node and came across the line: ./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" ...
0
votes
1answer
74 views

How do I start a bitcoind server in deprecated mode for multiple functions

I have a bitcoind server running bitcoin-core version 0.17. Now since I need to use deprecated RPC methods I need to start the bitcoind server in deprecated mode, so I am already able to run it to ...
0
votes
1answer
106 views

Understanding bitcoin-cli commands walletlock and walletpassphrase

I am trying to understand two commands listed in the following link. 1. walletpassphrase Stores the wallet decryption key in memory for <timeout> seconds. 2. walletlock Removes the wallet ...
0
votes
0answers
48 views

How to communicate with encrypted bitcoin wallet using bitcoin-core in NodeJS

I have a full node running in my local system and I am using this library named bitcoin-core to communicate with the bitcoind server. Now I have encrypted my wallet with a passphrase so I understand ...
1
vote
2answers
143 views

How do I install a specific version of bitcoin-core

I need to run bitcoind version 0.17, however the latest available version is 0.18, if I follow the instructions from this link it installs the latest version. The below links lists the packages for ...
0
votes
0answers
27 views

New block watcher

guys. I need to create bitcoin watcher, which will subscribe to new block event of bitcoin node and make some operations with mined transactions. For starting node I use bitcoind -testnet -datadir=/...
1
vote
0answers
92 views

Enable dustRelayFee behavior on testnet to get error code 64: dust

Crafting and sending an utxo of 1 satoshi does works and get mined on testnet without error. However on mainnet the error code 64: dust arise. I understand the basic idea that you are not able to ...
0
votes
1answer
41 views

bitcoind rest api tx endpoint

i am having a trouble with bitcoind REST API endpoint for retrieving transaction info. According to the documentation it should return confirmations among the retrieved data. But my bitcoind do not ...
0
votes
0answers
40 views

I can not enable wallet, how can I enable it? already deleted disablewallet=1 from conf

how can I enable wallet in my node. I put disablewallet=1 but now I want to enable wallet, I deleted that line... but I get no wallet... how can I get a wallet_
0
votes
1answer
91 views

Understanding default bitcoin wallet in bitcoind

I am new to block-chain, so please bear with my questions. I need to understand the basics of a bitcoin-wallet. So I have setup a bitcoin full node using bitcoind in running in testnet mode. As I ...
0
votes
1answer
58 views

How to get number of transaction confirmation from bitcoind?

I have a question, How can I get the number of transaction confirmation by using bitcoind? for example: https://live.blockcypher.com/btc-testnet/tx/...
0
votes
0answers
20 views

add mysql dependency configure.ac bitcoin

i am working on bitcoin code, my aim is to move blockchain data to relational db but i am not able to resolve mysql dependency for different platform, platform includes mac and ubuntu. I have tried ...
0
votes
2answers
70 views

How to replicate getaccountaddress behaviour using getnewaddress and labels api

The problem is getaccountaddress is getting deprecated and it has specific behaviour (not related to accounts) I'm relying heavily on. It gives you the same address between multiple calls as long as ...
0
votes
1answer
29 views

Can we get any default address before running getnewaddress?

I am trying to develop some application using bitcoin (currently only in the regtest mode). I am aware that one can create a new address using bitcoin-cli -regtest getnewaddress RPC call, but I ...
0
votes
0answers
195 views

Connection Refused when running bitcoind in a non-root user and trying to make RPC calls

I'm new to Bitcoin development and I'm currently having difficulties trying to make RPC calls to a Bitcoin-Core daemon running in a SSH server. I suppose that the problem is with Firewall or closed ...
0
votes
0answers
31 views

Sendmany unconfirmed coins (minconf = 0)

can somebody help me to figure out opportunities if bitcoind RPC. How to send unconfirmed coins? With RPC command 'sendmany' and param 'minconf = 0' for some reason not possible. But how to make this ...
4
votes
1answer
445 views

If I set assumevalid=0 after syncing the blockchain will Bitcoin Core go back and validate historical blocks?

I originally synced my node using the Bitcoin Core default assumevalid value. If I set -assumevalid=0 in bitcoin.conf and restart my node, will my node go back and validate historical blocks?
0
votes
1answer
52 views

Check when transaction was added to the mempool?

I know how to check when a specific transaction was included in the block. But how do I check when my bitcoind node first saw it? I would like to estimate for how long the transaction stayed ...
3
votes
1answer
102 views

Why my bitcoind cannot query all the blocks?

I just install the bitcoind and run: bitcoind -daemon and when i tried to: bitcoin-cli getblockhash 195876 i got an message: error code: -8 error message: Block height out of range the command: ...
0
votes
1answer
61 views

bitcoind bulk import private keys to different wallets and update with one rescan

I was wondering if someone already has this thoughts or problems: I generate bitcoin addresses and private keys by a script - to not depend on the bitcoin daemon and manage them in a database. By ...
0
votes
0answers
18 views

Bitcoind is not running properly in centOS server

I just try to setup full node in centos(Linux distribution) server. I download binary for Linux from https://bitcoincore.org/bin/bitcoin-core-0.17.1/ . I just start bitcoind using the following ...
0
votes
0answers
27 views

Bitcoin core transaction catching for enterprise

I'm trying to implement a system where users of my application receive a deposit address to which they would be able to deposit any amount of Bitcoin at any given time. They would also be able to ...
2
votes
4answers
264 views

Notify when new transaction is arrive in a bitcoin address [duplicate]

I have bitcoin full node on the server. I need to notify when new incoming transaction is arrive into a bitcoin address. Is there any RPC will help to achieve my goal ... Any help is appreciable. ...
1
vote
1answer
91 views

Where to find rpcauth.py for configuring rpcauth in bitcoin.conf on Ubuntu

I can't find the python file to create the rpc credentials. According to the documentation it should reside somewhere here: using the output from the script in share/rpcauth/rpcauth.py
0
votes
2answers
73 views

What are the web3py equivalent for communicating with bitcoin in Python?

I am fairly new to working with Python, I have a requirement where I need to perform some basic bitcoin operations on my local system rather than relying on some external API's, those function mainly ...
1
vote
1answer
184 views

Create multisignature wallet from xpub keys in bitcoin core

I can create Multisignature wallet electrum with 2 xpub keys. How can I create bitcoin core to do that? Standart use; Add a multisig address from 2 addresses bitcoin-cli addmultisigaddress 2 "[\"...
1
vote
0answers
54 views

Error mandatory-script-verify-flag-failed (Signature is found in scriptCode)

I found a few questions with the specific error, but couldn't find also the appropriate answer. So, here I am. I am working on regtest in a Python library that create transactions and then use JSON-...
1
vote
1answer
46 views

Create a transaction spendable in a specific block height

I am new in Bitcoin and I try to create an address in Bitcoind and send a transaction that the amount will be spendable in a specific height of the blockchain. Here is what I have done: privateKey = ...
0
votes
0answers
13 views

Move a Bitcoin full node running on Raspberry-Pi3 from the current microSD to another microSD

I have a fully syncronized full node with TOR The blockchain is stored on an external hard disk. The operative system is a Raspian What I have to do to move it to another microSD with operative ...
0
votes
0answers
28 views

Apply SSL for RPC port -Ubuntu 18.04 VPS server

I start bitcoind 0.17 in a particular port on Ubuntu 18.04 VPS server. I want to give the SSL certificate for RPC port. I already know to generate self signed certificate using OpenSSL. But I don't ...
0
votes
0answers
134 views

bitcoind localhost port 18332: Connection refused Ubuntu 18

Trying to connect to testnet using curl from localhost on ubuntu server. Tried lots of combinations of bitcoin.conf and ports. Here's my config: server=1 daemon=1 testnet=1 rpcuser=user rpcpassword=...
1
vote
1answer
82 views

bitcoind - how to find out what is affecting the verificationprogress

Problem Bitcoind verificationprogress continues to go up and down around .99999xxx and never finish verifying Background Looking for any insight here, had a node that went down and upon bringing it ...
0
votes
0answers
57 views

What happen When use -maxtxfee and -mintxfee with bitcoind

I read some document about -mintxfee and -maxtxfee. I apply this to my regtest network using the following command ./bitcoind -txconfirmtarget=6 -maxtxfee=0.00005 -mintxfee=0.00005 My question is ...
0
votes
1answer
33 views

How can i verify my txs with my own full node?

Hey i run a full bitcoin+lightning node on a rpi. Can anyone eli5 me how can i verify my own tx if send some coins from an exchange to a public address i control? Lets say i plug in my hw, send some ...
0
votes
1answer
44 views

Automatically close the bitcoin-qt when enable SSL for RPC

I Just try to enable SSL for bitcoin-qt RPC call. I follow the SSL on RPC link to archive my target. But I am getting the following error and close the bitcoin-qt automatically. I am using the ...
0
votes
0answers
27 views

How to decrease target difficulty in bitcoin source (v0.8)

I have followed this video series ( https://www.youtube.com/watch?v=mDGxGYvkDEE ) to create an alt-coin by forking Litecoin v0.8, which i followed the videos and successfully created an altcoin. Now ...
1
vote
1answer
53 views

Do bitcoind and bitcoin-qt resume blockchain downloading from the same place?

This is a multi-part question. I downloaded source code of bitcoin core from github and compiled it on my Windows 10. Then I got bitcoind and bitcoin-qt among other commands. I first run bitcoin-qt ...
0
votes
1answer
143 views

Send coins from bitcoind full node to lnd without fee?

I'm trying to fund my LND node, for that I put some dust on my BTC wallet address and now I want to send to my LND wallet address but when I try to send with fees "paytxfee": 0.00000000 returns an ...
0
votes
0answers
61 views

How to create a node to a private blockchain using Bitcoin core

Is it possible to create to connect to a private bitcoin chain with bitcoin core? I created a private bitcoin chain through regtest on one vm. Now I want to make a full node copy of it on a separate ...