Unanswered Questions
387 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 ...
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
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
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
219
views
How can inputs be retrieved efficiently when parsing the bitcoin blockchain?
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 ...
3
votes
0
answers
128
views
Is there a way to sync bitcoin core without verification?
As the question asks, is there a way that one could sync the bitcoin client without verifying all the blocks. During IBD, downloading the blockchain isn't the bottleneck, what takes time is verifying ...
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
1
answer
134
views
How much on-chain activity is to and from exchanges?
Are there any data services which provide metrics that show how much of the transactions on the Bitcoin blockchain are to and from exchanges?
3
votes
2
answers
292
views
How much data does it take to prove a given transaction exists on the blockchain?
As I understand the SVP protocol, a client can be reasonably certain that a transaction has been accepted on the blockchain if they know it is a member of a certain block, via the Merkle path, and a ...
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
742
views
Can I quickly check the cofactor of secp256k1 is 1
I was wondering if there was a quick way to check that the group underlying the elliptic curve secp256k1 was indeed cyclic with the usual point G a generator. I am given the prime number underlying ...
3
votes
0
answers
103
views
Whisper Implementation in Bitcoin
Is there some kind of implementation in bitcoin to communicate between nodes, which is similar to the Whisper Communication in Ethereum ?
Whisper, is a communication protocol for DApps to communicate ...
3
votes
0
answers
844
views
Querying insight-api to dump all addresses with a positive balance
It's been some time I've been using 'insight-api' (https://github.com/bitpay/insight-api) and I couldn't find any documentation / anything helpful to query leveldb in a way that all addresses with a ...
3
votes
0
answers
158
views
Does a bitcoinj SPV node forward transactions for itself?
The bitcoinj library offers a rather convenient WalletAppKit class, which I'd like to accept payments from customers. In order to facilitate the payments I'd offer the customers to send the ...