Hot answers tagged

34 votes
Accepted

How can I setup Bitcoin to be anonymous with Tor?

This is not a thorough schooling on Tor and only shows how to configure it to work together with Bitcoin Core. Bitcoin Core includes Tor integration When Tor is correctly setup on your system, Bitcoin ...
user avatar
  • 3,126
29 votes

What is the coin selection algorithm?

I couldn't find the results of the Coin Selection written out anywhere, and just finished piecing it together from the code. It works as David mentioned, but here are more details. The Coin Selection ...
user avatar
  • 63.4k
20 votes
Accepted

Can two private keys generate the same (public) Bitcoin address?

Yes, you can have two keys generate the same address. There are 2^160 possible addresses, and 2^256 possible private keys, so each address corresponds to roughly 2^(256-160)=2^96 private keys. Any of ...
user avatar
  • 4,347
16 votes
Accepted

Is there a reason to why Bitcoin Core does not implement BIP39?

BIP 39 is not in Bitcoin Core largely for implementation reasons and because BIP 39 is not as secure as it could be. The structure of Bitcoin Core's wallet doesn't really allow for BIP 39 to be ...
user avatar
  • 61.4k
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

How do I export an xpub from Bitcoin Core for use in BTCPayServer?

This is not currently possible, as Bitcoin Core uses hardened BIP32 derivation to compute keys and addresses. This derivation scheme does not have a usable xpub that lets you derive the same keys ...
user avatar
12 votes

Is bitcoin.org or bitcoincore.org the one to trust?

It looks like https://bitcoincore.org/ is the one run by the people who run the Github bitcoin/bitcoin project (the actual core developers) since it is the one listed on their Github page: https://...
user avatar
  • 1,992
9 votes

How to get an address's balance with the bitcoin client?

import all address using "importaddress" you can get balance using "listunspent", but you must sum all unspent amount per an address.
user avatar
9 votes
Accepted

How to get unspents for a specified bitcoin address?

listunspent only displays information about addresses which are currently part of your wallet. Bitcoin Core does not maintain indexes of unspent outputs for addresses you do not own, and will simply ...
user avatar
  • 15k
9 votes
Accepted

What would be the Internet Usage For 100 Antminer S7?

Mining in a pool setting actually doesn't require all that much bandwidth. This is because you get block templates sent to you and that single template can be used by all 100 miners. A block template ...
user avatar
  • 7,629
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

How to dump peers.dat file to a plain text file?

To my knowledge, there is currently no way to do this, so I wrote one. The details of decoding peers.dat are described in my blog post Demystifying Bitcoin's peers.dat. The result of that is an open ...
user avatar
  • 16.5k
7 votes

How to find a specific bitcoin address from all the addresses?

As Arturo and Aussie already said, directory.io shows all Bitcoin addresses sorted by private key. Also, the author explains his intent on directory.io/faq. The first page has 11.302 Byte. Assuming ...
user avatar
  • 63.4k
7 votes

Why doesn't Bitcoin use a DHT for choosing peers?

DHTs are built so that nodes keep only a small portion of other nodes addresses in their routing table (the closest ones). This means that when you send a message to a DHT to put("foo", "bar"), only ...
user avatar
  • 5,114
7 votes

is it possible to decode block height from a blockhash?

No. The whole point of a hash is that it's a one way function. You can't "decode" any of the header data from the block hash. Moreover, the block height isn't even contained in the block header. ...
user avatar
7 votes
Accepted

is it possible to decode block height from a blockhash?

No. The block hash is a hash of the block header... but even if you could reverse the hash function (which is impossible, or Bitcoin would be broken), you wouldn't know the height, as the height is ...
user avatar
7 votes
Accepted

bitcoin.rpc python library problem

in debian =) sudo apt-get install libssl-dev pip install python-bitcoinlib or pip3 install python-bitcoinlib
user avatar
7 votes
Accepted

Why is 550 (MiB) chosen for minimum storage size for prune mode?

Just got help from someone at BitcoinTalk forum, who directed me to bitcoind 0.11.0 changelog (Which pruning was introduced/implemented for the first time in bitcoind) As indicated there, Block ...
user avatar
  • 273
7 votes
Accepted

Can a customized or non-bitcoin node be made to talk to a bitcoin node?

Of course. Bitcoin nodes are just software that implements the Bitcoin P2P protocol. There are many software packages out there that do so (including full nodes, standalone wallets, indexing software, ...
user avatar
7 votes

Is it not possible to have password reset feature in Bitcoin Core Wallet?

Because it could be used by anyone with access to your device. You may as well have no passphrase and leave the wallet completely unprotected. Businesses can offer a password reset for an account ...
user avatar
6 votes
Accepted

Has anyone ported the Bitcoin software to "pure" Clojure?

There are several Bitcoin Clojure projects, but none of them appear to have a full rewrite of Bitcoin as a goal. Of particular interest is https://github.com/johnwalker/bitcoin-protocol , which is an ...
user avatar
6 votes

What is a good resource to help newbies choose their first wallet/s?

Great resources here to help you select an individual wallet: https://bitcoin.org/en/choose-your-wallet Truthfully, having your own wallet that works across Windows/Android/Chrome might be on the ...
user avatar
6 votes

What is a good resource to help newbies choose their first wallet/s?

I'd recommend to read up on Bitcoin to understand what you're doing. Then you can find an overview of wallets on bitcoin.org, but for a quick start, the fastest way to get started is: Desktop (...
user avatar
6 votes
Accepted

Are really all transactions (the whole blockchain) stored on every client?

Everyone running a bitcoin Core node must download the entire ledger of transactions listed on the blockchain... But the vast majority of Bitcoin wallets are simply a place that stores a user's ...
user avatar
6 votes
Accepted

What is the oldest Bitcoin Core Client that can in theory sync to the chain tip?

The oldest version that can sync is 0.8.6. This is the version that first used LevelDB instead of BDB. Both the IRC node discovery and the protocol message changes occurred several versions prior.
user avatar
  • 61.4k
6 votes
Accepted

Why is the bitcoin client still in beta

Bitcoin Core probably will never have a "1.0". 1.0 is a socially significant number which indicates some kind of finality or completeness (at least initially). This itself is holding back ...
user avatar
  • 61.4k
5 votes

How to send bitcoin with a message attached

If you are just looking to encode a message into the URI, then look at BIP 20. If you want to actually associate the message in the block chain, then I would take a look at this stack overflow ...
user avatar
  • 13.7k
5 votes
Accepted

What was the first official BTC miner software?

The first official mining software was Bitcoin Core (then known simply as Bitcoin, later bitcoin-qt), and it still serves as a reference mining implementation, making it the "official" miner. See its ...
user avatar
  • 4,347
5 votes

How to transfer different cryptocoins from one daemon to another

How do you transfer your potatos into rice? You go to market, find somebody who wants to "transfer" his rice into potatos and exchange it with him. There's no direct way of transfering one commodity ...
user avatar
  • 1,394

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