Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [bitcoin-core]

A full node implementation of the Bitcoin protocol with a GUI and a wallet. Bitcoin Core is a MIT-licensed Qt 5 GUI application for the original Bitcoin codebase. Additional/previous names include "Bitcoin-Qt", "Satoshi-Client", and "Standard Client".

696 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
151 views

How does bitcoin core handle service flag spoofing?

There are 5 service flags in src/protocol.cpp: static std::string serviceFlagToStr(size_t bit) { const uint64_t service_flag = 1ULL << bit; switch ((ServiceFlags)service_flag) { case ...
user avatar
5 votes
2 answers
954 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 ...
A.Miner's user avatar
  • 51
4 votes
1 answer
85 views

Build phase fails with undefined reference to `evhttp_uridecode`

I try to build Bitcoin Core on my Ubuntu 23.10 machine using the "Build Unix" documentation page but it fails with undefined reference to evhttp_uridecode. Here are the details: I started by ...
Hassen's user avatar
  • 141
4 votes
0 answers
89 views

Setting up to create PSBTs using Bitcoin Core from 10 year old non-deterministic wallet

I have an old wallet from 10+ years ago. It was created using an old version of Bitcoin Core before deterministic wallets were a thing. I have it now on an offline computer that has Bitcoin Core 21.0....
Sarlat's user avatar
  • 41
4 votes
0 answers
156 views

Various caches are defined in the Bitcoin source code. What do these caches refer to?

The source code is as follows: //! -dbcache default (MiB) static const int64_t nDefaultDbCache = 450; //! -dbbatchsize default (bytes) static const int64_t nDefaultDbBatchSize = 16 << 20; //...
GoneV's user avatar
  • 185
4 votes
0 answers
899 views

To sign raw transaction with Segwit Address in the TestNet

I am using Bitcoin core 0.14.1 testnet. I created a Segwit address. transfer some coins to this address. Now I want to spend it. I created a raw transaction using console command i.e. ...
DOLLY PATWA's user avatar
3 votes
0 answers
18 views

How to broadcast transactions in bitcoin regtest mode?

I build three nodes named A,B,C based on bitcoin-regtest image of docker. And these three nodes are in the same network which means they can communicate with each other. In node A, I use bitcoin-cli -...
Lawrence Yang's user avatar
3 votes
0 answers
103 views

How do I set up my own custom signet?

Configuration: a Windows machine on a local WiFi network. For classroom purposes I would like to have a custom Signet network so students can get used with Bitcoin Core and Send/Receive. This is the ...
Bart DV's user avatar
  • 159
3 votes
0 answers
92 views

Bitcoin core shutdown after running for about 1 day

I have my bitcoin core daemon up and running on Ubuntu. However it always stops after running for serveral hours or 1 day. Here's the debug.log before it stopped. 2023-11-23T18:04:42Z [net] Saw new ...
daniaoren's user avatar
3 votes
0 answers
65 views

the switching timing between high-bandwidth mode and low-bandwidth mode in CompactBlockReray

If the Compact Block transmission node is bandwidth-limited, there is a statement in bip152 implemention Note that an 'inv/headers' is sent. Are there specific thresholds or settings for this in the ...
masuda's user avatar
  • 81
3 votes
0 answers
101 views

Cannot find bitcoin.conf on macOS

I want to run a pruned node. I mistakenly referred to a guide for a full node to connect to Sparrow wallet, which required adding server=1 and txindex=1 in the bitcoin.conf file. I reached this file ...
Seth's user avatar
  • 31
3 votes
0 answers
76 views

How to track down OOM?

Since a while LND on m Bitcoin Node is restarting weekly a I get an OOM: Feb 12 21:07:24 umbrel kernel: node invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0 Feb ...
deekee's user avatar
  • 51
3 votes
1 answer
383 views

Is it bad practice to run full node with all Bitcoin P2P protocol optional services enabled?

I am running my full node /Satoshi:23.0.0/ with all optional services enabled. These are: NETWORK, BLOOM, WITNESS, COMPACT_FILTERS, and NETWORK_LIMITED. My bitcoin.conf file contains following entries:...
deyw's user avatar
  • 550
3 votes
2 answers
943 views

RPC port 8332 not accessible after reboot

I have compiled and installed Bitcoin Core for the first time on Debian 11. Everything is up and running except that RPC port 8332 is not accessible after a reboot. I get the following error running ...
nemomaximus's user avatar
3 votes
0 answers
1k views

Compiling bitcoin error : A compiler with support for C++17 language features is required

I am reading the "Mastering bitcoin: Programming the Open Blockchain" book by Andreas Antonopolous. In the chapter about compiling bitcoin, the instructions were to execute first ./autogen....
Pranay Reddy's user avatar
3 votes
1 answer
231 views

Miner for Non-Standard Transactions

I understand that bitcoin-core introduced the IsStandard() check in v0.9(?) to prevent non-standard transactions from being broadcast (unless in a mined block). I'm interested to know whether there ...
Martin's user avatar
  • 329
3 votes
0 answers
344 views

Is it safe to skip the initial block verification at startup?

The longest step in bitcoin core initialization is "Verifying last 6 blocks at level 3". The number of blocks checked at startup went down from 288 in 2014 to 6 now. Therefore, in order to speedup ...
Pedro's user avatar
  • 753
3 votes
1 answer
510 views

How do I calculate transaction fee for call to createpsbt()?

When my user invokes my app, he passes as an input parameter the desired value of the TX fee in satoshis per byte. I create a PSBT by calling createpsbt(). I exert complete control over the ...
eric's user avatar
  • 125
3 votes
0 answers
336 views

Is it possible to use Bitcoin-core for multisig? Can it handle change addresses?

I have tried to import three xpub in a watch-only wallet as keypool with importmulti and a multisig output descriptor and to fill the first address with some BTCs. When I try to spend the newly ...
Gabriele Domenichini's user avatar
3 votes
0 answers
73 views

How to segregate wallet from bitcoin core | Run multiple wallets in different servers on one centralized bitcoin node

I am running bitcoin full node in a centralized server. I have many web applications running in various places. I want to connect this web applications with centralized full bitcoin node. How to ...
selva's user avatar
  • 31
3 votes
0 answers
1k views

How to sign bitcoin raw transactions with Python offline

I have a raw bitcoin transaction created using createrawtransaction unsigned_tx = "...
Bongani Sibanda's user avatar
3 votes
0 answers
425 views

How do bitcoin nodes know their own external IP address?

I'm studying the bitcoin source code and I have a doubt about if: Bitcoin nodes still follow the methods explained at the "Satoshi Client Node Discovery" wiki page? More specifically, if they follow ...
Pedro Simões's user avatar
3 votes
0 answers
330 views

How to ignore balance check to cancel unconfirmed transaction (double spending)

I need to cancel a transaction that was sent without fee (using Blockchain.info). It is currently "Unconfirmed". The only way I have found is to do a double spend of the whole wallet, specifying a ...
Erwin Mayer's user avatar
3 votes
1 answer
2k views

Bitcoin Core keeps crashing

I have Bitcoin Core v0.11.0 installed on a machine that's running Windows XP. After waiting several days to completely synchronize, I decided to update the bincoin.conf file. I didn't see one where ...
Steven's user avatar
  • 31
3 votes
1 answer
625 views

What are the weakest cryptographic guarantees in Bitcoin?

I read in this Github pull that Bitcoin relies on weaker cryptographic guarantees than SHA256. What are the weaker cryptographic guarantees being referred to? Could it be that RipeMD is 160 bits? ......
makerofthings7's user avatar
2 votes
0 answers
46 views

How can you remove an input via RBF with Bitcoin Core?

I have an original transaction with two inputs and want to replace it with a transaction that has only one of the two inputs. Original transaction spending from two addresses: input 1: 0,5 btc ⇒ ...
AliceBTC's user avatar
2 votes
0 answers
31 views

libxcb-xinerama0 Library required by bitcoin-qt

I installed bitcoin core 26.1 on a Raspberry 5 (ARM Architecture) running Ubuntu 23.1. Upon running bitcoin-qt, I got the error that the library libxcb-xinerama0 is required but not installed. It's ...
Neo's user avatar
  • 33
2 votes
0 answers
64 views

Bitcoin Core stores public keys and balance unencrypted, a few questions

I came across this statement in the Sparrow Wallet documentation; Unfortunately, Bitcoin Core stores your public keys and balance unencrypted on the computer it is running on. If this computer is ...
FractalEncrypt's user avatar
2 votes
0 answers
43 views

Cannot connect Sparrow wallet to node using username and password

I'm trying to connect my node to Sparrow wallet on two computers on the same network. As I understand it, I have to authenticate using username/password option on Sparrow. This is the same computer I ...
nbit846's user avatar
  • 21
2 votes
1 answer
64 views

Using sendtoaddress is failing using json-rpc and I don't know why

The steps i followed are i first load the wallet in a different method which works, then i check the balance of the wallet in a different method which works, and then I call this sendbitcoin method(...
Tim Lieberman's user avatar
2 votes
0 answers
103 views

Bitcoin Core RPC server not working

I have downloaded and installed and got up and running a bitcoin core node, and it is running fine as far as people are connecting to it on port 8333 just fine. However I can't seem to connect to it ...
The Journey's user avatar
2 votes
0 answers
63 views

What are the extra peers.dat files?

I am restarting my bitcoin node. I noticed there are more than one peers.dat files, and many don't end in .dat. Should these be deleted? Is my node compromised? Any explanation is appreciated. Thank ...
foster's user avatar
  • 31
2 votes
0 answers
42 views

Why is Bitcoin Core not filling in PSBT_GLOBAL_XPUB field

When creating a Partially Signed Bitcoin Transaction (PSBT) on Bitcoin Core using the walletcreatefundedpsbt, walletprocesspsbt and send* RPCs, as well as the send dialog* in the GUI the ...
Brandon Odiwuor's user avatar
2 votes
0 answers
50 views

Does a Raspberry Pi have enough CPU power to run a full node and an electrs server?

Very curious if anyone has this particular setup, currently am running the aforementioned on an old Acer laptop but it's struggling hard.
BillyT's user avatar
  • 29
2 votes
1 answer
96 views

Stuck in the middle between unconfirmed transaction and empty wallet

I initially set a low fee to one transaction, trying to cancel the transaction I runned bit coin core with -zapwallettxes and all transactions in bit coin core disappeared. I still can see the ...
Fabrizio Bitti's user avatar
2 votes
0 answers
61 views

Page size of read (and write) operations

I'd like to fine-tune the recordsize parameter of my ZFS file system used to store the blockchain and related data to optimize my public node's performance. Which page size does bitcoind (Bitcoin Core ...
C-Otto's user avatar
  • 452
2 votes
1 answer
258 views

How to remove a tx from local node mempool that's been removed from all other node

I'm running a fullnode with electrumx on top for indexing. I've noticed that sometimes, due to low fee, a tx gets dropped from mempool after some hours/days. However, it stays for longer periods in my ...
Ravi Ojha's user avatar
  • 183
2 votes
0 answers
31 views

listaddressgroupings or dumpwallet? I need to dump private keys from Bitcoin-QT

I have a Bitcoin-QT wallet and the client is more than a year out of sycn. It would take years and massive amount of data to get it synced so, this is out of the question. My plan was to move my coins ...
UuestGser's user avatar
2 votes
0 answers
132 views

Bitcoin core syncing txindex stalls

Bitcoin core bugging out since what I assume was a bad shutdown. Mostly fixed (I think) but stalling trying to resync txindex. Here's the history: Core wouldn't connect to peers or load the latest ...
JDX's user avatar
  • 21
2 votes
0 answers
119 views

Bitcoin Core missing public key when generating PSBT transaction

I use Bitcoin Core for offline signing. I created a legacy watch-only wallet, imported a public key using importpubkey, then called rescanblockchain, then generated a psbt transaction text(psbt_tx_txt)...
MonKong's user avatar
  • 53
2 votes
0 answers
53 views

Why doesn't the very first bitcoin release work anymore?

I tried running the very first bitcoin client released by Satoshi in 2009, Bitcoin v0.1.0 on Windows 10. Of course I knew it wouldn't work or do anything since it's extremely outdated, but I wanted to ...
apchrkey's user avatar
2 votes
0 answers
103 views

Is there a limit on the number and size of script inputs when spending a script path in a P2TR transaction?

From BIP 341, Spending using one of the scripts: A Taproot output can be spent by satisfying any of the scripts used in its construction. To do so, a witness stack consisting of the script's inputs, ...
Pramod Kandel's user avatar
2 votes
0 answers
55 views

Listening only for local inbound connections over "clearnet", and using Tor for external connections

I want to connect some wallets to my node in my LAN, over regular connection (not Tor), but I don't want my node to use this "clearnet" connection for anything else (for example to connect ...
bl0ck3d's user avatar
  • 81
2 votes
0 answers
64 views

How can I change the bitcoin core version within an already installed blockchain?

I want to change the version in the corresponding directory with git tag and git checkout vx.y.z. But when I type git tag there's no output. How can I change the version without installing the ...
Pariya's user avatar
  • 41
2 votes
0 answers
38 views

After updating my Mac doesn't recognize my bitcoin core

After an update my Mac doesn't recognize my bitcoin core. The bitcoin avatar shows up in launchpad with a "?" in it. How can I fix it? I have been running a node 24/7 for a couple months ...
Danny Cooper's user avatar
2 votes
1 answer
80 views

How do I troubleshoot port accessibility to allow inbound connections on MacOS?

I'm wondering if anyone has experienced anything like this. IPv4 ports seem blocked. I have tried everything to open a port on my Mac but the port seems blocked. It's like the only port that can be ...
Kaizen's user avatar
  • 331
2 votes
0 answers
66 views

Which transactions get into blockreconstructionextratxn?

Bitcoin Core has a cache for transactions that aren't in the node's mempool but could be in other mempools, and so are cached for improved compact block reconstruction. This cache holds up to 100 ...
Vojtěch Strnad's user avatar
2 votes
1 answer
520 views

What can cause bitcoin node to be slow to sync?

I've already fully synced my node, but I've noticed recently that the tip of my chain is occasionally a few blocks behind peers. What could cause my node to be slow to update? My peers have the latest ...
I Like's user avatar
  • 121
2 votes
0 answers
44 views

Difference between pprev and pskip pointers in the CBlockIndex class?

In the Bitcoin Core there is class called CBlockIndex which as its name appears is the implementation of blocks. This class has two variable that for me they looks the same: class CBlockIndex { public:...
Amir reza Riahi's user avatar
2 votes
0 answers
201 views

Parsing bitcoin blockchain, get input (vin)

I downloaded the bitcoin blockchain. I have a full node and I would like to do some parsing. I use RPC to send commands to bitcoin core from my Python program. When I get a block it works fine but the ...
abracadabra's user avatar

1
2 3 4 5
14