Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
4answers
1k views

Are there any opensource PHP cryptocurrency exchange/marketplace

As the title suggest, are there any opensource PHP cryptocurrency exchange/marketplace. Most of the ones I found does not seem to work or are abandoned.
0
votes
2answers
19 views

Bitcoin core make error

I am new to bitcoin core development. I have created a clone using bitcoin core on a mac os mojave 10.14.3. I am have installed all dependencies and am able to run the autogen.sh and configure with ...
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
238 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 ...
2
votes
1answer
408 views

What is the required input for python-bitcoinlib getrawtransaction command?

I am running a bitcoin node on my machine, fully synced with RPC commands enabled, rpc server live and txindex=1. In the command-line I can run the following RPC call and obtain the information ...
1
vote
1answer
91 views

Adding Dependencies to Bitcoin Core

I am currently editing a fork of Bitcoin Core. I have three libraries I would like to add as dependencies. One is my own creation (CPISync) and it depends on a second library (NTL) which in turn ...
0
votes
1answer
40 views

json-rpc of bitcoin not working for testnet(curl command)

I am trying this command to get transaction from bitcoin testnet: curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["txId"] }' -H 'content-type: text/...
0
votes
1answer
46 views

CScript to CPubKey or derive CPubKey from CScript

Please can someone advise if it is possible to derive the CPubKey from a CSript object? Provided i get it up with an address before hand, I can use numerous functions to attain all the info from the ...
0
votes
1answer
56 views

Diferent redeemscript for the same scriptpubkey?

Most transactions to p2sh address has the follwing scriptpubkey HASH160 f45d94733d430261962932e0c847075195916a04 OP_EQUAL As I understood, this transaction do not need to be signed. Is it true? ...
0
votes
1answer
51 views

Converting raw scriptPubKey to readable format

I am debugging Bitcoin cpp code. I wanted to see what exactly come for scriptPubKey property of output. Theoretically, I know this but I want to see in the code how does it looks like. Now while ...
0
votes
1answer
54 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
1answer
52 views

Prompting an account name

I made an account "hello" in bitcoin daemon and wanted to run this. Whenever i put in hello when prompted, getac1 would return empty array; whereas, getac2 and getac3 returns addresses associated with ...
0
votes
1answer
316 views

Bitcoin core internal transfer problem

i have one big problem in bitcoin core internal transfer. to understand my question, please read my problem clearly. 1) Let me explain you by providing example. My one of the core account let's say "...
-1
votes
1answer
183 views

BTC Core not syncing, maybe becacuse it has zero blocks?

I have two BTC Core nodes modified with custom genesis blocks. I'm connecting them using the -connect option and the -listen option, and I can see in debug.log that they see each other: 2018-03-21 19:...
3
votes
0answers
324 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
87 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
219 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
86 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
115 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
104 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
53 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
60 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
44 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
375 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
539 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
81 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
231 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
72 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
90 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
65 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
53 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
122 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
179 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
86 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
148 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
149 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
135 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
48 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
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
139 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
86 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....