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.

0
votes
1answer
129 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
133 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
37 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
432 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
301 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
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 = '...
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
2answers
37 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
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
2answers
47 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
128 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
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 ...
0
votes
1answer
22 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
22 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
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 ...
0
votes
1answer
83 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
213 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
46 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
26 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
33 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
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 ...
1
vote
0answers
696 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
47 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
154 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
109 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
74 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
331 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 ...
1
vote
4answers
994 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
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
1answer
355 views

Fork Dash - New coin problems

Currently I am doing my final year project by forking the Dash code and generate a new coin from that. I had read lots of tutorial online and follow the steps as well. First, I had generate the ...
1
vote
1answer
46 views

Discrepancy Between Nonce for Single Block

I'm looking at nonce data from blockchain.info for block #1 ( https://blockchain.info/block/00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048 ) and it shows a nonce value of 2573394689 ...
0
votes
1answer
27 views

Incremental build for bitcoin [closed]

I did use the Make to build bitcoin source [https://github.com/bitcoin/bitcoin]. every thing went ok. then I have changed one of file bitcoind.cpp , and issue the Make command again, but this time ...
0
votes
1answer
57 views

What are those bitcoin mining hardware doing 24/7? [closed]

What are those hardware doing? Which open-source or closed source software to use on those? I want to buy one of those hardware for my learning and programming. Any advise?
0
votes
1answer
27 views

How is Bitcoin itself represented (either technically or code level)

I've gone through dozens of videos and texts, but haven't found properly how is the actual bitcoin itself represented technically or at code level? From what I have understood thus-so-far (if ...
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
1answer
150 views

Search xPub address on a full node

I am running a full node & using bitcoinABE to run a block explorer. I have couple of wallets on 3rd party wallet providers where I can do xPub Similar to blockchain.info xPub search how do I do ...
0
votes
1answer
418 views

How to get bitcoin wallet name from bitcoin address

In http://bitcoinwhoswho.com/ , we can find wallet name from bitcoin address, how do they do so? Is there any signature of wallet name in bitcoin address or in transaction id?
2
votes
1answer
58 views

In what circumstances would a block appear in the Leveldb .ldb index but have no data in a .dat file?

I've observed this behavior with Bitcoin Core v0.15 while parsing the LevelDB index in .bitcoin/blocks/index. It is also a situation that is obviously accounted for in the Bitcoin Core source code ...
5
votes
1answer
113 views

what is a discrete logarithmic assumption? how does it set-up trustless proofs?

pending proposal of bulletproofs as a zk proof for confidential transactions relies on fiat-shamir heuristic to be non-interactive via creating a digital signature on interactive proof of knowledge ...
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
4answers
537 views

getting the list of all bitcoin transactions

I am currently thinking of doing a research project on Bitcoins. But I want to download the list of all transactions of bitcoins. I was wondering what are the ways to do this? I believe, I can scrape ...
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 ...
1
vote
1answer
83 views

Help understanding OP codes on multisig redeem script (hex)

I was reading this gist and am not sure I am understanding/reading the hex of the multisig's redeem script correctly (line 14). It is: ...
2
votes
1answer
230 views

Why does the beginning of `git log` for the Bitcoin source on github say 'sirius-m' was the first committer?

Satoshi Nakamoto is widely spoken of as being the first committer to bitcoin. Yesterday I ran gource on the bitcoin repo for fun and was surprised to see that the first commits were by 'sirius-m', or ...
0
votes
1answer
206 views

How does the lightning network solve double spending?

This is probably obvious to some of you on here, but I'm a beginner. I recently read the lightning network whitepaper and its very unclear to me how the lightning network addresses the double spend ...
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 ...
0
votes
2answers
1k views

Question on getaccountaddress, getnewaddress, getAddressesByAccount

I would like to get some feedback. I am new to the bitcoin development and I don't want to misunderstand something important before I start designing the application. I am working on bitcoin online-...