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
23 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
161 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
240 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
437 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
119 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
42 views

Need to use two bitcoin core but issue with syncing

Need to know how we can use two bitcoin node for example. I do have two bitcoin full nodes A and B. Created wallet address at A and has all transaction details at wallet.db in node A. But I need to ...
0
votes
1answer
53 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
60 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
68 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
56 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
64 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
55 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
339 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
218 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
340 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
89 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
127 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?
2
votes
0answers
228 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
87 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
26 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
14 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
126 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
122 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
62 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
67 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
46 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
409 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
581 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
240 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
75 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
91 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
69 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
67 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
30 views

Exception CompactSize when I parsering a nuimbar od the blk file >= 976

I wrote a bitcoin core parser, for my personal project and because it helped me to start understanding the bitcoin protocol as a data structure. This project mainly parsers every blk file and creates ...
0
votes
0answers
21 views

How to keep node mining automatically in qt wallet or console wallet

In the qt wallet, manually need to start the mining process in wallet console by giving generate nblock. so is there any other command or solution to automatically mine the block and how to confirm ...
0
votes
0answers
20 views

How to decrease target difficulty in bitcoin source (v0.8)

I have followed this video series ( https://www.youtube.com/watch?v=mDGxGYvkDEE ) to create an alt-coin by forking Litecoin v0.8, which i followed the videos and successfully created an altcoin. Now ...
0
votes
0answers
13 views

Is their a way to use Bitcoin's Testnet/LN Testnet within CLI without downloading Bitcoind?

I'd like to start working with Bitcoin's & Lightning's Testnet but don't want to download bitcoind on my current computer.
0
votes
0answers
193 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
179 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
50 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
152 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?