Questions tagged [bitcoin-core]

Bitcoin Core is a full node implementation of the Bitcoin protocol with a wallet and GUI. 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". This tag should be used when referring to the Bitcoin Core software.

641 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
2k views

How to build Bitcoin binaries for Windows on Ubuntu using cross-compile

I am trying to build Bitcoin 0.13 for Windows. I've always used this guide for building previous versions. Now seems that developers have changed their mind regarding Windows, and the new way seems ...
user197675's user avatar
5 votes
2 answers
948 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
0 answers
117 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
4 votes
0 answers
889 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
4 votes
1 answer
593 views

How many addresses can Bitcoin Core 0.13 **effectively** manage?

I want to know, what's the maximum amount of addresses that Bitcoin Core 0.13 can manage? All addresses should belong to the default account. I want to use the walletnotify feature How does the ...
Yevhen's user avatar
  • 173
3 votes
0 answers
28 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
51 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
  • 31
3 votes
0 answers
24 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
69 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
  • 31
3 votes
0 answers
70 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
  • 41
3 votes
1 answer
258 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
  • 468
3 votes
0 answers
110 views

Problems with multiple wallets on RPC in bitcoin-core

I have been playing around a bit with Bitcoin Core (version 23.0), more specifically connecting to different wallets in Bitcoin Core through RPC in Python. I have found this library and tried to ...
chilixxd's user avatar
3 votes
2 answers
744 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
0 answers
138 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
  • 175
3 votes
1 answer
205 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
302 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
  • 743
3 votes
1 answer
386 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
325 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
70 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
406 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
328 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
609 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

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
  • 375
2 votes
0 answers
21 views

For running a lightning node and getting maximum exposure, should I forward port 8333 also (for bitcoin)? Or only 9735 (lightning)?

I've been wondering about this. From what I read, people only open 9735 to run a "successful" node. To me it makes sense not to open bitcoins port, but I could also imagine that some ...
codepleb's user avatar
  • 229
2 votes
1 answer
56 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
  • 173
2 votes
0 answers
18 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
39 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
90 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
50 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
70 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
42 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
50 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
37 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
62 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
41 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
173 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
2 votes
0 answers
56 views

Bitcoin core imported wallet

I have a friend that has an issue with his core: He generated a wallet with coldcard, imported in bitcoin core.. received on both bech32 addresses and nested ones. Lost access to that pc and now when ...
zndtoshi's user avatar
  • 153
2 votes
0 answers
112 views

How to compile and conduct functional tests of Bitcoin core for CPU (32 bit) and memory constrained system?

I wanted to use my old laptop to run a bitcoin full node. Specifications: Processor: Intel Core2Duo @2.2 GHz i686 OS: Lubuntu 18.04.6 LTS (I have tried first on Lubuntu 16.04, but it failed due to ...
Manapy's user avatar
  • 21
2 votes
0 answers
705 views

How to connect Sparrow wallet to Bitcoin Core on a different machine but the same network

I have a Raspiblitz set up on a Pi 4 and am trying to connect Sparrow wallet to Bitcoin Core from another machine on the same network. I have read through the instructions at sparrow.com/docs but ...
Alex's user avatar
  • 21
2 votes
0 answers
1k views

Solved: Need help setting up Bitcoin Core full node over Tor (solely) and Tor hidden service. Tried a bunch

Fetching getnetworkinfo should result in IPv4 and IPv6 flags set to false and Tor to true. This will ensure that I am operating my node privately. But this is not the case for me. This is what I ...
bobd's user avatar
  • 29
2 votes
0 answers
141 views

What do I tell my company IT dept so they allow my bitcoin core container to connect to other nodes

I work for a corporation therefore work behind a corporate firewall. I login to their vpn then I access company resources like mails, IMs etc. As a internal team project, I'm trying to setup a btc ...
kdas's user avatar
  • 131
2 votes
0 answers
93 views

Monitor domains used by DNS seeds in Bitcoin Core and Bitcoin Knots

Problem: DNS seeds and security Solution: I want to create a website which does the following: Check 'A' record for all domains used by 9 DNS seeds every 5 minutes Save all IP addresses in local ...
user avatar
2 votes
0 answers
137 views

DNS seeds and security

In the case of website like bitcoin.org some people noticed suspicious things on website and reported. Later Andrew Chow did some analysis and it seems DNS records were changed for the domain: https://...
user avatar
2 votes
0 answers
375 views

Can't open bitcoin-qt GUI on Raspberry Pi

I installed the latest bitcoin node on my Raspberry Pi 4 following this guide: https://www.makeuseof.com/bitcoin-node-raspberry-pi/ Everything went well, only the last step where you need to start the ...
Ricky's user avatar
  • 21
2 votes
0 answers
138 views

Add inputs and outputs to a transaction signed with sighash SINGLE | ANYONECANPAY

I created a transaction with one input and one output, and signed it using sighash SINGLE | ANYONECANPAY. Can I add further inputs and outputs with another wallet using bitcoin-cli?
RobinLinus's user avatar
2 votes
0 answers
84 views

Major changes to Bitcoin since original paper

Is there a history of the major changes/additions (as well as perhaps major proposals) to Bitcoin since the original paper by Satoshi? I realize of course that one can read through the BIPs and ...
one_time_pad_12345's user avatar
2 votes
0 answers
135 views

How to "create new receiving address" from recently installed full node, (0.21.0) with new encrypted wallet?

On March 11th, 2021, I completed my downloaded of the full node from Bitcoin Core, (Bitcoin-0.21.0-win64-setup), on my Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz - 16.0GB, Windows 10Pro. I created a ...
CactusPete20 's user avatar

1
2 3 4 5
13