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
1
vote
1answer
168 views

How is Ethash a 'memory hard' algorithm if it utilizes peak GPU memory bandwidth?

According to the Ethash algorithm described here, the computation for each nonce requires a loop of 64 iterations, where each iteration reads a chunk of 128 bytes from a pseudo-random location in ...
2
votes
0answers
251 views

Multicoin wallets with programmable API

Does there really not exist a web multicoin wallet that has a programmable API that can be used by apps to send transactions? It is common practice to authorize your credit card in an app so that it ...
0
votes
2answers
224 views

Unclear on double-hashing previous Transaction when creating a new Transaction

I'm having trouble performing the double-sha256 hash of the previous transaction, Step 3 in this explanation. The previous transaction is: ...
0
votes
1answer
260 views

How an order fulfillment works

I'm trying to understand how order fulfillment algorithm works from technical point of view. Let's say I created an order to sell 0.8 BTC and buy 5400 XRP along with other orders to sell 0.35 BTC, 2....
1
vote
1answer
295 views

In Bitcoin source, what is the UniValue objects purpose?

In the bitcoin source code you can see a lot of objects of type UniValue, particularly in the miner.cpp and rpc/mining.cpp. What is the utility of this UniValue object? Is it used to update the ...
0
votes
1answer
44 views

Storing wallet key for automatic transactions

Is there any way to do this? For example I don't even want to know what my wallet is, only my server (intranet), so that it can make automatic transactions for me based on thresholds. Or should I not ...
2
votes
2answers
388 views

Would writing one's own cryptocurrency in a language other than C/C++ be stupid?

I'm curious from a performance perspective if writing a cryptocurrency from the ground up in a language other than C/C++ be stupid? For example, if I wanted to write a cryptocurrency and protocol in ...
0
votes
1answer
574 views

Solo mining Altcoin (litecoin fork)

i have made a fork of the current Litecoin code version 0.15.1. I have already generated the genesis block and now i want to solo mine the coin. What is the correct way to do it solo? I tried ...
1
vote
1answer
507 views

Who can change the code governing how much of BTC is released?

I understand that BTC's will be continually released by the year 2040, when it will reach 21M coins. Actual numbers don't really matter, but I'm interested in who has the power to change this rule. Is ...
5
votes
2answers
2k views

How are eth transaction faster than btc? [closed]

If I'm not wrong miners are trying to find nonce that satisfies a rule. Then why is btc so slow? I want a technical answer. Can btc ever match eth speed, given no politics?
4
votes
4answers
3k views

Is there an API that exchanges USD to Bitcoin?

I'm looking for an API that literally exchanges USD to Bitcoin, not only value. I've been looking all over for an exchange that accepts USD in it's API. I've found tons that will do Crypto => Crypto ...
1
vote
1answer
143 views

How to develop and then sell my own Bitcoin Hardware Wallet? [closed]

Okay so basically I have a good idea for a bitcoin hardware wallet, i'm just looking for information on how to go about creating it? Do I need to create my own programs/programming for literally ...
1
vote
0answers
475 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 ...
0
votes
1answer
30 views

Looking for revenue data of bitcoin related websites

I was wondering if we can share pointers or anectodes about revenues of web projects related to bitcoin or general cryptocurrencies.
2
votes
1answer
136 views

Edge cases for BIP32

I'm trying to code up BIP0032, with full test coverage and I hit a snag with these very rare edge cases: Private parent key → private child key In case parse256(IL) ≥ n or ki = 0, the ...
0
votes
1answer
88 views

Block validation files?

Which part of the code is responsible for validating blocks? I'm working on a BIP to modify the structure of block.h, and I think that would definitely affect the validation process. Can anyone point ...
0
votes
1answer
489 views

Python source code for issuing a new altcoin?

I was wondering if anyone here know a python source code for making an altcoin? I found some tutorial on C++, but since I am not familiar with the language I cannot understand the code fully? And if ...
1
vote
2answers
136 views

Why are some BIP numbers missing from BIPs list?

If I understood correctly https://github.com/bitcoin/bips contains a list of change proposals that have been accepted as BIPs by the BIP editor? Why are some of the numbers missing, for example 0155....
1
vote
1answer
280 views

What prevents a pool miner from stealing the block if they find the solution? [duplicate]

I'm learning about BC mining from a developmental level and I'm reading about how a pool delegates shares based on work, but it doesn't explain why the miner who finally finds the correct hash can't ...
0
votes
1answer
309 views

Why is the block size limited to 2mb? [duplicate]

bitcoin is experiencing mass gross. Even some local businesses around me are starting to accept bitcoin payments. Of coarse, with new growth availability problems arise; and one is the slow and high ...
-1
votes
1answer
489 views

how to build altcoin in mingw?

OS : Windows 10 Installed Dependencies: -qt4.8.6 gcc 6.3.0 boost 1_55_0 berkeleyDB 4.8.30NC openssl 1.0.2l I tried compiling with the following commands: qmake "USE_UPNP=1" coin-pt.pro mingw32-...
1
vote
1answer
405 views

Merkle Root for 1-transaction block!

I know that merkle hash for one transaction tx is: sha256(sha256(tx)) In this block: https://blockchain.info/block/000000000000000001291219dde8ed705903e8c101f416c68a439e5171ede5bc there is only one ...
0
votes
0answers
751 views

How To Calculate Merkle Root?

I found this example: Current merkle hash list: 32650049a0418e4380db0af81788635d8b65424d397170b8499cdc28c4d27006 30861db96905c8dc8b99398ca1cd5bd5b84ac3264a4e1b3e65afa1bcee7540c4 Current merkle ...
0
votes
1answer
62 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
119 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
315 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
286 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
140 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 ...
0
votes
1answer
70 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
173 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
788 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
539 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
300 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
508 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
67 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
571 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
92 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
429 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
275 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
90 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
235 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
354 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 ...
1
vote
1answer
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
30 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
135 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
457 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
204 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
61 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 ...