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
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 ...
2
votes
1answer
394 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
377 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
267 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
844 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
202 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
2answers
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
586 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
332 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
63 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
173 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
105 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
466 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
299 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
264 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
611 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
211 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
271 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
623 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
258 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
600 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
239 views

How to start programming using Ethereum? [closed]

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
878 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
372 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
1answer
259 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 &...
10
votes
2answers
32k 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 ...
2
votes
1answer
256 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
601 views

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

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
3k views

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

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
365 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
173 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 ...
1
vote
1answer
652 views

How do I print unspent transaction outputs of an address using pybitcointools

I am a beginner looking to write a simple program that takes an input (address) and prints the unspent amount in it. I copied some code from chapter 4 of Mastering Bitcoin to generate a random ...
1
vote
1answer
203 views

How to pass parameters for multisignature addresses from Perl to the JSON::RPC::Client?

I'm trying to create a multisig address with JSON::RPC::Client but I don't know how to pass the parameters. I can pass simple params such as in validateaddress that requires only <bitcoinaddress>...
6
votes
1answer
127 views

Is there a more space-efficient way to prove that a transaction is contained within a block?

SPV clients, like Electrum, ask for cryptographic proof that a transaction is contained in a block. This is done by including each merkle branch necessary to get a hash that's equal to the merkle root ...
1
vote
0answers
76 views

listsinceblock returning block on fork

Im considering using listinceblock to monitor incoming bitcoins to my app. What happens if the block returned by listsinceblock ends up being on a dead-end fork?
2
votes
2answers
1k views

What Ripple API libraries are available?

I am wondering, what libraries are out there for communicating with Ripple through its API (either websocket or JSON RPC)?
6
votes
1answer
520 views

Working example of raw transaction utilising Boolean (OP_IF, OP_ENDIF) scripting REQUIRED

I recently posted this Testnet TX (TxID 2d0daa01da8294a54178f8111eb2a02010c425fd15957d8baee8717edcfbe105) which successfully spends an output (TxID ...
-1
votes
1answer
661 views

How does Cryptsy's Trade Key system actually work

I am building an altcoin to altcoin trading site wherein any Member can trade any altcoin for any other altcoin ... (Top 60 or so Altcoins are supported). I need to know how Cryptsy's Trade Key ...
1
vote
2answers
10k views

Solving PyCrypto 2.6.1 errors for Python 3.4 (Windows7 x64)?

Whilst there's less of an issue with Python 2.7, Python 3.4 relies on the pycrypto library for numerous wrappers/APIs/tools such as BlockTrail, pycoin, pybitcointools, etc etc. The error I'm getting:...
3
votes
1answer
779 views

Creating your own Bitcoin price ticker

Say that you wanted to build your own Bitcoin price ticker from scratch, and not rely on other tickers; how would you go about that? What variables would come in to play? How would you gauge the ...
0
votes
4answers
3k views

What programming language should I learn to create a new altcoin?

I've been wondering. What programming language is needed to develop and maintain an altcoin? Because I've been thinking to try creating my own altcoin. I've seen a lot of services to develop an ...
1
vote
1answer
52 views

What is NXT's “lessor”?

While reading NXT's API wiki page I came across something called a "lessor", but I can't find its definition anywhere. What is a lessor?
1
vote
1answer
127 views

Mastercoin API - what to use?

I am interested in communicating with the Mastercoin network through an API to control various assets. In Bitcoin, I would run the Bitcoin daemon and use the documented API. For Mastercoin, I'm ...
3
votes
1answer
5k views

Sending bitcoins to same address

I am using the BitcoinJ API to create my wallet. When I create a transaction, I provide the change address to which change should be sent. For example: let there be 1 bitcoin at address A; then I ...
4
votes
5answers
5k views

What programming language should be used to develop Bitcoin exchange software? Why?

I've only heard PHP is terrible (e.g. in the context of Mt. Gox) and a more efficient/more security-oriented language would be preferable for matching orders and account security. Which programming ...
4
votes
3answers
6k views

Blockchain programming books C#?

EDIT 1: It seems that what I really want to learn is how to create software which makes use of a distributed hash table. ORIGINAL QUESTION: I want to learn about coding my own blockchain based ...
2
votes
1answer
154 views

Difference between Outpoint structure returned from Blockchain.info and what is in the Protocol Specification

if you follow this link, you will see a specific bitcoin address. If you look closely at the prev_out field, it is not an outpoint structure. Inside of the protocol specification under transactions, ...
5
votes
2answers
1k views

Why is Python popular in Bitcoin projects?

When checking out open source projects related to Bitcoin, I see that many are written in, or make a large use of, Python language. I mostly use Ruby and have little experience in Python; so, I would ...

1 2 3
4
5
9