Questions tagged [development]

This tag should be used for questions related to creation and ongoing work for different existing and future Bitcoin-related projects and source code.

Filter by
Sorted by
Tagged with
2
votes
1answer
1k views

How To Calculate Merkle Root?

I found this example: Current merkle hash list: 32650049a0418e4380db0af81788635d8b65424d397170b8499cdc28c4d27006 30861db96905c8dc8b99398ca1cd5bd5b84ac3264a4e1b3e65afa1bcee7540c4 Current merkle ...
0
votes
1answer
64 views

What part of the code is responsible for coinbase payouts?

Looking for the part of the code responsible for doling out coinbase to the miner who solves the puzzle. I'm guessing it's somewhere in src/rpc/mining.cpp, but it's tough to figure out from the code ...
1
vote
1answer
146 views

Is it possible to autoforward bitcoins to another address?

we would like to accept BTC for our token sale. In order to achieve that, we need a specific BTC address for every contributor. The contribution flow is: - investor sends BTC to their dedicated ...
0
votes
1answer
371 views

Error compiling litecoin clone, boost error

I am trying to clone litecoin for practice and for some reason this time around my build system isn't working right. Here is the error I am having after trying to compile my clone AND litecoin 8.7.4 ...
0
votes
3answers
303 views

How can I start development in Bitcoin?

How can I start development in Bitcoin? I am a software engineer and i am interested in development and programming part of bitcoin. A little guidance would be appreciated.
1
vote
2answers
155 views

Bitcoin library vs script to develop application

I'm curious about the development of application of Identity management in Blockchain platform, but I'm a bit confused about the technologies to use. In short words, when is more convenient to develop ...
0
votes
1answer
73 views

Why there are no OP_CODEs for querying the blockchain and retrieving data to the stack?

Blockchain data is immutable, so once valid a transaction will always be valid and full nodes can verify it.
1
vote
1answer
202 views

Bitcoin Wallet Creation

I'm new to this Bitcoin and everything seems confusing to me. I have a requirement where I need to create wallets for every user in my application screen. So, he will transfer some Bitcoins from ...
0
votes
1answer
886 views

How to convert bitcoins to cash [duplicate]

I was informed by the company who sold me my bitcoins machine that I could convert my bitcoins to cash by using a mastercard so that I could make purchases or pay other bills using that mastercard, is ...
0
votes
1answer
62 views

Bitcoin General API [closed]

I want to create an API that works for all brands of bitcoin. Is there a way to use one general API used for all brands of bitcoins, or I must create every API for each brand?
1
vote
0answers
549 views

How do i create my own cryptocurrency? [closed]

There are any guidelines about how to create my own currency from Ripple?
1
vote
1answer
306 views

How does a Cryptocurrency Exchange Start

I understand the basics of an exchange and how they work, but I am confused as to how one initially begins. For example, in order for an exchange to function, there needs to be both bids and asks ...
0
votes
1answer
654 views

Minimum and maximum values of “all” cryptocurrencies?

I can't find a "cryptocurrency" stack exchange, and I have a question that spans all cryptocurrencies, in particular, how to handle them programatically - one database column to rule them "all"! I ...
0
votes
1answer
76 views

bitcoin core makefile addtions

I have a custom set of functions that I want to run on my bitcoin client. I have a file that I need to link to net_processing.cpp. The makefile is complicated and I do not want to break anything. How ...
1
vote
1answer
708 views

What this param in chainparams.cpp do?

consensus.nRuleChangeActivationThreshold = 6; // 75% of 6 consensus.nMinerConfirmationWindow = 8; // nPowTargetTimespan / nPowTargetSpacing * 4 For what this rule exit ? How to calculate this rule ...
0
votes
2answers
94 views

Is there any synchronized software update mechanism in Bitcoin-Blockchain?

My question is regarding the update of Bitcoin software. Is there any mechanism for a synchronized software update in the Bitcoin network?
2
votes
1answer
11k views

Programming Languages used

Is there a reference that can give me information on the programming languages used in Blockchain development? For example, Bitcoin is C++, Ethereum makes use of C++, Golang and Python, whilst its ...
0
votes
2answers
466 views

Segmentation fault when loading checkpoints - altcoin dev

I was trying to clone the bitcoin's source code and run a completely new blockchain. I was successful in changing the initial parameters such as pszTimestamp nTime nNounce Generated a genesis block ...
0
votes
3answers
319 views

How do you return a specific amount of bitcoin to an address?

I am trying to write a program to receive bitcoin, and then after some time, return the same amount of bitcoin to the same address. How would you do this? Does bitcoin have the ability to send and ...
0
votes
1answer
93 views

Time stamping of Transactions

In Bitcoin Blockchain, every block has a time stamp. My question is, Is there any time stamp on an individual transaction, once it is propagated on the network, and once it was included in the Block?
4
votes
1answer
241 views

What library or wallet can be used to test segwit transactions on testnet?

Is there any code snippets / wallets to send segwit transactions on the testnet at the moment? I'm more looking for a code snippet or any library to support this to do some tests and make them ...
2
votes
2answers
387 views

Do Full Nodes perform Proof of Work to validate a Block?

I do understand that Full Nodes validate all transactions twice based upon the public key of the users. Firstly, once a transaction is unconfirmed and secondly the transactions that have been mined in ...
2
votes
2answers
2k views

What IDE to use for Bitcoin development?

I want to experiment with Bitcoin's code (both Core and Unlimited, if it makes a difference). I really wanted to use CLion, but was unable to compile it and make it work (something to do with using a ...
0
votes
0answers
31 views

Is supply reduction consider as a hard or soft fork?

I'm writing an article about current Minergate Dashcoin hard fork. From all the bitcoin hard fork talks I get the impression only when block size increases will result in a hard fork. How about coin ...
2
votes
0answers
137 views

How can I create an exchange in a foreign country? [closed]

New to stack exchange this is my first post so sorry if its rough. I'm part of a project interested in bringing BTC and crypto trading to Angola. We aren't sure where to start or what the best route ...
0
votes
1answer
577 views

Stratum mining, jobID and stale/rejected shares

Let's imagine following situation: I've got a job from stratum pool, miner found golden nonce and sending it over the pool. While waiting for pool response, miner found another satisfying nonce ...
0
votes
1answer
245 views

Applying additional oauth scopes to coinbase

I am trying to apply the coinbase wallet API with oauth to use its send functionality. I have been able to connect to the API and use its endpoints, but whenever I try to use the send functionality, I ...
1
vote
0answers
62 views

How to generate addresses for a rudimentary BTC transfer app

I am a student studying web development at a prominent bootcamp in the United States. For my capstone project, I have decided to try and build a fairly simple application wherein one authenticated ...
0
votes
1answer
2k views

What should a stratum server do with “mining.submit”?

I write some stratum server, for mining in the pool. The answer goes from the client to my server: {"method": "mining.submit", "params": ["g", "06a8", "01", "1d025f83", "c03f38ac"], "id":4} ...
0
votes
1answer
440 views

How to add own cpp-files to Makefile

I successfully managed to compile bitcoind using the shipped configure script/makefile. Now I want to code something myself and added a folder inside the src directory. The problem now: how do I add ...
4
votes
1answer
1k views

In which order does the leveldb iterator iterate over utxos?

I would like to know in which order the leveldb iterator iterates over the chainstate entries. I aim to serialize the chainstate and have to make sure that every node can calculate exactly the same ...
0
votes
0answers
365 views

Unconfirmed transaction for 7days now, please i need help [duplicate]

Transaction to the address 39j2nuZWr4F2hZ5wYDwQwZWzsTJC4H6ujn from my bitcoin wallet and it unconfirmed, i am new to this, i need help please, help me out
2
votes
0answers
94 views

The blockchain lookup speed in a local machine

How to determine the exact required time (seconds, milliseconds) to find a particular block when searching within a local blockchain using address? Is there any way to make a benchmark to study the ...
1
vote
2answers
572 views

What is this 3d design of Bitcoin?

Lots of places online have a ray-traced, photorealistic image of an elaborate Bitcoin mint of the same design: https://www.insiderfinancial.com/wp-content/uploads/2016/06/Two-Bitcoins.png What is ...
1
vote
1answer
273 views

Is there a simple reference implementation of ECDSA algorithms?

I'm using Node.js's elliptic library to do some signing on my app, but there is some chance I'll migrate it to another language. That library is kinda big and not easy to port, so, I wonder, is there ...
2
votes
2answers
163 views

testnet3 frequent tx malleability

Related How confirm my own doublespend transaction got confirmed This is not about double spends and I believe that the related question is not about double spends ether! On bitcoin's testnet3 I am ...
0
votes
1answer
407 views

How do you hash data for mining?

I was examining the block hashing algorithm and I tried to hash some blocks with my c++ sha256 to check results. The hashes were wrong all the time so I thought I couldn't build the block header ...
4
votes
2answers
736 views

Would more Full Nodes help scaling and transaction speed?

There seems to be lots of disagreement between Core, Classic, etc on how to scale up Bitcoin. As far as transactions per second, and transaction fees, would simply adding more Full Nodes to the ...
1
vote
2answers
496 views

how do i programmatically find out whether this phone has a wallet with at least a certain arbitrary amount of bitcoin in it?

the use case is: i have a bitcoin-aware app A, which would then like to trigger a bitcoin payment request to be executed by an on-phone bitcoin wallet via the BIB20/bitcoin: URL mechanism. Rather ...
0
votes
1answer
192 views

Trying to find an efficient method to process all transactions directed to my BTC address

I am building a website which involves in the processing of transactions of BTC. My current and most efficient plan to complete this would be to call these bitcoin-cli commands and process the data ...
0
votes
4answers
667 views

What programming language should i learn if i want to implement its technology in the future?

As a Uni student still learning (currently web-development), i want to eventually learn to program web applications. I also would like to eventually (in the future), be able to implement Bitcoins code ...
3
votes
1answer
397 views

Is Blockchain safe to store personal information?

I do my first steps in blockchain development and I have a questions about storing some sensitive data on a chain. Assuming two companies developed the protocol of document exchange through Blockchain....
5
votes
2answers
922 views

How do I program smart contracts?

Is there a guide to learn how to program smart contracts for the Bitcoin blockchain?
0
votes
2answers
51 views

Is there a central repository of bitcoin conferences?

I currently use CoinDesk to remain abreast on events and conferences. Any other websites I should utilize?
2
votes
0answers
405 views

Bitcoin c++ library that provides the networking

I want to make a very simple Bitcoin mining software with use of getblocktemplate, my own SHA and block building. Is there any c or better c++ library that would help with the networking part? I am ...
0
votes
1answer
61 views

Does bitcoin give users credit/debit card. If yes, how do you request the card

I am a new user at bitcoin so things are a little difficult for me since the website isn't specific. I wanted to know how to request a credit or debit card from bitcoin(that's if it is possible). I ...
7
votes
1answer
454 views

Why is OP_SUBSTR disabled? (and OP_LEFT, OP_RIGHT)

Why are the substring opcodes disabled? I understand that OP_CAT is disabled because it can blow up the stack easily (in combination with OP_DUP). But the substring opcodes reduce the stack size. ...
1
vote
1answer
125 views

Value of `vout` in vin exceeds number of vout elements. Why?

This is a slightly modified version of a transaction. (privacy reasons) Edit: Sorry, but turns out there is another tx besides this tx: "txid": "...
2
votes
0answers
148 views

Iterating through LevelDB or .DAT files to enumerate bitcoin addresses

I'm looking for a library that can parse either the .DAT files or the .ldb files to enumerate bitcoin addresses. Alternatively, if that can't be done via the standard .dat or .ldb, I'll take a ...
3
votes
1answer
784 views

How can I verify my merkle root function is correct?

I've started playing with Bitcoin on a more technical level recently (I'm an experienced software developer but just a user of Bitcoin up until now). I'm trying to implement a function to calculate a ...

1 2
3
4 5
9