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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 views

What is the difference between 51% attack fork, hard fork and soft fork?

I am confused between the forking that can be created because of the 51% attack and the soft fork and hard fork. Does forks because of 51% attack can also lead to new crypto currency creation?
user avatar
1 vote
1 answer
27 views

DNS Seeds for TORv3

Does querying the DNS Seeds via TOR return .onion addresses? If not, then if my node is a TOR only node, does it always get the .onion addresses to connect to, from the hard-coded list? Additionally, ...
user avatar
2 votes
1 answer
483 views

Why do compressed and uncompressed public keys have to produce different addresses?

I am reading through the "Mastering Bitcoin" book. I understand that in the beginning the public key was both the x and y on the elliptic curve. Then it was optimized to only contain the x, ...
2 votes
1 answer
28 views

What can cause bitcoind to take a long time to shutdown?

I just installed Bitcoin Core on a new machine and completed IBD using dbcache ~24000. It took ~40 mins to shutdown for the first time (after running for about 24 hours and completing the IBD). I'm ...
user avatar
0 votes
2 answers
33 views

bitcoind syncing headers but not blocks

I have bitcoind version 23.0 running on a machine in regtest mode. I then start another instance on another machine and perform addnode "x.x.x.x:xxxx" "add" to connect to the first ...
user avatar
  • 117
-1 votes
0 answers
31 views

will Bitcoin reach below 8000 dollars [closed]

Now a days the Bitcoin price was not stable and many business Analyst have saying that Bitcoin price will go below 8000 USD. So, Is it profitable to invest in Bitcoin?
user avatar
2 votes
2 answers
45 views

Splitting of data across blkxxxxx.dat files

I am trying to parse out the bitcoin data using Big Data and wanted to know more about the blk files themselves. I was wondering how does bitcoin split the transactions across the files. I know there ...
user avatar
2 votes
1 answer
71 views

Bitcoin core sync stuck with an error "peer=X is stalling block download"

I have installed bitcoin core (23.0) on a virtual machine (Debian GNU/Linux 10, x86_64) and tried to start the testnet initial block download. Unfortunately,a few days ago blockchain sync is stuck on ...
user avatar
1 vote
1 answer
74 views

How to use a watch-only wallet in bitcoin-core?

I'm using bitcoin-core v23.0. It seems to support watch-only wallets by setting disable_private_keys=true during wallet creation. $ bitcoin-cli -regtest createwallet "test" true { "...
user avatar
  • 117
1 vote
0 answers
15 views

BlockCypher API signature bitcoin transaction Error

I'm trying to make a bitcoin transaction using the BlockCypher API and I'm getting an error when I try to sign the transaction. This function creates an unsigned transaction: def buildTransaction(...
user avatar
1 vote
1 answer
531 views

What was the bug for the Bitcoin value overflow in 2010?

In 2010, there was an incident of value overflow on Bitcoin. I am not a developer, but I want to know what the bug was in more detail. #1 is the only answer I found online, and #2-3 are my attempts to ...
user avatar
1 vote
0 answers
20 views

How is “progress per hour” calculated?

How is “progress per hour” calculated? What would be the shell script code to return this result?
user avatar
0 votes
2 answers
50 views

When did Bitcoin Core deprecate the mining function?

I understand that bitcoin clients originally allowed users to run their own node and mine. This was back when mining was mainly GPU-based. When was the mining functionality removed from Bitcoin Core?
user avatar
0 votes
0 answers
16 views

What would be the challenges for bitcoin client to maintain multiple blockchains?

Historically, sidechains have been promoted as a scaling solution for bitcoin while their most important challenges considered to be trustless pegg-in/pegg-out and 51% attack., but in a hypothetical ...
user avatar
3 votes
1 answer
38 views

Bitcoin node gets stuck on a stale tip

o7 I'm having a issue with my node. I'm running it on a 2017 mba, and randomly it'll get stuck on a stale tip and apparently can't find the active branch, as it'll try for hours until manually ...
user avatar
0 votes
0 answers
39 views

when they say there is 2.3 million bitcoin to mine what do they mean by that?

Where do the new bitcoin go to if they are not bought from a seller, and why is it going to take 120 years for the rest to be mined? also would it not be like trading since after all the btc is mined,...
user avatar
3 votes
1 answer
60 views

How do I maintain a continuously updated copy of a local mempool?

Let's say I want to build a database of transactions that is continuously being updated from a locally running Bitcoin Core node using JSON-RPC and ZeroMQ. My concern is how to make it robust against ...
user avatar
1 vote
1 answer
145 views

Why is the block header version value different from the getblocktemplate version value in the bitcoin blockchain?

When looking at block header for block 746632 I see that the version is 1073676292 or 3fff0004 or when reversed 0400ff3f, but the version I received from a getblocktemplate request is 536870912 or ...
user avatar
  • 257
0 votes
0 answers
18 views

Reset Network Setting in Bitcoin Core

I have changed the SOCK5 proxy ip in the network settings of Bitcoin Core. Now Bitcoin Core does not want to start. Where can I reset or change the network settings?
user avatar
0 votes
0 answers
37 views

Python unable to install Bitcoinlib

I try install bitcoinlib python package and I get an error: Collecting bitcoinlib Using cached bitcoinlib-0.6.5-py3-none-any.whl (315 kB) Requirement already satisfied: numpy>=1.21.0 in ./venv/...
user avatar
1 vote
1 answer
85 views

What is the different between CompactSize and VarInt encoding?

Pieter Wuille's definition of CompactSize encoding seems to match Greg Walker's definition of VarInt encoding, yet the BitcoinWiki claims that CompactSize is not to be confused with VarInt. What, if ...
user avatar
0 votes
1 answer
22 views

How to calculate a bitcoin transaction hash of a coinbase transaction in 2022?

According to all internet sources i have found, the hash/ID of a transaction is the result of the double_sha256 algorithm that takes all raw data of the transaction. I tried to calculate it in Python ...
user avatar
0 votes
0 answers
22 views

Why my node1 can's sync from the other node through RPC command "addnode IP:port onetry"?

I'm using bitcoin core 22.0 to start two nodes in two different containers in the same VMware ubuntu18.04, with network mode using Host-Only(I will talk about the reason later). What my aim to do so ...
user avatar
  • 21
0 votes
0 answers
31 views

Can Bitcoin Core Blockchain initial sync time in BitcoinQT be sped up?

Given the following platform hardware and internet data speed (provided below), what settings are recommended for fastest possible blockchain download and sync? This is the hardware I'm running: Note:...
user avatar
-1 votes
3 answers
76 views

How 2 chains co-exist together?

I am not able to understand, how 2 chains co-exist together, like these were the observations which are ambiguity for me: In one reading I have read, Only longest chain is valid and and rest chains ...
user avatar
1 vote
1 answer
76 views

I think I was victim of a sybil attack

So I am currently working on a project using bitcoin. I started with a full node that I tried to secure following the best practices available online. Then, I set up an electrum server that was ...
user avatar
2 votes
1 answer
75 views

Is anyone working on separating the wallet from Bitcoin Core?

I don't remember the talk that I was watching, but if I remember correctly the speaker mentioned something about separating out the wallet part of Bitcoin Core because not all of its functionality is ...
user avatar
  • 35
2 votes
0 answers
35 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
0 votes
0 answers
25 views

Could someone share with me some documentations or sites on how to set up a custom signet using bitcoin core?

Recently I am going to use bitcoin core to set up a custom signet on my docker. I have read some implementations on wiki, but I had some problems when starting up a custom signet. One of the problem ...
user avatar
  • 21
2 votes
1 answer
60 views

On signet of bitcoin core, why didn't the average time between blocks I mined accord with the time I set?

I'm new here. I met some problem when I use signet on bitcoin core in docker container. I used this command to work out the nbits value to set the average mining time which is 60s. python3.8 miner --...
user avatar
  • 21
0 votes
0 answers
11 views

btc-rpc-explorer + bitcoin-core + electrum-personal-server... explorer can't connect to electrum personal server (

I am running the above on a laptop PC under windows 10 - to have a local standalone bitcoin blockchain explorer. They all seem to run fine in themselves. But when the explorer (https://github.com/...
user avatar
  • 101
0 votes
1 answer
35 views

Reconfigure Bitcoin Core to allow Wallet

I installed and configured a testnet node but I forgot to install sqlite so all wallet-related commands do not work... Is there a way to fix that without having to setup a whole new node? Thanks!
user avatar
  • 303
0 votes
2 answers
70 views

Bitcoin Core continuously downloading Blocks, How to stop it from downloading?

I just installed Bitcoin Core (Windows Version) and Install it in my local machine and it started downloading showing 0.3% already downloaded and keep going. I tried to Disable Network Activity icon ...
user avatar
0 votes
0 answers
21 views

Online resources to learn bitcoin from basic to Advance (might be building whole network) from scratch [duplicate]

I am new to bitcoin network, I want to learn the bitcoin from basic to advancev ( might be building whole bitcoin network from scratch including cryptography, wallets, codes, etc) from scratch. Kindly,...
user avatar
2 votes
0 answers
30 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:...
user avatar
2 votes
1 answer
37 views

what is SERIALIZE_METHODS macro in the Bitcoin Core?

* Implement the Serialize and Unserialize methods by delegating to a single templated * static method that takes the to-be-(de)serialized object as a parameter. This approach * has the advantage ...
user avatar
0 votes
0 answers
19 views

How does disablewallet parameter in bitcoin.conf affect bitcoin-cli auth with cookie and non-standard datadir?

I have two seperate bitcoin nodes running v23. Both have identical datadir paths. Only difference is that disablewallet=0 in one bitcoin.conf, disablewallet=1 is in the other. When I start both ...
user avatar
  • 1
0 votes
1 answer
32 views

CLI command "createwallet" does not work on testnet VM

I have a headless virtual machine to try out some stuff in testnet. Strangely, I can not use the createwallet command. It gives me the error error code: -32601 error message: Method not found This is ...
user avatar
  • 303
1 vote
1 answer
55 views

Does Bitcoin Core really use random delay in transaction relay?

I read that bitcoin uses random delay when relaying transaction to other peers in order to protect privacy. When I read the source code of the newest Bitcoin Core, I found a function called ...
user avatar
  • 65
0 votes
1 answer
45 views

Bitcoin blockchain verification on download

I would know what does Bitcoin verify when you download a block. Are the transactions verified too, or not? If they are, will it be the case for their signatures? Best wishes.
user avatar
  • 83
0 votes
1 answer
30 views

Bitcoin-core download more then blockchain size

I have installed bitcoin-core on my digitalocean droplet and configured with the following bitcoin.conf : datadir=/mnt/volume_name/Bitcoin dbcache=1000 txindex=1 server=1 rpcuser=rpcuser rpcpassword=...
user avatar
0 votes
1 answer
47 views

Does current Bitcoin break in 2038?

I've heard about year 2038 problem and I'm worried I've read about Bitcoin measuring time with 32 bits, why aren't developers worried about Y2038P only 15 years away?
user avatar
  • 427
0 votes
2 answers
89 views

Mining stale low-difficulty blocks as a DoS attack

A DoS attack vector against a bitcoin node I haven't really seen mentioned anywhere is mining a stale chain in a low-difficulty era (say right after the genesis block), ideally with a lot of expensive ...
user avatar
5 votes
2 answers
547 views

What is the purpose of indexing the mempool by these five criteria?

In the bitcoin source code in txmempool.h, a comment says that unconfirmed transactions are indexed by five criteria: * mapTx is a boost::multi_index that sorts the mempool on 5 criteria: * - ...
user avatar
0 votes
0 answers
14 views

What are the best bitcoin libraries to implement a wallet and its functionalities in a project?

It seems like there is some bitcoin librairies for interacting directly with a node, or through a server. I have seen a python, rust, go... Aside the fact that anyone can have a preference for a ...
user avatar
2 votes
1 answer
88 views

How to clear peer list?

How to clear bitcoind's peer list? (also containing peers in the past) I didn't find an RPC command for it, is it stored in a file? Where?
user avatar
0 votes
0 answers
44 views

How to compile bitcoin source code with wallet?

I've built the bitcoin core on my computer and once I tried to run tests related to wallet, I encountered this error: [amirreza@localhost bitcoin]$ python test/functional/wallet_createwallet.py 2022-...
user avatar
4 votes
1 answer
105 views

How are validity flags in block index set in concurrent blocks when one of them is chosen?

I'm trying to understand block validity flags, and what happens when a branch occurs. I found a block status flags in the bitcoin core source code: enum BlockStatus : uint32_t { ...
user avatar
  • 185
0 votes
0 answers
53 views

bitcoin core 22.0 debug problem, and, berkeley version?

you know the problem of this sorti problem ? error and version berkeley ? please ! Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) Using wallet C:...\wallet1.dat ( wallet.dat and the ...
user avatar
1 vote
1 answer
39 views

Sign raw transaction with key

I'm upgrading my application from bitcoin core 21.0 to 23.0. In core 21.0 I created a raw transaction and sign it with my private key after I called dumpprivkey RPC. At core 23.0 I received this error ...
user avatar
  • 165

1
2 3 4 5
78