Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bitcoin-core]

This tag should be used for questions pertaining to Bitcoin Core. Bitcoin Core is an MIT-licensed Qt 5 GUI application for the original Bitcoin codebase. Additional/previous names include "Bitcoin-Qt", "Satoshi-Client", and "Standard Client". This tag should be used when referring to the Bitcoin Core software.

0
votes
0answers
7 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
1answer
16 views

How can i access my bitcoin core payment if headers cannot sync due to insufficient storage

My Mac laptop does not have enough storage to sync more than 51.57% of headers needed and i cannot access my bitcoin payment. I have tried creating space, trying to change data directory and importing ...
0
votes
1answer
22 views

Unable to bind any endpoint for RPC server

I recently updated my bitcoin docker image to bitcoing v0.18.0 version and can't allow external rpc connections to it now. It binds to localhost if I set rpcallowip=X.X.X.X, then I tried to used ...
0
votes
1answer
8 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
20 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
10 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
26 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
22 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=/...
0
votes
1answer
26 views

How to generate an output address from output scrips which start with 0x00?

A few days ago, I got a BITCOIN traffic which contains some tx message. some of tx messages contain witness data. I want to produce all output addresses from transaction output scripts. I extracted ...
0
votes
1answer
17 views

Bitcoin core's estimatesmartfee gives same estimate on ECONOMICAL and CONSERVATIVE mode

I have observed this behavior several times before now, the commands bitcoin-cli estimatesmartfee 2 ECONOMICAL and bitcoin-cli estimatesmartfee 2 CONSERVATIVE give the same estimates. For example, ...
0
votes
1answer
24 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
0answers
14 views

Problems in compiling Bitcoin 0.3.3

Hi all i am trying to compile bitcoin v0.3.3 on ubuntu Linux. I am having difficulty in order to resolve dependencies for the specified version. My starting point is build-unix.txt provided in source....
1
vote
1answer
31 views

How does a Bitcoin (Core) wallet use inputs?

When creating a new transaction, how does the Bitcoin Core wallet (or any other wallet) handle/use the outputs (UTXO's)? e.g. when 2 outputs have to be used, will Bitcoin spend the highest address (...
1
vote
2answers
31 views

Bitcoin Core switch to release version?

Running on Ubuntu 18.04, I have built Bitcoin Core from source, but the version is 0.18.99, and I would like to be running 0.18.0. I checked out v0.18.0, and went through the build steps again, yet it ...
2
votes
1answer
21 views

LND can't connect to ZMQ

I want to run my LND instance (again) and have some trouble with connecting to bitcoin's ZMQ. Here is what I do: $ bitcoin-cli getblockcount 575704 $ lnd --bitcoin.mainnet --bitcoin.active --...
0
votes
1answer
50 views

Bitcoin-Core re-synchronizing after updating to v0.18.0

I recently updated Bitcoin-Core to 0.18.0 and then it had to resync the blocks which has taken 8 days so far and is only on 67% completed (using windows 7). I have the files saved in D:/.. I noticed ...
0
votes
2answers
34 views

What is the best way to create a wallet with a blank keypool then add keys to it?

The scenario is this: User has a cold storage wallet and will import their cold storage xpub into Bitcoin Core using getdescriptorinfo and importmulti. User wants to only use the keys associated with ...
0
votes
1answer
34 views

How do I use an issued API key in my python 3 script to bypass the request limiter?

I got an API key from blockchain.info to bypass the request limiter, but I don't know how to use it and I can't find any relevant info online. url = "https://blockchain.info/rawblock/" + str(s) ...
1
vote
1answer
16 views

How does the wallet prioritise keypool addresses imported via importmulti?

I want to use importmulti to import 100 addresses from an xpub descriptor. If I set keypool: true as one of the arguments the keys get added to the keypool. How does the wallet prioritise which keys ...
0
votes
1answer
24 views

How do you import an xprv using descriptors and importmulti?

I have figured out how to import an xpub, but when i use getdescriptorinfo on an xprv: getdescriptorinfo "wpkh(...
1
vote
1answer
29 views

How 1 cpu 1 vote works?

How 1 cpu 1 vote works? What is its validity? Does it use IP address or mac address or similar to that? If yes, then it can be changed and can make fool to the network. If it can't, then how is it ...
0
votes
1answer
29 views

How to import private key of a P2SH-P2PKH address to Bitcoincore 0.18.0?

I have a privkey of a P2SH-P2PKH address, how to import it to Bitcoin core 0.18.0? In previous versions, I could call importprivatekey and then addwitnessaddress but the addwitnessaddress was removed. ...
1
vote
1answer
29 views

Accurately calculate fees to sweep all coins

We have an instance of bitcoin core running a watch only wallet. This wallet receives a lot of transactions that we need to (once a day) sweep and split into other personal wallets. The distribution ...
2
votes
1answer
64 views

How much of the Bitcoin Source code is untouchable? [CVE-2018–17144]

My understanding is that CVE-2018–17144 (inflation bug introduced in 0.15) was partially a result of how convoluted the original code is. Regardless of the specific CVE-2018–17144 example, are there ...
1
vote
1answer
35 views

How can I import an address or public key into my wallet.dat file?

I have a wallet.dat with Bitcoin Address: 15iRTcgqBk1QNtr2gKkq2dUsm5nN25dSeN I want to delete this Bitcoin Address: 15iRTcgqBk1QNtr2gKkq2dUsm5nN25dSeN and add another Bitcoin Address How can I add ...
0
votes
0answers
15 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 ...
1
vote
1answer
27 views

Transaction verification engine

In the Features of Bitcoin Core i found following Line: "Bitcoin Core includes a transaction verification engine" Please define Validation, is Validation = verify or not. Does the Engine verify ...
0
votes
0answers
25 views

How can I check how many users have upgraded their Bitcoin Core software?

Bitcoin Core has just released their 0.18.0 upgrade. Is it possible to check how many users have upgraded to this version and also how many users are running older versions?
2
votes
1answer
295 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?
12
votes
1answer
1k views

Where in Bitcoin Core does it do X?

Note that this is a general question and answer designed to serve as a guide for finding things in Bitcoin Core. Where in Bitcoin Core's source code does it do X? How can I find that code by myself? ...
2
votes
2answers
36 views

Lightning LND - Send Payment Both Ways Within Same Channel

Me and my friend are testing Raspibolt running LND 0.6 Beta. We noticed the following problem/limitation: When I opened a channel with him, I could send him payments (via invoice) without any ...
0
votes
1answer
22 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
56 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: ...
1
vote
1answer
69 views

wallet will not sync it has been a week and I still do not have my money in the wallet. It took out my account

I have video proof that this has been going on for a week I have restarted the computer multiple times and have yet to receive any money into my account. I do not even have a wallet number.
0
votes
1answer
26 views

Where is the code which rejects transactions with insuffisent balance?

Simple question but I can’t find the answer again. Where is the code which rejects transactions when the value of inputs is below the value of outputs (because I think to recall that check works like ...
1
vote
1answer
46 views

Bitcoin core wallet's security

When running a bitcoin node on an enterprise level: a lot of addresses will be generated with getaddress RPC for users to send their funds to. As far as I understand, these addresses, as well as the ...
0
votes
1answer
32 views

How to transfer BTC balance when I have Private Key? [duplicate]

I have BTC public address and privatekey with balance. Can I Transfer the balance for another address?
0
votes
1answer
25 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
1answer
82 views

I mined in early 2010 with a cpu miner and just found my keys after forgetting all thease years, no joke need info please

who is the best most reputable bitcoin recovery company? I have added details and questions about our situation below Thank you And God Bless what was the mining program from the devs back then? I ...
0
votes
0answers
8 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
1answer
35 views

How to verify signature of multisig transaction

How to verify signature of multisig transaction (2-2) after it being signed by first owner? How can I understand if that owner used wrong private key => wrong signature?
0
votes
0answers
15 views

Running Bitcoin (core dameon full-node) on IPFS vs NFS?

I've tried running numerous Bitcoin daemon's concurrently over an NFS solution (namely LizardFS) using XFS instead of ext4. It only reached about 60% of its potential before all daemon's crashed. This ...
0
votes
1answer
20 views

Is there's anyway to get fee estimation with vbyte instead of KB using “estimatesmartfee” RPC command?

I'm using Bitcoin-core RPC command to get current fee rate, but it returns the fees in KB, I would like to get fee rates in vbyte is that possible?
0
votes
0answers
25 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 ...
1
vote
4answers
97 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. ...
7
votes
1answer
396 views

Could Neutrino technically as side-effect, incentivize centralization of the bitcoin network?

TWO questions on Neutrino:: 1) Could Neutrino technically as side-effect, incentivize centralization of the bitcoin network? Or other formulation: ...hinder higher degree of decentralization? Why ...
0
votes
0answers
27 views

How can I generate public address from an xpub key in Java?

I have an xpub key with which I want to generate all addresses which have been used or will be used and then find out the keys which have balance. Here's a sample xpubkey with balance- ...
0
votes
1answer
28 views

Confirmed transaction but unspent

Hi, I have a serious issue as this transaction is successful but the recipient insists that it's not in her wallet neither did she get any sort of confirmation about the transaction, I have been ...
0
votes
0answers
28 views

Exception CompactSize when I parsering a nuimbar od the blk file >= 976

I wrote a bitcoin core parser, for my personal project and because it helped me to start understanding the bitcoin protocol as a data structure. This project mainly parsers every blk file and creates ...
5
votes
1answer
36 views

What's the distinction between BIP 157 and BIP 158? Are they supported by Bitcoin Core?

BIP 157 and BIP 158 are both concerned with Compact Block filters. What is the distinction between them, and which of them does Bitcoin Core currently support?