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
1answer
50 views

How do I compile Bitcoin Core to be more portable?

Background: I compile bitcoind on one system but run it on another. When I compiled bitcoind 0.19.1 some time back using the following method, I was able to run bitcoind and bitcoin-cli on the target ...
0
votes
1answer
43 views

How to build a portable bitcoind binary for macOS?

Bitcoin Core ships a portable bitcoind with the Linux and Windows releases, but doesn't ship one with macOS. And I couldn't find instructions on how to build one. Can someone provide step-by-step ...
1
vote
1answer
67 views

How to calculate the checksum of an extended public key?

Very difficult to find definitive info on this. From what I can find on google and looking at BIP32 it seems like the process to calculate a checksum for an extended key is to decode the base58 ...
0
votes
1answer
42 views

Is it possible to set an overall seed for generating blocks on regtest mode?

I am using bitcoin core on regtest mode to simulate sending transactions. Is it possible to set an seed for things like generating blocks or signing transactions, so that you can recreate an exact ...
2
votes
1answer
1k 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
0answers
33 views

Online BTC wallet implemention with bitcoin-core

I have written a php code to register users and create wallet for them on bitcoin-core full node.My question is how can i manage users wallets.if i use loadwallet to load USER A wallet and get address ...
6
votes
3answers
8k views

How can I export all my private keys using bitcoind?

I know that PyWallet has a -dumpwallet but without using pywallet, how can I export all the addresses and privatekeys with the stock bitcoind? Is there an API command that lists all addresses held by ...
1
vote
1answer
52 views

Unable to make custom Bitcoin command

I'm writing a thesis on Bitcoin system and as a part of my assignment i have to explore Bitcoin-core source code. I 've downloaded the code, compiled it and manage to run it. However, I wanted to ...
1
vote
1answer
30 views

Is the index db downloaded from peers or generated locally?

When the user start the Bitcoin client for the first time, it will download the whole blockchain. But what about the block index (blkindex.dat in older versions) ? Is it downloaded from peers just ...
0
votes
0answers
31 views

Problems Setting a Transaction Fee on a Per Transaction Basis Bitcoind

I've spent hours and hours trying to find a solution to this problem, with no success. Using Bitcoin Core on a Linux machine, so using bitcoin-cli to process commands back to the daemon. Here's what ...
0
votes
2answers
1k views

Is it possible to use bitcoind as a private blockchain?

For development or test purpose, is it possible to setup a bitcoind as a private bitcoin blockchain?
0
votes
1answer
38 views

Bitcoin peer info

Why when I run in the node bitcoin-cli getpeerinfo the list is an empty array? Do I need to let time to connect other peers?
0
votes
1answer
119 views

Bitcoin full node running on Synology not visible to network

Last week I bought a Synology (918+) and starting running a Bitcoin full node (https://hub.docker.com/r/kylemanna/bitcoind). To check whether the Bitcoin node can be found by the network, I checked ...
2
votes
1answer
43 views

Is there any method to extract transactions for an bitcoin address which is not in my wallet using bitcoin core?

I have setup Bitcoin core and trying build an API to fetch all transactions under an address ( not in my wallet ). Bitcoin core RPC documention says that an address which is not in my wallet needs to ...
13
votes
2answers
19k views

How to get all addresses - including the “change” addresses - from bitcoind?

I want to get all my addresses - including the auto-generated "change" addresses - from a running bitcoind somehow. I haven't been able to do it in a simple way. "getaddressesbyaccount" and all the ...
6
votes
6answers
9k views

How to get unspents for a specified bitcoin address?

I want to access unspent data of a specific bitcoin address. I am trying this command bitcoin-cli -regtest listunspent "some bitcoin address" But I am always getting an empty list. I am using local ...
9
votes
1answer
14k views

How to open bitcoind -daemon using command line in Windows?

I have created a conf file on the following path: C:\Users\NAME\AppData\Roaming\Bitcoin\bitcoin.conf When I run the Bitcoind file, nothing happens. My command line window becomes unresponsive as if ...
1
vote
0answers
31 views

2-3x increase in peers banned by bitcoind

In the last week, with no changes to my node's configuration, I've noticed my node is auto-banning peers at 2-3 times the rate of before. Where usually I'd have 25-30 peers banned every 24 hours, the ...
10
votes
4answers
5k views

How to limit the debug.log file while running bitcoind?

The debug.log file is getting pretty big on bitcoind. How do you limit the size of the file? I'm on Ubuntu 12.
0
votes
1answer
98 views

Send bitcoin with bitcoin core without syncing to network

I want to use bitcoin-core just for sending bitcoin from my address to another destination address. i don't need the huge history information of blockchain. In fact, I want to run a light-weight ...
20
votes
4answers
14k views

How can I create a multi signature 2-of-3 transaction?

Can somebody help me with step-by-step list of how to create a multi signature 2-of-3 transaction?
2
votes
1answer
112 views

Step by step to make a SPV bitcoin node

As I know, there is a light node version called SPV. for now I have started a full node and it has downloaded 82222 blocks, but I don't want to have a full node with full blockchain, my purpose is to ...
1
vote
1answer
95 views

How to getheaders from blockchain?

I have run a full node on linux now I can run commands with bitcoin-cli like: bitcoin-cli getbestblockhash it returns: 0000000000344240308f54ded700542571b3df9efe05fab92e669099e20e0d92 or bitcoin-...
1
vote
0answers
136 views

ThreadRPCServer incorrect password attempt from 127.0.0.1:34810

I am reading Mastering Bitcoin book, and on: https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch03.asciidoc#full_index_node there is a call to bitcoin node: $ curl --user myusername --data-...
15
votes
5answers
13k views

How to know if bitcoind synced?

I installed the bitcoind and started it as daemon. After 10hours I've tried "du -h" ubuntu@ip-172-31-37-93:~/.bitcoin$ du -h 16K ./database 59M ./blocks/index 29G ./blocks 646M ./...
2
votes
2answers
787 views

List imported watch-only adresses

I can import addresses without private key just to track incoming transactions as it is provided in RPC calls : https://bitcoin.org/en/release/v0.10.0#watch-only-wallet-support But how can i see my ...
1
vote
2answers
833 views

How to send bitcoins with commission extracted from payment in PHP or bitcoind

First, I have simple problem. I want to send customer some bitcoins, but I dont want to pay fees for him. I'd like to substruct fees from payment, so all commissions would be payed by customer. I ...
2
votes
1answer
207 views

Why did the core developers choose base64 for PSBT encoding?

Why does bitcoind use baase64 to encode PSBT's? Just out of curiosity.
4
votes
1answer
761 views

How to determine if a public key point y is negative or positive, odd or even?

Take a bitcoin public key (x, y) and its additive inverse (x, -y). How do you identify which is the positive point and which is the negative point? Example Private key 1 -> (x, y) x = ...
0
votes
1answer
34 views

Is it possible to configure bitcoind to allocate blocks in larger “chunks”?

In the bitcoind log there are many entries similar to this: Pre-allocating up to position 0x200000 in rev02037.dat There are often several messages regarding pre-allocation of the same file. This ...
2
votes
2answers
1k views

Understanding SPV, pruning and its downsides, as well

First of all, sorry by not asking an objective question, it's because I can't resume this one and I didn't find information even in the "mastering bitcoin" book. The large texts in this question are ...
14
votes
2answers
12k views

Why doc says importing private keys is so dangerous?

There are a lot of applications when someone would like to import a private key. However in wiki documentation they say it is very dangerous: https://en.bitcoin.it/wiki/How_to_import_private_keys ...
6
votes
2answers
1k views

Bitcoin how to get X value from Y

How to get X value from Y? ECDSA x,y coordinate validity verification doesn't seem to work X = 0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 Python code, p = ...
0
votes
0answers
37 views

How to sign Raw Transaction with Multiple Inputs

What is the procedure to sign a raw transaction with multiple inputs, i have some doubts, this is what i am doing: Step 1 First I serialize 1 unsigned tx for each input. INPUT 1 02000000 // Version ...
0
votes
0answers
22 views

Parsing JSON in bitcoin-cli

I am learning the Bitcoin-cli, and when I run a command like getbalances, I get a JSON with "mine" and "watchonly". Is there a way i can only return the watchonly portion? My broader question is can I ...
0
votes
0answers
19 views

Bitcoin core Rpc EOF?

I using regtest to test bitcoin core rpc in golang. package main import ( "fmt" "github.com/toorop/go-bitcoind" ) const ( SERVER_HOST = "127.0.0.1" SERVER_PORT = 18444 ...
3
votes
1answer
45 views

Handling “dead” (double-spent) transactions in my mempool

Say I receive transaction A and it is in my node's mempool and unconfirmed. Then a block gets mined directly, which spends one of transaction A's inputs, rendering transaction A invalid. What can I ...
17
votes
9answers
11k views

How to check Bitcoind block chain download progress level

I have installed bitcoind on ubuntu server, and when I run screen -x for btc it says error -10 blockchain is downloading. How do I know the progress level? currently 125600 blocks are downloaded, but ...
0
votes
1answer
89 views

getnewaddress won't generate bech32 or p2sh-segwit addresses

We are only able to generate "legacy" addresses that begin with a "1". This is a long standing problem generating new addresses using bitcoind and has persisted through a few recent versions of ...
1
vote
1answer
103 views

How to disable initial block download [closed]

I want to create an original network by forking bitcoind. I changed chainparams.cpp and other programs for loading it. Then, I set DNS for my seed node. When I boot my seed node, my seed node tries ...
0
votes
1answer
38 views

Why a transaction couldn't be found with bitcoin-cli after 11 confirmations?

I made a new address with bitcoin-cli getnewaddress: 39WqU8NJJasFjmaS2J4424UGVJn8Tqvh82 Then I initiated a transfer from some online service. The transaction is displayed with 11 confirmations: ...
0
votes
0answers
32 views

Find out dynamic IP address by querying bitcoin core

I'd like to use a dashboard page like Bitcoin Node Manager with Bitcoin Core. The summary page lists the IP address of the node, as obtained using bitcoin-cli getnetworkinfo. Bitcoin Core only seems ...
0
votes
1answer
43 views

Is there online tool to check if bitcoin transaction is bip-125-replaceable

bitcoind json-rpc can do it, I think I saw this on blockchain.info but I don't see it now.
0
votes
1answer
59 views

Create Custom script from bitcoind

I'm able to create multisig with bitcoin-cli with addmultisigaddress bitcoin-cli addmultisigaddress 2 '["'$ADDR_MITT_1'","'$ADDR_MITT_2'","'$ADDR_MITT_3'"]' But How can I add extra OP like CLTV or ...
-1
votes
1answer
316 views

How Do They Get BTC Wallet.dat With Balance?

Going through YouTube, I found some videos on Bitcoin wallet.dat with balance. Looking at these videos, you will notice that these balances found in these btc wallet.dat are not on watch only ...
1
vote
2answers
58 views

How to transfer blockchain between two machines?

I have two computers A and B. A has a partial history of bitcoin blockchain (about 60% of entire history) which is not pruned (~120GB). I would like to transfer the history to B and run a pruned full ...
0
votes
0answers
21 views

How do I compile bitcoin-qt 0.13 for Windows 10 and use gdb (or similar) to debug it?

Currently I'm working on a fork from 0.13, so apologies if this is documented in later version. I'm cross-compiling bitocin-qt for Windows 10 (following the instructions in the build-windows document)...
0
votes
0answers
35 views

Using multiple wallets on one “bitcoind” process

Please how do I implement the code below in php Create a wallet for each of the clients using: bitcoin-cli.exe createwallet When you want to perform any action on any wallet simply use: bitcoin-...
32
votes
6answers
35k views

How to safely shutdown bitcoind ?

Surprised this one hasn't been asked yet. But how / what is the recommended best practice for shutting down bitcoind ? Right now I'm manually killing the process with either sudo kill {pid} or if ...
0
votes
0answers
28 views

Fund single output in PSBT with bitcoind

I would like to create a PSBT with a single output (P2WSH with a given/predefined amount) in an app and give that to the user. The user should then be able to fund this PSBT with the help of bitcoind ...

1
3 4
5
6 7
42