Unanswered Questions
818 questions with no upvoted or accepted answers
5
votes
0
answers
190
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 ...
5
votes
2
answers
970
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 ...
4
votes
0
answers
110
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....
4
votes
0
answers
167
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;
//...
4
votes
0
answers
374
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 ...
4
votes
1
answer
1k
views
Generate addresses from Trezor's xPub using Python
I am trying to generate BIP32 HD addresses from my Trezors xPub key.
I keep getting errors with most of the libs our there. What am I missing?
pywallet:
from pywallet import wallet
xpub = '...
4
votes
0
answers
909
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. ...
3
votes
0
answers
55
views
Verifying Bitcoin Core - Developer Key Fingerprint Confusion
I downloaded the latest version of Core on my Mac and I'm stuck on step 7 of the verification instructions on the Bitcoin Core website:
7. Bitcoin releases are signed by a number of individuals, each ...
3
votes
0
answers
90
views
Utility of longterm fee estimation
I've been reviewing the effectiveness of long-term fee estimation in Bitcoin Core and recently conducted an analysis, which indicates that it might not work as expected.
https://hackmd.io/@...
3
votes
0
answers
37
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 -...
3
votes
1
answer
279
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 ...
3
votes
0
answers
111
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 ...
3
votes
0
answers
68
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 ...
3
votes
0
answers
145
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 ...
3
votes
0
answers
290
views
How to calculate the purging low-fee for a node with the default mempool size?
I'm running a full node with a mempool size set to 2 GB. Default mempool size is 300 MB.
At the moment (block hight 785,095) the mempool size is around 344 MB.
Running rpc command
bitcoin-cli ...