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.

1
vote
1answer
30 views

blockexplorer is not fully synced

I am working with a cryptocurrency which is a fork of bitcoin. In my blockexplorer it shows 91% synced and I cant see any latest blocks.
1
vote
1answer
44 views

Transaction Malleability, How can I change signature?

I'm kind of desperate as I can't follow some ideas that I don't understand. I hope you can help me. Thank you in advance It's all about Segwit Question 1) It says that when bob makes a transaction ...
1
vote
1answer
19 views

bitcoin debug withe clion

I got this error when I have tried to compile on lubuntu 16.04 34: error: expected ‘)’ before ‘host_16bits’ inline uint16_t htole16(uint16_t host_16bits) using clion, is there any guide on how to ...
1
vote
1answer
41 views

Anyone could teach me more detail about version prefix

In this post Does the version prefix of an address force the type of transactions the address may treat?, I saw "the version byte doesn't actually appear in the final transaction." I don't understand ...
0
votes
0answers
72 views

How to setup a node for tether(USDT)

How to setup the tether node as like as the bitcoin? and is there any RPC command for that. Any suggestion please. Thanks in advance.
0
votes
1answer
28 views

how to get block information using node js

I have used bitcoin-core package in node js to get the information about the block detail using rpc command. For example: var Client = require('bitcoin-core'); const client = new Client({ headers:'...
0
votes
2answers
31 views

How to monitor balance for addresses other than by using importAddress?

Is there any way, other than importaddress, to watch balances of specific addresses? If not, how it is possible for wallets and explorers to give information (balance, transactions) about specific ...
1
vote
1answer
61 views

How to convert script hash to base58 address?

For example : take a look at this 37d1d453311ea5682cdb31468826178db15fa731722a5dbb09525ea901f1c41c scripthash. I need help converting it to base58 address. Thank you.
1
vote
1answer
34 views

How to extract addresses from input in raw transaction

I need help to get input addresses from "vin" in offline mode. I don't know how https://live.blockcypher.com/btc/decodetx/ is doing it. Example raw transaction: txn id : ...
0
votes
2answers
42 views

find the maximum possible reward for creating a block using

I'm new to bitcoin development someone request from me to know the maximum possible reward for creating a block using some address. My Questions :- 1- Which framework and tools can help to do that ? ...
0
votes
0answers
49 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
1answer
23 views

Does all miners in mining pool increase the nonce variable one by one starting from zero?

Let us consider we have n miners in our mining pool. Now the manager of the pool verified the transactions and packed into a block to be mined. Then it passed the block to all n miners in the pool. ...
0
votes
0answers
9 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, ...
1
vote
0answers
10 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 ...
0
votes
0answers
30 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
2answers
58 views

Calculate the difficulty of Bitcoin network

Which variable among the components of the block header is computed (or rather obtained) to achieve the difficulty posed by the bitcoin network? Nonce or Previous block hash?
-2
votes
1answer
41 views

Why does bitcoin not have live support

I have at least to wallets never spent from that were recently restored 1 has 50 bitcoin the other I believe at least a thousand started in 2009 my question is who has access to remotely upgrade my ...
0
votes
0answers
15 views

How to delete/reset entire blockchain on TestNet? [duplicate]

Been doing research and coding lately on wallets, blockchain, coins etc on TestNet Wallets. How do I delete/reset the entire blockchain back to 0? I've tried using -resync on command line and ...
1
vote
1answer
24 views

What language was it written? [duplicate]

Different languages are used in coding the blockchain these days. Which was used in coding BTC and how is it superior to others?
0
votes
0answers
21 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
1answer
31 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
10 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
45 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
76 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
34 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
54 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
36 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
vote
2answers
41 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
28 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
51 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
68 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
81 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
11 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
69 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
37 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
40 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
87 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
75 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
27 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
286 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
195 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
124 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
72 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
33 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
50 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
89 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
58 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
20 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 ...