Skip to main content

Unanswered Questions

201 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
67 views

How to calculate the hashes in Lightning

I was wondering how I calculate the hashes regarding BOLT03 Specification: The Revocation Pubkey is calculated like this: revocationpubkey = revocation_basepoint * SHA256(revocation_basepoint || ...
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
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 = '...
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
56 views

What is the advantage of using truncated HASH256 over CRC32?

Some of the checksums in Bitcoin are the first 4 bytes of the HASH256 of the data. HASH256 is just double SHA256, so SHA256(SHA256(data)). What is the advantage of that over using a dedicated checksum ...
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
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
2k views

How to sign bitcoin raw transactions with Python offline

I have a raw bitcoin transaction created using createrawtransaction unsigned_tx = "...
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
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
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 ...

15 30 50 per page
1
2 3 4 5
14