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

How do I Base58 Checked encode / decode an address in C#? What does “normalize leading zeros” mean?

I am trying to encode and decode a Base58 address in C#. The following function is a start, but it has a few issues: This code does not normalize leading zeros (what does that look like?) If this ...
3
votes
2answers
414 views
3
votes
1answer
767 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 ...
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 ...
3
votes
1answer
172 views

Mine valid but nonstandard transactions

Is there a way to configure cgminer to accept valid but nonstandard transactions for mining? If not, where, theoretically, would be a good place to look if I was interested in mining nonstandard ...
3
votes
1answer
165 views

Is there a signature format, or cryptography has *only one* possible S value?

EDIT: This question is not specific to Bitcoin. It's applicable to any other crypto currency that is interested in using a different signature scheme than Bitcoin or the QT reference client. One ...
3
votes
1answer
189 views

Are there any API servers available for alt-coins that allow for transactions to be broadcast into their networks?

With blockchain.info we have the pushtx API that allow one to broadcast raw transactions into the network. It appears to be one of few services that offer such functionality. Are there any servers ...
3
votes
1answer
510 views

Good resource for understanding the peer to peer protocol sequence

I'm looking for a good explanation or reference on the peer to peer aspects of the two main bitcoin actors- the clients(wallets) and miners. Satoshi's white paper, in section 5. Network, gives a ...
3
votes
2answers
623 views

Is there a self contained C/C++ code snippet out there to validate a Bitcoin public address?

I tried looking through the Satoshi Client to grab the necessary code. It ended up being too difficult for me as my expertise is not in C or C variants. And the fact that the code use boost made it ...
3
votes
1answer
416 views

For SIGHASH_SINGLE do the outputs other than at the input index, have 8 bytes or 9 bytes including a VarInt?

The bitcoin wiki says: All other txCopy outputs aside from the output that is the same as the current input index are set to a blank script and a value of (long) -1. https://en.bitcoin.it/wiki/...
3
votes
2answers
1k views

Developments to prevent 51% hack [duplicate]

How might Bitcoin be made impervious from attack by large monied interests that could atttack with a brute force majority hashrate hack?
2
votes
4answers
1k views

Is it legal to embed a miner in another open source program for benifit of the programmer?

So say I am writing an open source program, or any program really, and I embed a Bitcoin miner in the code, so that when people run my program, they would be earning Bitcoins for me. Would this be ...
2
votes
3answers
333 views

What are the major reasons for various Bitcoin-related projects' downfall?

The Bitcoin community is a very dynamic place, especially when the USD/BTC exchange rates are high. Many Bitcoin-related projects have sprung up in the past, but a lot of them failed for various ...
2
votes
2answers
238 views

How malleable is the Bitcoin protocol? [duplicate]

Possible Duplicate: How could the bitcoin protocol be changed? Has this ever occurred? Given Bitcoin is a system based on consensus, is it possible and under what situations would the Bitcoin ...
2
votes
1answer
11k views

Programming Languages used

Is there a reference that can give me information on the programming languages used in Blockchain development? For example, Bitcoin is C++, Ethereum makes use of C++, Golang and Python, whilst its ...
2
votes
2answers
159 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 ...
2
votes
1answer
124 views

How do pools get the needed transaction information?

How do the mining pools obtain the transaction information required to create a new block? Do they communicate with the network directly, or perhaps through a Bitcoin client, like bitcoind?
2
votes
1answer
388 views

How can a programmer contribute to the Bitcoin project?

I'm a programmer and would like to support the development of Bitcoin, but I don't have an original idea for a new project. Where can I find information about tasks and issues that I could put some ...
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)?
2
votes
3answers
2k views

Would it be theoretically possible to make a Cryptocurrency in a scripting language like PHP, Python, or Ruby?

Just wondering if this is even possible. If so, are there any practical reasons not to?
2
votes
1answer
658 views

What technology will supersede the BerkleyDB format? What are the current scalability limitations?

How scalable is the BerkleyDB format (the technology used within a wallet), and what are its limitations? What technology would replace or supplement BerkleyDB to address those scalability challenges?...
2
votes
2answers
157 views

Which Bitcoin developers are referred to as saying that “users have no say in the system's core development”

Genjix wrote about this in two recent posts. Here's one. Some developers argue that with the issues being highly complex, that users have no say in the system’s core development And the other: ...
2
votes
2answers
126 views

Script Bitcoin represent number > 16

I'm studying Script language, but I don't understand How can I rappresent the number > 16, for instance 210 I want to do a simple sum OP_10 210 OP_ADD how I have to represent 210? I'm trying with ...
2
votes
3answers
299 views

Which altcoins have testnets?

Bitcoin can be run on a public testnet (by using a different port than the real Bitcoin network). This is very useful for development, because you can test software handling Bitcoin without handling ...
2
votes
1answer
144 views

Edge cases for BIP32

I'm trying to code up BIP0032, with full test coverage and I hit a snag with these very rare edge cases: Private parent key → private child key In case parse256(IL) ≥ n or ki = 0, the ...
2
votes
1answer
787 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
354 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 ...
2
votes
1answer
147 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, ...
2
votes
1answer
232 views

How do nodes come to a consensus on difficulty?

Specifically I would like to know what messages are sent between nodes in order to figure out total processing power of the network and therefore difficulty. How is the new difficulty value spread ...
2
votes
2answers
248 views

Does FIPS 140-2 crypto certification matter for Bitcoin?

I'm implementing part of the Bitcoin client in C# and noticed that I have the choice between FIPS 140-2 and non certified versions of SHA256. Supposedly both versions give the same hash. Does the ...
2
votes
1answer
217 views

Script - OP_SIZE

Does the OP_SIZE operation in Script push one item onto the stack (length of the string), or two (string and its length)?
2
votes
2answers
400 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 ...
2
votes
2answers
357 views

Do Full Nodes perform Proof of Work to validate a Block?

I do understand that Full Nodes validate all transactions twice based upon the public key of the users. Firstly, once a transaction is unconfirmed and secondly the transactions that have been mined in ...
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
597 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 ...
2
votes
2answers
607 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/...
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 ...
2
votes
1answer
218 views

Why are broadcast checkpoints considered bad?

warren, a LiteCoin dev, said of Peercoin: Good Luck Removing PPC's Centralized Checkpoints Regarding PPC... these amount to empty obfuscating defensive excuses. Sure he wants to remove the ...
2
votes
1answer
980 views

Need sample compressed and uncompressed Public / Private key pairs for BigInteger

I am testing a different version of BigInteger that has different endian formats and the native implementation likes to add or remove zeros from the final output. Can anyone provide some sample ...
2
votes
1answer
584 views

How do I communicate with the BTC network? [closed]

Some background: I'm looking into making my own miner. Even though there's some documentation out there, I find it hard to do without looking into loads of existing code, and while I do that, I prefer ...
2
votes
1answer
413 views

In ListReceivedByAddress, what is the meaning of Confirmations if the address is reused?

The API ListReceivedByAddress allows me to view a list a sum* of all the transactions that an address has received. This returns an array listing the sum of what was sent. If the address is reused ...
2
votes
1answer
358 views

How do I validate the correctness of a bitcoin multisig address?

Normally when validating a bitcoin address I Base58 decode the string, validate the checksum, throw away the checksum, and end up with 21 bytes. Then I verify that the address is fr the correct ...
2
votes
1answer
579 views

How to get destination address from bitcoinj TransactionOutput?

I believe TransactionOutput represents one of the outputs of a transaction. I have a list of such output objects, and a String that represents my own address. I would like to check that this output ...
2
votes
1answer
75 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 ...
2
votes
2answers
49 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 ...
2
votes
1answer
362 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 ...
2
votes
1answer
294 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 ...
2
votes
1answer
240 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
1answer
615 views

Walletnotify under windows

Few questions about Walletnotify under win: 1) Is this the rigt way to write .py script into litecoin.conf: walletnotify=C:\Python27\python.exe D:\LiVe\listener.py %s If not, how it should be ...
2
votes
2answers
1k views

What is the correct Base58 encoding for this uncompressed Public Key RipeMD hash with a zeros in bits 31, 32, or 33?

My understanding is that Base58Checked is always 34 bytes long, and isn't going to be less than 34 bytes even if the first or last bytes of the RipeMD are zero. If this statement isn't true, then ...

1 2 3
4
5
9