Unanswered Questions
249 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 ...
4
votes
1
answer
1k
views
php private key to wallet import format (wip)
I have been writing a php file intended to create a bitcoin private key and change it to wallet import format. The issue is when I try a command in a gnome-terminal such as:
bitcoin-cli importprivkey ...
3
votes
0
answers
140
views
What is exactly Randstorm vulnerability?
I've read the article from Unciphered about it, multiple times, and still fail to understand it
It basically says that wallets generated by BitcoinJs front end library from 2011 to 2015 are vulnerable ...
3
votes
1
answer
472
views
Partial private key recovery
I had the pleasure of setting up a Bitcoin wallet using the Blue Wallet app and diligently noted down the 52 characters of my private key on a piece of paper for backup purposes.
Upon revisiting the ...
3
votes
0
answers
117
views
Schnorr signature key storage
So everyone talks about Schnorr signatures and Taproot when talking about Bitcoin. I would like to know if there is any standard that they will use to store the keys used in this algorithm. And also I ...
3
votes
1
answer
324
views
Key Derivation - CKDprv & CKDpub
I would like to replicate this derivation of keys.
Chain m
ext pub: xpub661MyMwAqRbcFtXgS5sYJABqqG9YLmC4Q1Rdap9gSE8NqtwybGhePY2gZ29ESFjqJoCu1Rupje8YtGqsefD265TMg7usUDFdp6W1EGMcet8
ext prv: ...
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
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
1k
views
Import private keys from Multibit into Armory?
I am attempting to import a private key that was made in Multibit, into Armory. I am able to restore this key into other wallets, such as the Android Bitcoin Wallet, Mycelium and Electrum, but when I ...
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 ...