The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
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
154 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
563 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
198 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
120 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
69 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
431 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
630 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
9k 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
762 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
47 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
124 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
4k 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
4k 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
141 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 ...
0
votes
2answers
323 views

How to tell which account an unspent output is in?

When I go to send coins, I want the transaction to ignore the unspent coins in a certain account. I think I can do this in wallet.cpp, but I'm not sure how. Maybe in the AvailableCoins() function? ...
3
votes
1answer
142 views

How to best structure Internal bitcoin payments within a webapp?

I'm building out a pet project webapp called CollaboTree, a big part of it is allowing users to set bounties for completing/collaborating on little bits of work. I'd like these micro payments to be as ...
0
votes
1answer
280 views

Bitcoin packages

Are there any bitcoin package/librairies in popular langage that would make the recuperation of prices easy ? I have the exemple of the Quantmod package for R that allows you to get market data from ...
1
vote
1answer
770 views

Blockchain command line tools

I was under the assumption that the bitcoind server allowed you to query the blockchain and run commands like bitcoind getbalance on any address. I'm finding out that you may query addresses in your ...
1
vote
1answer
204 views

What is the incentive behind using platforms such as XDP/Dogeparty?

ELI5: What can one do with XDP that s/he cannot do with DOGE? Is Dogeparty similar to projects such as Ethereum/Ripple? If I understand correctly one receives 1 XDP/1000 DOGE "burned". How are these ...
1
vote
1answer
797 views

Get private key from BigInteger

I have a BigInteger that represents a private key. How can I get that private key as a base58 encoded string? The following pseudo code does not work properly: base58.encode(bigInt.toByteArray) // ...
0
votes
1answer
133 views

Script for sending funds to a multisig address

Does sending funds to a multisig address require different script than the one used for ordinary addresses? If yes, how should this script look like? (Under multisig address I mean Bitcoin script hash ...
0
votes
1answer
181 views

How many bits are in a Bitcoin?

I need to track an amount of Bitcoins in a database. Is a UINT64 sufficient? I'd rather not deal with floating point types, and the rounding errors they end with.
1
vote
2answers
59 views

Transaction change calculation

I'm confused about how exactly I should compute a change for transactions. Say, for a given address I have 4 unspent outputs containing 2 BTC each and I want to send 5 BTC to other address. Here's ...
-4
votes
2answers
210 views

WeaveCoin - Extremely High-Speed AltCoin - Is this Possible? [closed]

I've written a proposal for an extremely extremely high-speed transaction verification algorithm: http://kenthagerman.blogspot.ca/2014/08/weavecoin-high-speed-crypto-currency.html Is this possible? ...
0
votes
1answer
201 views

How do cryptocurrency exchanges like Mintpal manage so many?

As there are 100s of crypto coins each with their own QT-client, how do exchanges manage the transactions? Do they use the core client of every altcoin in the servers or will they be programming code ...
1
vote
0answers
964 views

Gitian Build Issue - Windows

Got a little issue when compiling Windows QT using Gitian. BTW Im using a Ubuntu 12.04 64bit VPS. So I am using the instructions here : https://cryptocointalk.com/topic/2966-bitcoin-scrypt-v120-...
1
vote
1answer
93 views

Other ways to determine the validity of a public key

Public key 3, 4 fits the equation of y^2 = x^2 + 7 Yet this comes up as an "invalid public key". How is that invalid? Sure, it deviates extremely from other numbers, but what other equations are ...
1
vote
1answer
300 views

Ripple partial payments

I've read on the Ripple Wiki page for Transactions about partial payments. I am wondering how a partial payment would look when data is polled about an account? Would the transaction amount be ...
0
votes
1answer
187 views

How does bitcoind find p2p hosts? [duplicate]

I read the bitcoin references but I can't find a description regarding how bitcoin clients find other host in the p2p network. Would you please tell me?
0
votes
2answers
351 views

Modular Inverse for ECDSA in C++

I've seen several variations on "modular inverse" but I can't seem to identify the proper way of utilizing it for C++. I'm not sure how this python code translates into c++: def inverse(x, p): """ ...
0
votes
1answer
240 views

Is Block Height 1 is the genesis block?

As the question I asked before, I wanted to make an altcoin. The block height in main.cpp allows you to choose which block gets different rewards. If it does, do txNew.vout[0].nValue = depend on the ...
0
votes
2answers
3k views

Got an issue compiling

After working my way through many errors compiling an alt-coin windows qt. Everything compiles fine right until the final stage when the system is putting together the exe. You can find the error ...
0
votes
4answers
602 views

Error compiling altcoin-qt for Windows, getting a GCC internal compiler error

I think I managed to get all my dependencies and libraries right (fingers crossed), but now when trying to build blackcoin-qt, the QTSdk compiler gives me this error while building qtipcserver.o: In ...
1
vote
1answer
268 views

Programming and the ECDSA equation

I've been implementing point addition into a c++ program I've written but I don't see how this can be done right. When I do slope = (y1 - y2)/(x1 - x2) I get a freaking decimal, which doesn't produce ...
3
votes
1answer
398 views

0 Active Connection on my-new-coin

I have compiled my-newcoin-qt and my-newcoind on different platforms (windows, Linux and Mac), with my coin specification based on litecoin. When I run my-newcoin-qt at the first time, I get no error ...
1
vote
1answer
159 views

Wallet programming, search transactions by address

This may be a silly question, but I keep running in circles. Using either bitcoind or JSON-RPC is there a way to search all transactions involving a address hash? I understand every wallet and most ...
10
votes
2answers
10k views

what programming languages are used to built bitcoin?

I have one very basic question, I would like to know: what programming languages are used to built bitcoin?
0
votes
0answers
127 views

Should mining.notify.merkle_branches contain the coinbase transaction or not?

Okay I'm working on a new pool-server though got a question. I'm using litecoin testnet right now to test stuff and here's a getblocktemplate() response I get; { "result": { "version": 2, "...
4
votes
2answers
2k views

Bitcoin private key, location on ECC curve

In the ECDSA algorithm, the Bitcoin private key is supposedly a point on the graph (or is it?). But the private key is a single integer, and not x,y coordinates. Is the integer, by itself, the x ...
3
votes
2answers
264 views

Does the Bitcoin Core API support high-precision balance display?

I am currently working with a number of altcoins and and I need to support deposits and withdrawals in currencies with very large coin number cap like Dogecoin. I am wondering whether the Bitcoin Core ...
10
votes
2answers
669 views

Why don't developers switch from bitcoin-qt to a cleaner implementation?

The "reference client" bitcoin-qt receives a lot of complaints from developers on the messy way it was coded. It seems to require a big overhead to learn, and a lot of time is being spent on ...
0
votes
2answers
1k views

Generating Ripple address

I am trying to recreate the Ripple address from Account Family wiki page and I am having some problems. I have the private generator of ...
2
votes
1answer
1k views

How does a proof of work limit of `~uint256(0) >> 20` translate into a difficulty of `1 / 2^12`?

In the Litecoin source it is written: static CBigNum bnProofOfWorkLimit(~uint256(0) >> 20); // Litecoin: starting difficulty is 1 / 2^12 How does that compute? ~uint256(0) >> 20 is ...
1
vote
1answer
90 views

In what line of what file does the block reward depend on?

I want to make an altcoin and since I am new, I wanted to know what sets the reward of a block after being mined.