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 [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.

1
vote
1answer
31 views

How to find all UTXOs?

It is known, that UTXOs stored in chainstate database. But how to get them in simple txt view? Not ballances, but each UTXO.
0
votes
1answer
45 views

What is the source of initial transactions of bitcoin?

Sorry, if I am wrong or silly! It is understood that: a) Satoshi Nakamoto sent the first transaction to developer Hal Finney on January 12, 2009, the genesis block contains 1,073 transactions and he ...
0
votes
1answer
44 views

Modify vanitygen to generate from massive amount of given private key

I just using vanitygen recently & figure how to create address from a given hex private key, this is my code while (!vcp->vc_halt) { if (++npoints >= rekey_at) { ...
1
vote
1answer
44 views

Why Ardor does not use Maven?

Are there some reasons why maven and standard maven directory layout are not used in Ardor?
0
votes
1answer
39 views

How does bitcoin broadcast information?

On Bitcoin's Blockchain, how is information transmitted instantly to all other nodes and do nodes 'talk to each other' through an API? Do Blockchain nodes communicate with each other through HTTP ...
-1
votes
0answers
20 views

Bitcoin spendable amount minus unconfirmed transaction

I have a use case here where I want to display spendable bitcoin amount (that minus unconfirmed transaction). Is there any existing api or library that cater for that? Let say wallet A has 10 btc. ...
1
vote
2answers
30 views

Would bitcoin core work on a big endian system? Or even a system where C++'s `int` is not 32-bit?

Looking at the source code of bitcoin core, the serialization part, I see that there's no serialization abstraction layer that accounts for a possible different endianness or different binary layouts ...
2
votes
1answer
64 views

Create a new receiving address in the behalf of another wallet?

I want to create an API service that will trigger my local wallet to generate new account with receive address and return that address to a user. User => API => my_local_wallet => API => User The ...
1
vote
1answer
32 views

I am web developer, can i use my working pc to mine and work at same time? [duplicate]

Guyz, i am a web developer, i have single pc but i am thinking to add a good GPU in it, my question is that if i add good GPU, will i be able to mine crypto currencies like BTC/ETH and work on my pc ...
1
vote
0answers
28 views

What Off-Chain programming languages are important in Blockchain development

I am looking at getting into Blockchain development, and I would like to have some idea about general programming languages that are relatively important compared to the general developer-market. ...
1
vote
1answer
55 views

Blockchain gets stucked if no blocks are mined

Yesterday I decided to fork a project, just for fun and to learn more about it. So, I forked a project, I generated my own genesis block, changed timestamps, nounce, keys, reset the min chain work. ...
0
votes
1answer
28 views

Are sockets kept open when connections are made?

The bitcoin protocol says that any given node is connected to at least 8 other nodes. Does that mean that when a client connects to a node and learns about new peers... will the client keep the socket ...
2
votes
2answers
45 views

Mining Bitcoins on PC - Experiment, looking for advice or simple instructions [closed]

I am absolutely new to Bitcoin and mining, I know that mining at home using a PC is not worth even the time and takes years to get any income out of it. The thing is I need to mine at home using a PC ...
1
vote
0answers
27 views

Exchange development good practices

Is there any guide or good practice rules to follow when developing a service that uses the Bitcoin and other cryptocurrencies protocols? For instance, how is the best way to know if a user deposited ...
1
vote
0answers
46 views

Why is the Serialization limit set to 0x02000000?

In addition to the block size limit, there is a limit on the maximum message size. Is there a rationale behind the 32MB limit set in src/serialize.h or was it picked because it's just a nice round ...
0
votes
0answers
67 views

nLastPOWblock fork masternode

I'm trying to make fork masternode coin. At me all turned out, and works exactly that that moment when it is reached nLastPOWblock After that, generation of new blocks does not occur I noticed that in ...
0
votes
0answers
55 views

Altcoin Fork: Wallet - Error opening Block Database

I forked a coin based on Banq. I changed everything and all worked fine. I could mine, blocks were syncing well without any problem etc. The problem comes when I set up the masternodes, I did setup ...
0
votes
1answer
41 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
86 views

Debugging Bitcoin Unit Tests

I am running the unit tests from bitcoin source using make check, and would like to debug the tests using LogPrint in the bitcoin source files. I read in the Test Docs that logs are only output to ...
0
votes
0answers
221 views

Problem creating altcoin with masternodes

I forked an altcoin with masternodes to learn how to clone an altcoin and also to understand it more technically. So I forked one altcoin, changed everything and all worked fine. I could mine, blocks ...
0
votes
0answers
25 views

How to prevent 51% attack on newly created coin [duplicate]

I am interested how bitcoin managed to prevent 51% attack in the beginning? I am about to create my own coin and i want miners to mine blocks. but The problem is I am afraid  51% attack might destroy ...
0
votes
1answer
146 views

How to setup a Bitcoin private net that can simulate the public net?

I have some experience in Ethereum-related development and it was very easy to set up a private net with Ethereum that simulate the public main net, I just create a custom genesis block json config, ...
0
votes
1answer
156 views

HD Wallet Child Private Key Derivation Function

I was trying to understand the specs on CKD function from both the bip32 standard and Mastering Bitcoin book, I couldn't understand how a private key is derived from the left side of the extended key. ...
0
votes
1answer
32 views

bitcoin repo sighash.json data format

Bitcoin enthusiast here. Learning "the hard way" how bitcoin works (andreas books, looking in js/python implementations), I'm writing (as an hobby) some code here and there to understand things and to ...
0
votes
1answer
26 views

Custom bitcoin confirmation process

I am implementing a payment module for bitcoins. I have the following case. I need customers to be able to pay in bitcoins. But for some reasons I cannot use existing solutions like Bitpay. ...
1
vote
2answers
114 views

Is the UTXO set size important for non-mining full nodes?

Recently, I have seen a lot of development effort going into techniques for different ways of storing, pruning UTXO/TXOs. The main motivation cited is reducing block orphaning, which is mining-...
6
votes
1answer
700 views

Bitcoin Script tutorial

Are there any tutorials with examples on Bitcoin Script: from basics to complex scripts?
0
votes
0answers
11 views

Using libblkmaker with Litecoin/Catcoin

Can I use libblkmaker for generating Litecoin and Catcoin blocks? Is another PoW hashing algo an obstacle?
0
votes
0answers
139 views

Building a simple spv android wallet for an altcoin Please help!

I am currently trying to build an android wallet for an altcoin that was forked from litecoin. I have been looking at the loafwallet to change the parameters: https://github.com/litecoin-foundation/...
0
votes
0answers
236 views

How much disk space does it take to run a blockchain explorer?

I understand that you can use existing explorers like blockchain.info for quick access to individual transactions and address balances, however I would like to run an explorer of my own Like ...
-1
votes
1answer
168 views

How to disable mining functionality in wallet debug console?

I am creating a new altcoin and i cant seem to figure out how to disable mining functionality with wallets using the debug console window. I am trying to mine all the coins myself, is there way to ...
0
votes
1answer
181 views

Electrum Gap Limit from CLI

Is there any way to change wallet gap limit in Electrum from command line? If yes, how? If not, could it be bypassed using some kind of external script? I really need to avoid GUI. Thank you in ...
0
votes
1answer
112 views

Bitcoin cash with bicore and addressindex

Bitcore runs a version of bitcoind where theres address index and we can search any addresses I have implemented the bitcoin insight block explorer and its working perfectly I need to implement ...
0
votes
1answer
19 views

How can a cryptocurrency demotivate investment in favour of continued transactions?

Is it economically and practically possible to create a system where investment cannot take place?(or if it does, it doesn't affect the system in a big way like Bitcoin had extremely high prices due ...
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 ...
0
votes
1answer
21 views

Are there any tools to check values in tx validation?

Are there any developing tools that can show values(like the hash of tx to sign or the stack of script execution) in tx validation so that developers can check the correctness of their validation code?...
0
votes
0answers
33 views

Integrating an existing Sidechain

I am working on a project which requires communication between different blockchains. I want to implement a sidechain that is pegged with bitcoin network and has two-way communication. I don't want ...
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
370 views

Where is the actual data stored and how does that data get stored [duplicate]

How does data get stored for bitcoin? Does data in the blocks get stored in files or a database and then get referenced by the blockchain? If data is being stored in file, how does the blockchain ...
1
vote
0answers
78 views

Wordpress exchange platform [closed]

Hello from where I should start to built my own cryptocurrency exchange and Fiat/crypto exchange on wordpress? What steps I should take to built that kind of platform? I have some knowledge of ...
0
votes
1answer
445 views

Running a bitcoind docker

Thanks to the bitcoin.stack community I have successfully launched a bitcoind docker with an external volume which has the block data Currently its in 100% sync but I am facing an issue to get ...
0
votes
0answers
54 views

recovery of private key

i want to send bitcoin but it required private key and i don't know about the private key, i followed up the process that was showed here but i did not find private key,maybe someone else who i bought ...
-1
votes
1answer
76 views

How do coins upgrade there blockchain from 10v or 11v to 12v

Hi am a 15 year old who wants to do this for a living so i don't read much so i learn better by doing it. So i wanted to upgrade a wallet to a newer version. So i did it all after my 1000th attempt it ...
1
vote
1answer
135 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 ...
0
votes
0answers
48 views

Is there a bitcoin wallet that still allows getwork?

I'm trying to get a very very bad bitcoin miner working so I can tinker with it, but when I tried to connect to Bitcoin Core 0.15.1, the wallet kicks back the getwork request and states it does not ...
1
vote
0answers
217 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
172 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
175 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
186 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 ...