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
2answers
364 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
200 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
153 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
264 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
637 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
421 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
176 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
649 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
391 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 ...
5
votes
2answers
734 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
330 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
60 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 ...
6
votes
1answer
319 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
117 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
137 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
675 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 ...
2
votes
1answer
349 views

Bitcoin Chainstate Leveldb sst

I'm trying to read the chainstate, and wrote a small Leveldb client to do so. When I run leveldb, it tells me Corruption: 960 missing files; e.g.: /opt/bitcoin/chainstate/890787.sst. Googling shows ...
0
votes
2answers
313 views

Transforming private key into address [duplicate]

How do I get to the value in the 'scriptPubKey' part of the transaction ? shows a great example of going from address to scriptPubKey. I'd like to do something similar: go from private key (...
11
votes
1answer
250 views

Are there alternatives to Gitian?

I like how Bitcoin Core uses Gitian to make their builds deterministic. But Gitian is also a really complicated workaround. Is there any research being done into alternatives for deterministic builds?
0
votes
2answers
710 views

Own bitcoin pool miner algorithm

I receive these variables from the mining pool: job_id, prevhash, coinb1, coinb2, merkle_branch version, nbits, ntime, clean_jobs. What must I do with them? Can you write step by step formulas how ...
6
votes
1answer
197 views

What impact could the patents applied for by Craight Wright have on Bitcoin development if granted?

What impact will this have if all the patents he applied for are granted. Could it create liability for Bitcoin developers who attempt to use some of his patented ideas when making future pull ...
9
votes
1answer
2k views

Is there developer documentation for the Bitcoin Core source code?

Is there a documentation somewhere to understand the C++ code of Bitcoin Core (available on Github) "from a to z" and being able to recreate it ?
0
votes
1answer
545 views

My own bitcoin miner

I am trying to write simple bitcoin miner on Java How to request miner pool? What is miner pool protocol? How to send data to stratum pool? (socket, post request or ect...) What need send there? ...
1
vote
2answers
2k views

C++ and secp256k1

I am working on a tiny C++ bitcoin application for a university project. I'm using Blockcypher API to create transactions, but I faced a problem with signing transaction's hash that returns one of the ...
4
votes
2answers
297 views

What is the age of the youngest known Bitcoin developer?

What is the youngest age of someone known to have submitted a Pull Request to Bitcoin Core?
-1
votes
3answers
59 views

Is it possible to create a feature for custom wallets that also have a bank account number?

The main problem I'm attempting to tackle is to create a feature that allows for wallets that are linked to a bank account which needs monitoring and transparency to prevent embezzling. Think ...
4
votes
1answer
168 views

What benefits does Tau-Chain add over conventional solutions?

I'm currently doing some research on Tau-Chain and its various claims. One of the biggest ways it tries to differentiate itself looks to be the focus on decidable programming languages, instead of ...
1
vote
0answers
102 views

Why do most alt coin developers choose to remain anonymous?

Is having a known public identity not helpful in building reputation for a project? Are the privacy and security concessions associated with revealing your identity not worth the perceived benefit?
1
vote
1answer
305 views

How do I use CHECKLOCKTIMEVERIFY to prevent a transaction being spent before 100 blocks?

I'm creating a Bitcoin based lottery application. An entry into the lottery is a transaction spending 1BTC. If someone guesses some arbitrary value correctly, they can claim the entry and send this ...
2
votes
1answer
67 views

Test network completely removed from the real network?

I know of the testnet Bitcoin provides, but is there any framework or simulator of the Bitcoin network which I can use to test on my local machine? I would like to edit parts of the code and simulate ...
2
votes
1answer
293 views

How to make cryptocurrency easier for law enforcement?

I am researching the topic of cryptocurrency and its impact on society. It's often said that cryptocurrency is equivalent to cash, but that is clearly not true since cash is very difficult to ...
3
votes
1answer
244 views

How does PoW solved in miner.cpp gets transferred to main.cpp in source code?

As per my understanding of bitcoin codebase, the following events happen after we solve a proof of work. In miner.cpp, once the miner thread solves a new Proof-of-work (PoW), ProcessBlockFound ...
2
votes
1answer
588 views

Are there any web wallets around with open APIs?

For a long while, blockchain.info offered a web wallet with a convenient web API, but it recently turned out that it now requires an installation to function. I'm wondering - are there any other ...
1
vote
0answers
205 views

Looking for a Project Ideas [closed]

Im a student at Sri Lanka institute of information technology and I am reading for cyber security BSc. I'm supposed to do a research project with a group of four people within an year. We are ...
2
votes
1answer
217 views

Blockexplorer.com API POST error

I'm trying to write Python code which utilises the (Insight) Blockexplorer.com API , particularly the POST functions. I'm testing using the iOS REST app, Restler (see screenshot). The call I'm trying ...
2
votes
2answers
604 views

How do I use Stellar API to power my Universal Trading and Multicurrency Payment+Transacton Gateway?

I am planning to build on top of Stellar a unified universal gateway+trading platform(all frequencies) for banks and financial institutions to power ultrafast international payment transfers in fiat/...
0
votes
1answer
233 views

Is it plausible to make a decentralized rendering farm by creating a new cryptocurrency?

I had this idea to create a new cryptocurrency that uses rendering as mining, using it to create a decentralized render farm. is it possible, and if yes, then how? Sorry the question is not in depth. ...
1
vote
4answers
536 views

A “Hello World” of bitcoin?

I would like to write a very simple program in bitcoin. I thought a simple C program that accepts the mined blocks would be appropriate. So I assume, the program would open a socket connection to some ...
1
vote
1answer
236 views

How to start programming using Ethereum?

I'd like to listen opinions of people that have created already their own working contract. What have you read at the beginning and then? What was the most powerful source that helped you understand ...
2
votes
1answer
754 views

Constructing, signing, and pushing a Bitcoin transaction by using pybitcointools with Python

I'm utilizing the pybitcointools module in python 3.4 I've went through time and time again in the examples listed on the github page, but it isn't documented very well nor is the code. My situation ...
2
votes
1answer
347 views

How can I request payment to a set of addresses?

I am building a payment processing service where a single payment may be split among multiple individuals. While it would be possible for me to write the service in such a manner that a customer pays ...
0
votes
0answers
172 views

Send and Receive Bitcoin - development

How to develop send and receive bitcoin using coinbase api, i need to use in java. i tried the sample from https://github.com/coinbase/coinbase-java by using readme.md instruction. but facing issue. ...
0
votes
1answer
241 views

Display missing parameters in cli help command on web page with JSONRPC

I am trying to get the entire contents of the "help" command to show up on a web page I am working on. Currently print_r($coin->help(); shows most of it, but all of the required parameters, except &...
8
votes
2answers
25k views

Want to write my own solo cpu bitcoin miner

I just want to understand how this mining process works (from the developers point of view from very start to end). Can someone guide me towards a doc or a open source code (I am newbie here so a VERY ...
1
vote
1answer
206 views

BIP39 Japanese Mnemonic vector unit test process

There is a json for unit tests of Japanese characters which I want to validate using Python, specifically with this fork of pybitcointools, which has bip39 functionality. Unit tests from Trezor's ...
4
votes
2answers
587 views

Can an Ethereum contract be updated without having to be re-submitted?

I am wondering - can an Ethereum contract be updated without having to be re-submitted? Say, if I find a bug in my contract, can I fix it without having to create a new contract and making my ...
4
votes
5answers
2k views

Is it possible to schedule function calls to an Ethereum smart contract?

I am wondering - is it possible to schedule or somehow trigger function calls to an Ethereum smart contract based on the current block height or timestamp? This would involve some pre-payment of gas ...
1
vote
1answer
361 views

What data is available to Ethereum smart contracts?

I'm wondering - what data is available to the Ethereum smart contracts? I stumbled upon some tutorials on how to write the contracts that give some indication as to a few examples of the data is ...
0
votes
2answers
153 views

Naming Convention In Bitcoin Source Code

Is there specific reference for naming conventions in Bitcoin Core source code? I see regularity in class naming with prefix "C" (Chain, CInv etc.) or pointer naming with "p" (pprev, pnode etc. ) and ...