Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bitcoincore-development]

This tag should be used for questions regarding Bitcoin Core development. This includes questions about the source code and development of Bitcoin Core.

3
votes
1answer
160 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
1answer
235 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
1answer
77 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
0answers
318 views

Bitcoin core accounts deprecated, now what system i implement to make use of accounts?

I am designing one of the bitcoin based app on Bitcoin core using account system. Accounts i have used to store users wallet balance in different accounts. But since i know it is deprecated, then ...
3
votes
0answers
85 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 ...
2
votes
0answers
217 views

How do i loop through all the related address in a given wallet address

I am using bitcoin block chain API, it is possible to get amount sent in a transaction id and the addresses it was sent to. My problem is getting the RELATED ADDRESSES to the address that sent the ...
2
votes
0answers
61 views

Which function is called to mine a block, broadcast the newly mined block & receive a newly mined block?

I am trying to understand the control flow and handling of transactions in the memory pool.
2
votes
0answers
85 views

Debug bitcoin protocol implementation

When I'm trying to send a "VERSION" message with my custom bitcoin client, I get: Warning: Local node 127.0.0.1:56425 misbehaving (delta: 1)! What does it mean? How do I know what exactly is wrong ...
1
vote
0answers
24 views

Transaction broadcast mechanism

After initiation of transaction, transaction will remain in the memory pool of all peered nodes. How Transaction reach to the memory pool after receiving by the node? Do transaction broadcast to all ...
1
vote
0answers
13 views

how do i change my bitcoin cleint application?

I recently downloaded the bitcoin (--testnet) blockchain data using Bitcore(I thought it was the Orginal client) for some development purpose. but now, I like to move to bitcoin core client. Should I ...
1
vote
0answers
99 views

Sources to study Bitcoin source code, more specifically its UTXO model C++ code?

Can anyone suggest some sources to learn about the source code of bitcoin or similar tech which are using UTXO model for their transactions.
1
vote
0answers
92 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 ...
1
vote
0answers
48 views

Trying to connect to bitcoin core on Google Compute Engine from an external IP, I was getting “couldn't connect to host error”

I have having issue connecting my bitcoincore from an external ip address (Hostgator to be specific). The Bitcoin core is hosted on Google Compute Engine (Windows Sever 2012). Here is what i have ...
1
vote
0answers
46 views

Using blockcypher BitcoinJs at clientside is secure or not?

I am trying to create new transaction using bitcoinjs at client side. Is it a secure way to create a transaction from Client side, which includes curl call. Scenario, if I start from creating the new ...
1
vote
0answers
126 views

Why bitcoin does not generate and support Segwit addresses by default automatically?

I downloaded the latest bitcoin core, but the generated wallet and address was not a segwit. Why bitcoin core, does not support segwit by default? and when it will be changed?
1
vote
0answers
42 views

Do we know which companies donated to Bitcoin Core development?

Similar to a previous question (How do the people who work on Bitcoin Core get paid?) which I felt does not adequately answer my interest. Do we know specifically which developers are drawing a ...
1
vote
0answers
354 views

Bitcoin QT - why do I have an undefined reference to `qInitResources_bitcoin() error

I have built the Bitcoin source code, created my own genesis block and everything was working great! Now that I have changed the word bitcoin to GELF in some places of the program to suit my own ...
1
vote
0answers
519 views

bitcoind transaction fee calculation

I'm using bitcoind and for the transfer of tokens from one account to other, I'm using sendFrom method. but there is a transaction fee calculation and on the bitcoin-qt panel, In the transactions ...
1
vote
0answers
80 views

How to update code of my existing altcoin?

I have an altcoin with 10 miners. I want to update some changes in the code. with new rules of blockreward. I have created new code also. But how to make changes effect in the current blockchain, ...
1
vote
0answers
221 views

Explanation of parameters from bitcoin/src/chainparams.cpp

Please explain the following parameters in bitcoin chainparams.cpp file consensus.powLimit = int256S("00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); consensus....
1
vote
0answers
69 views

C++ Proofofworklimit to bitcoinj util.DecodeCompactBits

What is equivalent bitcoinj util.DecodeCompactBits for below c++. Cbignum(~uint256(0) >>32) Cbignum(~uint256(0) >>20) Cbignum(~uint256(0) >>23) Cbignum(~uint256(0) >>22)
1
vote
0answers
88 views

Why do transactions get verified before it is clear that the block header is valid?

When I researched for the answer on What happens in detail, when Bitcoin Core verifies a block during synchronization?, I noticed something: According to the Wiki-Entry on Protocol rules some of the ...
1
vote
0answers
64 views

How to obtain Block number of transaction?

Is there any function in bitcoind which when given the transaction(CTransaction& tx)/ transaction hash, returns its block number ?
1
vote
0answers
64 views

Blockchain (lack of backwards) compatibility in Bitcoincore 0.10.x

From Bitcoincore release notes: Because release 0.10.0 makes use of headers-first synchronization and parallel block download (see further), the block files and databases are not backwards-...
0
votes
0answers
135 views

RPC connection ECONNREFUSED

I was trying to connect my bitcoin network with an RPC, it worked well with my localhost however when I try to connect it remotely from another host it returned the following error { Error: ...
0
votes
0answers
10 views

Where does bitcoin handle merkleblock messages?

I'm trying to understand the internals of bitcoin itself, and have deciphered a number of the peer-to-peer messages, but I'm having a hard time tracing where bitcoin handles the MerkleBlock message, ...
0
votes
0answers
49 views

How to flush bitcoind cache?

I have been working with a bitcoin full node trying to implement a personal blockchain explorer using RPC API calls to populate an external database. After trying to gather some statistics on RPC ...
0
votes
0answers
37 views

gitian-builder fails when building a windows wallet

GItian-builder fails when I run deps-win32.yml. I am using bitcoin's earlier version so that to learn creating new coin. I'm using 0.8.7.4 and in that gitian-builder version there's a package ...
0
votes
0answers
49 views

Does Bitcore API supports Litecoin and Bitcoin cash?

Does Bitcore API supports Litecoin and Bitcoin cash? If so, kindly suggest me where to find the documentation for the same
0
votes
0answers
42 views

Help With Gitian-Builder - Failed to load “rcfile”

I' having hard time building the Bitcoin using gitian-builder. I'm getting closer but i'm stuck at this error and I dont know what it really means or why is it even there. I'm using the gitian-build....
0
votes
0answers
108 views

Bitcoin Core install on Inmotion Hosting VPS server failing

I'm trying to install a full node on a VPS instance of Inmotion Hosting linux server. I have no issues with downloading and installing the Bitcoin Core files from Bitcoin.org, but upon trying to start ...
0
votes
0answers
164 views

Get value from leveldb bitcoin using node.js?

I request information about the block 100001 using leveldb and node js. Below is my code example. var level = require('level'); var db = level('E:/download/blockchain/block'); var str = '...
0
votes
0answers
76 views

Selfish miner implementation

I want to implement a selfish miner such as mentioned in this paper. The general idea is known in the community - every selfish miner in a selfish miners pool maintains 2 different blockchains, and ...
0
votes
0answers
138 views

New coin daemon crashes ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)

Hi so I generated the genesis block using std::unique_ptr<CChainParams> CreateChainParams(const std::string& chain) { if (chain == CBaseChainParams::MAIN) return std::unique_ptr<...
0
votes
0answers
311 views

Problem mining Dash clone

First of all I want to clarify that I don't want to create another dash altcoin clone, I want to understand the code and be able to modify it for educational purposes. I cloned the dash's code, I ...
0
votes
0answers
133 views

How to pass parameters in JSON RPC API .NET implementation?

This is my code, it works fine for the API call that do not require any parameters. private static void Main(string[] args) { Console.WriteLine("Starting"); List<string> ...
0
votes
0answers
23 views

PROTOCOL_VERSION vs INIT_PROTO_VERSION?

So, version.h defines two constants, PROTOCOL_VERSION and INIT_PROTO_VERSION. PROTOCOL_VERSION seems self-explanatory, but for INIT_PROTO_VERSION there's a comment: //! initial proto version, to be ...
0
votes
0answers
20 views

storage requirements for getBlockTemplate (Bitcoin Core API)

I wanted to use something like the Bitcoin Core API RPC command "getBlockTemplate" to retrieve the last Block from the blockchain pro-grammatically via an API. However the storage required for using ...
0
votes
0answers
87 views

Creating exe using altcoin fork - Getting error in ssh connection

I have stuck in one point which is related to create exe using gitian. I have created virtual machine with gitian user and i can login using ssh cmd: ssh gitian@localhost -p 22222 But now When I ...
0
votes
0answers
42 views

Bitcoin API for building own trading website

Is there any API for building own exchange web application for trading,purchasing bitcoin, creating bitcoin wallet and address.?
0
votes
0answers
60 views

I have created own crypto and if my balance will complete As i set in my setting?

I have one confusion regarding my balance limit will over. My configuration is below: /** The maximum allowed size for a serialized block, in bytes (network rule) */ static const unsigned int ...
0
votes
0answers
50 views

How does the bitfury crystal software works?

Can someone explain to me how the crystal software works? The transfers made using multiple wallets are anonymous and not traceables?
0
votes
0answers
51 views

Updating the site's wallet now that SSL support for RPC,has been dropped

I used to have an old bitcoin wallet version 0.11.2 on my site for years. Now I've downloaded the latest version 0.15.1 and it says RPC: SSL support has been dropped. I've removed the rpcssl=1 ...
0
votes
0answers
129 views

Help with multi-input transaction by code

I'm trying to consolidate multiple inputs into a single output, all left over is for the miner. When I send my transaction to a peer, it is never mined. I believe something is invalid in the multi-...
0
votes
0answers
134 views

How does the proof of burn helps in mining?

Following are question related to proof of burn. Miners sends the coin to a non-spendable address. What are the coins sent to the non-spendable address? Is it transaction fee or miners own coin or ...
0
votes
0answers
47 views

Bitcoin blockchain full data

Where is stored a full data set of bitcoin blockchain? Is ../blocks/ dir contains a full data for blockchain work? I know that ../chainstate/ and other files truly contains service information, ...
0
votes
0answers
110 views

Blockchain nodes and webwallet

I am rather new to the blockchain technology and wallets. I was thinking about creating a web wallet for storing my coin. I have a basic understanding to how blockchain tech works, I know it takes ...
0
votes
0answers
1k views

Generating genesis hash for multiple algorithm

I am learning crypto-currency developement. Right now i am compiling some wallets (Bitcoin, Litecoin, Dash, Pivx ) and getting into the building process with gitian. I also read the source code and ...
0
votes
0answers
131 views

Public key storage by full nodes

How many public keys on an average, do the full nodes store, in order to validate/authenticate the transactions they receive?
0
votes
0answers
81 views

Understanding the Flow of init.cpp upon startup

I'm trying to develop my code level understanding. I'm somewhat of a beginner, and my understanding was that in C++ the action starts from the main() function found in main.cpp It seems that main....