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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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
1answer
23 views

What language was it written?

Different languages are used in coding the blockchain these days. Which was used in coding BTC and how is it superior to others?
-2
votes
0answers
10 views

pursuing your greatest achievement in cryptocurrency? [closed]

the benefit of pursuing of my achievement in cryptocurrency is to get my goal, the goal of being a successfull trader in terms of trading..To sell high when i buy lower price..Just like in real life ...
0
votes
0answers
8 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

How does one create a new coin and new blockchain(I'm not talking about tokens) [closed]

It's been a long time since I started figuring this out. I think I need someone experienced's advice. I want to create my own coin and my own blockchain. The first option is to write everything(...
0
votes
1answer
17 views

Where can one find the Bitcoin core roadmap?

Is there a site where it shows the current Bitcoin core roadmap on what features will be implemented in the future?
0
votes
0answers
8 views

cannot send transaction

Here is my nodejs code... const request = require('request') Promise = require('bluebird') host = 'https://chain.so/api/v2' bitcore = require('bitcore-lib') wif = ...
1
vote
1answer
28 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
43 views

Does Electrum provides any API?

Does Electrum provides any API? If yes, please let me know if there's any dedicated documentation available. Also, does Electrum support Bitcoin Cash? Purpose: I want to integrate Electrum into my ...
0
votes
1answer
27 views

How are blocks accepted in bitcoin?

These are steps to run the network quoted from the Bitcoin white paper (https://bitcoin.org/bitcoin.pdf): New transactions are broadcast to all nodes. Each node collects new transactions into a ...
0
votes
1answer
20 views

How is the ExtraNonce calculated in Bitcoin Core

The Extra nonce for the genesis block in bitcoin core is 0x010445, how was this value calculated?
0
votes
0answers
29 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
-1
votes
0answers
14 views

Byte Array's and Bitcoin Address Generation

Why are byte arrays so important to bitcoin address creation ? In every programming language I have tried to create a Bitcoin address from scratch with, the implementation requires that you convert a ...
1
vote
2answers
39 views

Is it possible to create batches of transactions in bitcoin blockchain?

Scenario: Suppose that I have to make three transactions simultaneously to Alice, Bob and Claudia. Now the condition is if any one transaction fails the other two must also not go through. Query: ...
0
votes
0answers
14 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
34 views

What are the pitfalls of repurposing the nLocktime field for backward compatability in eltoo?

In the eltoo proposal for paymentchannel management with less overhead proposed by Christian Decker et al. the update transactions need to be ordered. In chapter 4.1.2 of the proposal it is described ...
0
votes
0answers
46 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
1answer
36 views

Need Help with Gitian-Builder - Missing Signer Error

I'm having a hard time finishing this project. I'm very frustrated and I really need your help. I'm trying to create the QT wallet for Windows & Linux. I have already cloned a masternode and I'...
0
votes
1answer
9 views

Please explain CFeeRate::GetFee(size_t nBytes)

Referring to the function CAmount CFeeRate::GetFee(size_t nBytes_) in feerate.cpp: If I pass in say 2000 as the nBytes argument, what will this function return as the fee nFee? I don't understand ...
1
vote
1answer
27 views

How to send Bitcoin from one addresss to another using nodejs

which api i can use to tranfer BTC from one address to another. I have knowledge about bitcoin-transaction api but it does not allow to setup fees. We have try this api but it cost too much high for ...
0
votes
1answer
22 views

Is Bitcoin stateless? Do miners keep track of current 'state' of bitcoin blockchain?

In Ethereum or EOS, concept of Accounts make it important to keep track of 'current state'. (e.g.) current balance of Account A is 300 EOS. Especially in Ethereum, roothash of state tree is stored in ...
0
votes
1answer
39 views

History of ideas behind a bitcoin protocol [closed]

Could you outline the logical sequence of main ideas (concepts) that contributed to the evolution of the bitcoin protocol from the beginning to now?
0
votes
1answer
57 views

Failed at the bitcore-node@3.1.3

Approach I'm trying to install bitcore on Windows 10 and Ubuntu 18 but I could not. Problem I have followed the following steps: # Install NVM (1) # Install script # With CURl # curl -o- https:...
0
votes
1answer
47 views

How i get callback notification while BTC received to wallet

i installed bit coin core in my Windows machine [test-net] .i implemented a C#.net application using Bitcoin RPC command like generate address , transfer BTC to one address to another address. It ...
0
votes
1answer
25 views

Bitcoin RPC Call [closed]

I want to monitoring 3000 address continuously for BTC. So I am using third party API for get BTC balance. but all API has limitations for access. Can I get an API reference where I can call API ...
-1
votes
2answers
156 views

hash dosent match nbits

Im trying to clone a coin and I created a genesis block but when I run the wallet, it dosent start.. When I go to the log file, I see this error and I honestly dont know how to solve the problem. How ...
0
votes
3answers
117 views

How to derive segwit addresses from an extended public key?

I tried to use the following code: DeterministicKey key = DeterministicKey.deserializeB58(null , "xpub...", MAINNET); DeterministicHierarchy hierarchy = new DeterministicHierarchy(key) ; ...
0
votes
0answers
87 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 = '...
1
vote
0answers
39 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
2answers
31 views

Should i send bitcoins to hash160 or normal address

I am a bit confused here. I know that a public address is generated from the private key which you should keep secret, or else, anyone who has it will be able to spend the coins "in that address". ...
0
votes
0answers
36 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
2answers
42 views

transaction broadcasts, declining node count, mining basics and costs.

I read a lot about bitcoins and mining and nodes but there are a few questions that are still not answered, which are the following: As I read when a transaction is broadcasted, at first it gets ...
0
votes
1answer
72 views

Failed to build Bitcoin Core from source, Ubuntu 17.10

I'm building from source v0.16.0 on Ubuntu 17.10 I cloned the repo, checked out on v0.16.0, ran ./autogen.sh followed by ./configure CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768" ...
1
vote
0answers
42 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 ...
0
votes
1answer
21 views

Why is the value of the input way higher than the output resulting in a second change output? [duplicate]

Background: I'm experimenting on the LTC testnet client. My client has a balance of 0.4 LTC and I sent 0.1 LTC to another wallet address. https://chain.so/tx/LTCTEST/...
0
votes
0answers
19 views

Simultaneous mining of blocks and the resulting problems [duplicate]

In bitcoin, suppose two nodes simultaneously mine a block (say B and B') and broadcast to all other nodes. In node N, receives both, it places both B and B' as a fork. If this node N itself is mining ...
1
vote
0answers
33 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 ...
0
votes
1answer
67 views

How many transactions per second can blake2s algorithm can handle?

i saw the hash functions speed (miBps) are 947 according to this website: https://blake2.net/ but how many transactions blake2s algorithm can handle? Verge uses the same algorithm right? more about ...
1
vote
1answer
78 views

how to insert new checkpoints in a bitcoin clone

I know Checkpoints are old blocks hardcoded into the source: What are checkpoints? {11111, uint256S("0x0000000069e244f73d78e8fd29ba2fd2ed618bd6fa2ee92559f542fdb26e7c1d")}, {33333, uint256S("...
0
votes
2answers
28 views

it is any command line to check the ammout of coins willl be create after build the wallet?

it is any command line to check the ammout of coins willl be create after build the wallet? i just cloned bitcoin and changed the ammount of coins to be 10 million MAX_MONEY = 10000000 so i would ...
0
votes
1answer
25 views

How can I convert bitcoin to any other new launched coins? [closed]

I have a bitcoin wallet and need to convert all user wallet balance into new launched coin.
0
votes
2answers
31 views

Bitcoin Controlled Supply

Satoshi has never really justified or explained many of these constants. it is someone found out about this constants yet? link: https://en.bitcoin.it/wiki/Controlled_supply
0
votes
0answers
96 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
248 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 ...
1
vote
0answers
392 views

One time paid or open-source Bitcoin exchange [closed]

Which is the best cryptocurrency exchange on the market? It can be one-time paid or open-source, no PHP projects, no outdated, no decentralised like forkdelta. I found BlinkTrade, which seems work ...
1
vote
3answers
41 views

Where can I find more resources that explain Bitcoin simply?

I have been learning crypto for a little bit now and have been helped a lot by pebwindkraft, Andrew Chow and Adam in particular. I would like to ask about resources that help beginners like me to ...
-1
votes
1answer
107 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:...
1
vote
1answer
54 views

What does “P2P peers available. Skipped DNS seeding” means?

I'm trying to avoid bitcoin daemon trying to connect to other addresses but the ones that I set in bitcoin.conf. I've commented vSeeds in chainparams.cpp and I've cleared vFixedSeeds in this way: ...
0
votes
1answer
47 views

getrawtransaction asm returns with [ALL], should it be?

.\bitcoin-cli.exe getrawtransaction af66f73a42d33a446e52f1c8e82a99fcd9d788a0ec5c70de6f633 213a7546cdb true "scriptSig": {"asm": "30460221009c8...acc0a2a [ALL] the same transaction on blockchain ...
0
votes
1answer
165 views

Bitcoin Insight API - How to create new address?

I need to create new public address with private key. but there is no way to create new address using insight rest api. If you guys are aware about insight api then please share with me code snippet ...
0
votes
2answers
578 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.