Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
716 views

Early version of bitcoin and poker

How can we locate the code for an online poker game in version 0.1.0 of Bitcoin, which multiple articles on the internet claim was included by Satoshi Nakamoto? Furthermore, how can we verify that ...
Saxtheowl's user avatar
  • 2,830
1 vote
2 answers
140 views

What is the backup plan for the social organization surrounding Core development?

The question of GitHub alternatives has been raised and closed. Alternative, backup repos exist. That said, I have not seen any contingencies for planning the social move to those repos and organizing ...
jarctu's user avatar
  • 13
6 votes
2 answers
828 views

What is the purpose of indexing the mempool by these five criteria?

In the bitcoin source code in txmempool.h, a comment says that unconfirmed transactions are indexed by five criteria: * mapTx is a boost::multi_index that sorts the mempool on 5 criteria: * - ...
Amir reza Riahi's user avatar
2 votes
2 answers
465 views

Does bitcoind validate every block for every time it starts?

When running bitcoind, it starts downloading the blockchain and validate every block in a row. It stores the blockchain in the ~/.bitcoin/blocks directory. And when we break daemon and restart it, ...
Amir reza Riahi's user avatar
0 votes
1 answer
55 views

Trying to validade a bitcoin block

So I'm trying to validade a bitcoin block just for curiosity, let's take for example bitcoin block #1 (https://bitpay.com/insight/#/BTC/mainnet/block/...
Gabriel Lucas's user avatar
0 votes
2 answers
172 views

What's the relationship between Bittorrent and Bitcoin?

I know both implementations make use of decentralization, but is Bitcoin using any technology that was developed by Bittorrent?
Bitcoingraffiti's user avatar
0 votes
1 answer
662 views

Building Bitcoin Core on Linux/Ubuntu with Visual Studio Code

Does anyone developing Bitcoin Core use VSCode for compilation and debugging on Linux/Ubuntu? How can one configure VSCode to compile Bitcoin Core?
user107511's user avatar
1 vote
1 answer
343 views

How exactly does bitcoin code change happen in a decentralized system [duplicate]

I have long been under the assumption that bitcoin was just a "protocol" or a "contract“. Different nodes run their own implementation, on different hardwares. Some are efficient, some ...
CuriousMind's user avatar
1 vote
1 answer
69 views

Where change the size of the window in Bitcoin code?

I already try changeing the height and width parameters of the forms in src/qt/forms but nothing changes, where else i need to look?
user120900's user avatar
1 vote
0 answers
96 views

How can I add the MySQL C++ connector to Bitcoin Makefile?

I'm trying to add a custom function to my bitcoin client that queries a mysql db. I followed this guide for the basic: https://technology.finra.org/code/compile-run-customize-your-own-bitcoin-client....
JJJ's user avatar
  • 11
2 votes
1 answer
1k views

Bitcoin ECDSA signature in the compact format

I would like to understand how to get Bitcoin ECDSA signature in a compact format, when it's exactly 65 bytes. In the bitcoin-core repository, secp256k1_ecdsa_recoverable_signature_load is ...
Oroffe's user avatar
  • 125
1 vote
0 answers
98 views

What is the best way to test new consensus protocol?

I wanted to test a new consensus protocol. However, the bitcoin core is a large codebase (>100k lines). Is there any small codebase which is designed to test new consensus protocols and includes only ...
Vivek Bagaria's user avatar
0 votes
1 answer
104 views

Is it true that only one message can be sent at a time in Bitcoin Core?

I looked into Bitcoin Core client code, and it seems that there is a lock that allows only one thread to send data (Block, TX, etc.) at a given time point. If this is true, it means that transactions ...
Northy Mol's user avatar
1 vote
1 answer
60 views

Why was 'extern' used in the noui.h file?

When I review the Bitcoin Core source code, I see the noui.h as a header file, but the method noui_connect has been declared with the keyword extern. I think there is no need to do this. extern void ...
jinsong ai's user avatar
1 vote
1 answer
71 views

Bitcoin Code and Transaction Model [closed]

I'm Studying bitcoin from a while, focusing transaction model and I'm looking to extract transaction model only to try out some experiments to make the structure better from the current one. If anyone ...
idk's user avatar
  • 49
0 votes
1 answer
82 views

What are the most historic code changes on bitcoin core?

I was looking through the pull requests on bitcoin core's github and was looking for some of the major changes to the code. https://github.com/bitcoin/bitcoin/pulls?page=10&q=is%3Apr+is%3Aopen ...
Pedro's user avatar
  • 385
0 votes
1 answer
470 views

What is consensus.BIP34Height? [duplicate]

In the bitcoin source code, I am looking at chainparams.cpp. I can see on line 81 something called consensus.BIP34Height? What is that? I can't figure out what this is. I'm not sure what else to ask ...
Dev Oskii's user avatar
  • 297
0 votes
1 answer
170 views

What is 999999999999ULL

I am building an altcoin based on bitcoin 0.12, in chainparams we find : consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nStartTime = 0; consensus.vDeployments[Consensus::...
Etherkimist's user avatar
2 votes
0 answers
211 views

Clarification of some getaddr() function inputs and outputs

In the Bitcoin system to discover new nodes, each node communicates with its peers by sending getaddr() to the peers. Based on the bitcoin implementation: //! the maximum percentage of nodes to ...
user1111's user avatar