Most Popular
1500 questions
9
votes
3 answers
How do miners detect double-spending?
Assuming I spent 1BTC, then waited a few months and then spent it again. How is this detected? Do the miners go through the entire blockchain to assure the coin was never spent before?

frmsaul
- 191
- 1
- 2
9
votes
1 answer
Why would increasing the Bitcoin block size lead to a more centralised system?
Why does Bitcoin Core contributor Peter Todd think that increasing the Bitcoin block size would lead to a more centralised system?
“The system doesn’t scale, and you just have to accept that and do something smarter. Every time you do a [block size…

Derek Mahar
- 197
- 5
9
votes
2 answers
Why does Bitcoin use two rounds of SHA256?
Each blocked is hashed twice. Why isn't one application of SHA256 enough?

ripper234
- 26,550
- 30
- 111
- 246
9
votes
7 answers
Is performing a 51% attack / double spend on Bitcoin illegal?
Suppose I had an ultra large ASIC from the future, and could perform a double spend on the core Bitcoin network. At this point in Bitcoin's development, it is no longer a game - there's real money involved.
Would performing a successful double spend…

ripper234
- 26,550
- 30
- 111
- 246
9
votes
8 answers
Can more than 1 block be solved per 10 mins on average (LONG TERM)?
I am wondering whether it is possible for a supercomputer to find the next 1000 blocks in a very short amount of time. Hypothetically, if a government agency concentrated a supercomputer on hashing, could they solve the next 2016 blocks in a few…

R--
- 91
- 1
- 2
9
votes
3 answers
How does restoring an HD wallet work?
I was trying to learn working of bitcoin and trying to understand the working of bitcoin wallet.
I can see the behavior of how an HD wallet starts with an address and adds additional addresses later for receiving bitcoin.
I read bip-0032, but still…

Sarath Babu
- 191
- 3
9
votes
3 answers
How can I find out if an e-wallet service uses a fractional reserve system?
A comment on this answer pointed out that the total amount of bitcoins in circulation could appear to go above the limit of 21m if wallet services use a fractional reserve system. However, in that scenario you actually no longer have bitcoins -…

Highly Irregular
- 10,960
- 6
- 54
- 103
9
votes
1 answer
How much out of order are the blocks stored in the blk*.dat files?
To be more exact: Given two blocks A and B, with heights A < B, but with positions in the blk file (we'll call them pA and pB) pA > pB.
What is the maximum amount of blocks that there could be stored in a blk*.dat file, between pB and pA?
For…

Fernando Tiberti
- 245
- 1
- 5
9
votes
2 answers
bitcoin-cli get all tx hashes for watch-only address
does bitcoin-cli have any functionality to get all tx hashes for a given address (ie the txs that either send or receive funds from the given address). listtransactions sounds like it should do what i want, but when i run it like so then i get no…

mulllhausen
- 1,713
- 2
- 15
- 33
9
votes
1 answer
How do I configure Bitcoin Core to connect always to a particular node?
By reading https://bitcoin.org/en/full-node I've decided that I want to run a FULL node (let's call it 'X'), to contribute to the P2P network.
So, I'll leave its ports open, or have a DMZ zone with a public IP address in it.
But this comes with…

knocte
- 1,784
- 1
- 17
- 34
9
votes
1 answer
Importprivkey's "label" - is it the same as an account?
The "importprivkey" API call allows one to import a private key and save it with a label. Is the "label" in the API call synonymous with an account used in the wallet?

ThePiachu
- 43,091
- 25
- 139
- 348
9
votes
1 answer
How is the size of a block calculated?
How is the blocksize currently calculated in Bitcoin Core? I'm specifically asking about how it's done for the purposes of enforcing the 1MB limit. If it's done by calculating the serialization length, what serialization format is used?

Nick ODell
- 29,396
- 11
- 72
- 130
9
votes
1 answer
In Proof-of-Stake, can the same miner mine a block multiple times in a row?
In Proof-of-Work, there are no rules on who will mine the next block - the selection is random and proportional to miners' computing power.
How is the next miner selected in various Proof-of-Stake block creation algorithms? Can the same miner /…

ThePiachu
- 43,091
- 25
- 139
- 348
9
votes
1 answer
What SIGHASH flags does CoinJoin use?
What SIGHASH flags are used when constructing a CoinJoin transaction?

Nick ODell
- 29,396
- 11
- 72
- 130
9
votes
2 answers
How can importprivkey compromise wallet security when importing a publicly known private key?
A question was asked on reddit over here which I gave a reply: https://www.reddit.com/r/Bitcoin/comments/3khrvm/how_do_i_use_private_keys_to_receive_bitcoin/
However, luke-jr replies with:
Don't do this. You compromise your wallet's security to…

greatwolf
- 627
- 8
- 21