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
28 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
23 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. ...
0
votes
0answers
31 views

Errors in block header at CBlockDiskPos(nFile=0, nPos=8) forking Monacoin

I'm trying to run some tests forking Monacoin. After I generate the genesis block, I get this error in the debug.log file. Errors in block header at CBlockDiskPos(nFile=0, nPos=8) Which of course ...
1
vote
1answer
38 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
24 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
42 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
23 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
41 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
50 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
43 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
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
71 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
179 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
113 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
102 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
28 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
24 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
85 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
507 views

Bitcoin Script tutorial

Are there any tutorials with examples on Bitcoin Script: from basics to complex scripts?
0
votes
0answers
10 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
105 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
188 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
125 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
136 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
85 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
17 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
286 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
20 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
32 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
20 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
303 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
74 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
0answers
354 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
51 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
68 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
123 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
45 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
203 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
149 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
0answers
109 views

Bitcoin daemon hangs

I am creating altcoin and have tuned chain parameters. I have disabled dns seeds and created by own genesis block. But, When i run bitcoind, it hangs. What is causing this problem? Here is my debug....
0
votes
0answers
148 views

Bitcoin incorrect or no genesis block found error

I am making my own alt coin, and i have mined the first genesis block hash(after 8 hours), merkle hash, noonce and time. I am running on Macosx. But when i run ./bitcoind i get this error Error: ...
0
votes
1answer
158 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
152 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
28 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 ...
0
votes
0answers
102 views

What is the hierarchy of the development team for bitcoin core?

Until recently I didn't know about Blockstream and I thought, superficially, all changes to the code were committed and reviewed by the community for consensus. Can someone explain what they think the ...
2
votes
2answers
273 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 ...
1
vote
1answer
527 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
207 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
1k 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?