2022 Developer Survey is open! Take survey.
48 votes
Accepted

How will multisig addresses work?

I know this question is old, but I stumbled upon it looking how to teach myself how multisig addresses work, and I imagine others will to. So I’m going to try to explain the typical flow for creating, ...
user avatar
  • 2,256
14 votes
Accepted

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

(disclaimer: I work on Bitcoin Core) As Luca already mentioned, you have to distinguish wallet implementations and the fully verifying nodes on the network. Because of how Satoshi wrote his code (a ...
user avatar
12 votes
Accepted

Bitcoin private key, location on ECC curve

The basic elliptic curve operation is addition of points. The operation of applying this addition repeatedly is called the scalar multiplication of a point by an integer. The private key is the '...
user avatar
12 votes

what programming languages are used to built bitcoin?

The reference implementation, Bitcoin Core, is written primarily in C++, with various resource files and scripts in other languages. Another implementation, mainly used in lightweight clients like ...
user avatar
  • 4,327
11 votes
Accepted

Is there developer documentation for the Bitcoin Core source code?

To understand Bitcoin Core, the best resource is probably the source code itself: https://github.com/bitcoin/bitcoin To help understand what is going on in the code, try the developer documentation ...
user avatar
  • 8,724
9 votes

How to fork Bitcoin and build own cryptocurrency

There is a Complete Guide on How to Create a New Alt Coin on Bitcoin Talk.
user avatar
  • 111
9 votes
Accepted

How to find all UTXOs?

With vanilla Bitcoin Core, there is no efficient way to do this. I see two options: a) Slow and very inefficient RPC loop (not recommended) Get the genesis block hash (RPC getblockhash 0) Get the ...
user avatar
8 votes

Is there a reference, authoritative resource or book on Bitcoin programming?

I was asked by Hasan Hasan, a junior developer, which of the following three books I'd recommend. Personally I think all three books are fantastic (I would recommend them all) but they do approach the ...
user avatar
8 votes

How to fork Bitcoin and build own cryptocurrency

Here is a guide: How to Fork Bitcoin (create your own chain). I really think Bitcoin as a concept is unique and powerful, and the project is well maintained by very talented developers, so I wanted ...
user avatar
  • 7,040
8 votes

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

There are two Bitcoin softwares that should be differentiated: (i) the client software that everyone uses and (ii) the full Bitcoin node used by the miners. With regards to implementations, there are ...
user avatar
  • 5,114
8 votes
Accepted

Why is Python popular in Bitcoin projects?

In comparison to languages like Java or C++, Python has several advantages for coding bitcoin projects: Simplified rules of coding allows beginners and experienced alike to code and get results ...
user avatar
8 votes

Blockchain programming books C#?

I just published a book about it. It's called "Blockchain Programming in C#". If you're looking for tools written in C#, you should try NBitcoin. You can also find the project on GitHub. I've also ...
user avatar
8 votes

Want to write my own solo cpu bitcoin miner

I'm not sure that a guide as basic as you describe is even possible. It depends on what exactly you mean. Mining itself isn't too complicated to read and understand, but writing a start-to-end app ...
user avatar
  • 4,327
8 votes

Want to write my own solo cpu bitcoin miner

Tim S. pretty much covered it, but I wanted to 2 great resources which have been very helpful for myself and many others: Ken Shirriff's blog has a few Bitcoin mining related posts which use Python ...
user avatar
8 votes
Accepted

Is there a bitcoin api?

There are many. If we define an Applications Programming Interface (API) as any kind of software interface between computers or programs then the following apply. Bitcoin network protocol. You can ...
user avatar
7 votes
Accepted

Would more Full Nodes help scaling and transaction speed?

No, the number of full nodes is decoupled from capacity and fees. Transaction capacity is a function of transaction size and blocksize. Blocks occur roughly every 10 minutes and have a fixed size. ...
user avatar
  • 62.5k
7 votes
Accepted

Programming Languages used

I think you are confusing some things here. A blockchain like Bitcoin, Ethereum, Ripple, or Hyperledger is a protocol in first place. And a protocol is agnostic to programming languages used. What ...
user avatar
  • 1,376
6 votes
Accepted

How many bits are in a Bitcoin?

yes, UINT64 is sufficient, which is in fact how the Bitcoin protocol works internally. The conversion factor from UINT64 to BTC is 1.0e8. Not using floating point numbers is a very good idea indeed.
user avatar
  • 151
6 votes
Accepted

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

Searching the http://patents.stackexchange.com site, I found a question that linked here: http://ask.metafilter.com/216885/What-happens-if-an-opensource-app-intentionally-violates-a-software-patent#...
user avatar
  • 8,724
6 votes

What are the major technical differences between Bitcoin and Bitcoin Cash?

Bitcoin Has SegWit and it's benefits and costs: Code complexity (of acceptable amount) Witness data is discounted in SegWit transactions, somewhat rectifying the fact that outputs are cheaper to ...
5 votes

Is there a reference, authoritative resource or book on Bitcoin programming?

It is in the works. Mastering Bitcoin by Andreas M. Antonopoulos http://bitcoinbook.info/
user avatar
  • 2,509
5 votes

Sending bitcoins to same address

You can send bitcoins to the same address you are sending from, if you create a raw transaction manually, or if you use a wallet that does not create a new change address each time a transaction is ...
user avatar
  • 1,304
5 votes

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

You can separate concerns - have a contract that the users interface with and that has a reference (an address) of another contract that contains the actual logic. Then, you can control the interface ...
user avatar
  • 151
5 votes

A "Hello World" of bitcoin?

The easiest way if you come from web development and or you want to put a system in production is to use the most stable and updated implementation/API of Bitcoin Core note: after downloading it it's ...
user avatar
  • 353
5 votes
Accepted

What IDE to use for Bitcoin development?

Bitcoin Core uses the autotools build system, but CLion only supports projects using CMake, so you can't use Core with CLion. You should be able to use Core with Eclipse CDT and NetBeans as those ...
user avatar
  • 60.6k
5 votes

How are eth transaction faster than btc?

Most simple and foreseen reason: Bitcoin's blocktime is set at 10 minutes, while Ethereum has a block every 10-20 seconds, making it much faster. See Ghost protocol, https://www.cryptocompare.com/...
user avatar
5 votes
Accepted

What languages can I write plugins for c-lightning in?

Plugins can be written in any language as long as a client library for that language exists. The command line API and the Plugins communicate with lightningd over a unix domain socket using JSON RPC ...
user avatar
5 votes
Accepted

How would the gossip protocol announce channels from a channel factory?

Pretty much everything would stay the same. If you look at the relevant messages channel_announcement and channel_update we have the following formats: channel_announcement type: 256 (...
user avatar
  • 8,694
5 votes

Script Bitcoin represent number > 16

You only need to use OP_PUSHDATA1 if you are trying to push more than 75 bytes of data onto the stack. For pushing smaller sized values onto the stack, you can use the opcodes 0x01 to 0x4b to ...
user avatar
  • 3,190

Only top scored, non community-wiki answers of a minimum length are eligible