Skip to main content

Unanswered Questions

170 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
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
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 ...
3 votes
0 answers
257 views

Bitcoin-qt database for BitcoinJ downloadBlockChain()

I am using bitcoinJ to develop a bitcoin based payment module for my project. I have the complete block chain downloaded/in sync with the network on the bitcoin-qt client. Is there a way I can use ...
3 votes
1 answer
245 views

What is the age of the oldest known Bitcoin core developer?

I am trying to compile some demographic data on who has contributed to Bitcoin so far and track how the demographics are changing over time. Since GitHut does not show me demographic data I have ...
3 votes
1 answer
275 views

Can there be more than one result of decoding a raw transaction?

I was looking in rpcrawtransaction.cpp and came across the signrawtransaction rpc method. While reading through this method, I thought these lines seemed strange: vector<CTransaction> ...
3 votes
1 answer
103 views

How the Bitcoin community will handle attacks on a Client's code?

I have some thoughts about the following scenario. The brightest future. The Bitcoin becomes a very popular and liquid currency all over the world. Some serious financial or political parties may ...
3 votes
2 answers
815 views

How to sign a transaction using BitcoinJ

I am having problem signing the transaction using BitcoinJ library without the Wallet instance, I only have the Transaction class instance and the ECKey in order to sign the transaction. Is there a ...
2 votes
0 answers
80 views

Clarity on rpc flag design to pass boolean arguments

I am working with RPCs flags that may have a boolean argument which is extracted using GetBoolArg and there are various ways to pass Boolean arguments. For example -fastprune=1 // true -fastprune=...

15 30 50 per page
1
2 3 4 5
12