Unanswered Questions
490 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
305
views
Creating a P2SH-P2WPKH using Bitcoin Functional Test Framework
I'm using the Bitcoin Functional Test framework to understand how SegWit works by analyzing and building a P2SH-P2WPKH transaction.
When I run my code the transaction gets created, but when I inspect ...
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
0
answers
222
views
libwallycore error installing LND on Ubuntu 18.04
I'm setting up an LND node on Ubuntu 18.04. I've installed python3, and cloned the repo. I ran configure, and get this error on the make command:
checking byteswap.h, usability... no
checking ...
4
votes
0
answers
675
views
Bitcoinj: How to fix error "You should use Context.propagate() or a ContextPropagatingThreadFactory"
I'm using bitcoinj from a Scala application... and when I start it, I always get the following errors:
[error] o.b.c.Context - Performing thread fixup: you are accessing bitcoinj via a thread that ...
3
votes
0
answers
154
views
bitcoind still running after 'bitcoin-cli stop'
I'm running Debian 11, all updates installed. 12gb RAM, massive internal SSD for storage.
$ /usr/local/bin/bitcoin-25.0/bin/bitcoin-cli stop has worked well shutting down bitcoind on my computer until ...
3
votes
0
answers
141
views
bitcoind performance issues
I am struggling with poor performance of Bitcoin Core full node, which is used as a hot wallet.
There are similar questions already but without an answer or solution
Bitcoind Performance for ...
3
votes
0
answers
628
views
bitcoin TransactionBuilder is not a constructor
I'm trying to send bitcoin with the bitcoinjs-lib library and I get the following error:
TypeError: bitcoin.TransactionBuilder is not a constructor
at sendmoney (/Users/....../bitcoin.js:53:18)
at ...
3
votes
0
answers
1k
views
Raspiblitz slow sync performance
I'm syncing my raspberry pi 4 model B, 4GB and after 4 days I'm less than 50% synced. It seems as though there is something wrong with bitcoind as there are some weird symptoms going on. The pi is ...
3
votes
0
answers
75
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 ...
3
votes
0
answers
445
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 ...
3
votes
0
answers
1k
views
How to directly query leveldb database to get get a record by transaction hash or by sender's address?
I learned that the blocks and transactions are stored locally in .bitcoin/blocks/index and .bitcoin/chainstate databases, respectively.
I want to make a direct query to those databases to measure the ...
3
votes
0
answers
6k
views
bitcoin-cli - "error: couldn't connect to server" [solved as per comment]
I have bitcoind 0.13.1 running on a Raspberry Pi. I can see it on the bitcoin network using bitnodes.21.co but I can't connect to it locally with bitcoin-cli.
My bitcoin.conf is:
rpcuser=xxx
...