All Questions
Tagged with nonce proof-of-work
13 questions
2
votes
1
answer
102
views
Where exactly is the mining code in Bitcoin Core?
I've been looking for months for the real mining code in the Bitcoin Core source code for the function/s that implement the incrementing of the nonce and hashing blocks for mining and never found ...
0
votes
4
answers
1k
views
Finding Hash with 11 leading zeroes
For an exercise, I'm trying to find a sha256 hash with 11 leading zeroes.
For this reason, I wrote a Python script that basically tries all intergers from 1 to N and brute forces the hash. Now my N is ...
0
votes
1
answer
87
views
When should proof-of-work be done? Does it involve in mining a coin? Can it be done without real transactions to be recorded?
I am trying to understand about what bitcoin is. I conceptualize bitcoin as a proof of work required when a new block (or new coin) is created. I also understand that a proof of work involves finding ...
0
votes
1
answer
112
views
Are Bitcoin transaction fees competitive?
I was listening today to their conversation about the transcation fees in Bitcoin and Michael Sailor's understanding stroke me as inaccurate.
Is there any direct incentive within the Bitcoin protocol ...
1
vote
2
answers
1k
views
Who decides for Blockchain PoW puzzle?
In PoW algorithm a miner has to solve a mathematical puzzle whose difficulty depends upon load on network and total computing power. But who decides what would be that puzzle for each block?
For ...
1
vote
1
answer
267
views
How finding a working nonce says anyting about the validity of an initial transaction
I am by no means an expert, nor a cryptographer, but I would be interested in knowning a little bit more than what happens at the end of the following chain of events.
What happens at the end of the ...
2
votes
1
answer
304
views
Who decides what the next, correct Nonce is?
As I understand finding the correct Nonce is the basis when hashing transactions for Proof of Work.
How and where is this decided in the ecosystem what the next Nonce is?
In my limited understanding ...
0
votes
1
answer
1k
views
Steal proof-of-work answer from a miner [duplicate]
Is it possible to steal proof-of-work answer from a miner who has insecure machine? Consider a miner who has insecure machine found correct answer of proof-of-work and an adversary steals this it and ...
1
vote
1
answer
240
views
Does 4 byte Nonce enough to proof of work?
Is it always possible to find an hash value of a block, smaller than the current difficulty, just using 4 byte (Nonce) ? How can we be sure about it ?
0
votes
1
answer
947
views
What prevents a miner from faking nonce hash
What exactly prevents a miner from presenting a random nonce hash of the block with enough zeroes at the start to get chosen?
How is the new hash verified by the other nodes? Since as I understand ...
3
votes
1
answer
1k
views
Why change the nonce instead of just rehashing?
Why do miners increase the nonce to compute a block hash rather than just generating a random block hash? It seems to me that both approaches would have the same likeliness of finding a result that ...
6
votes
3
answers
2k
views
Does every nonce really have an equal chance of winning?
I set out to test the claim: "Every nonce has an equal chance of winning."
Time Evolution
So, I plotted, with gnuplot, the nonce values vs. hashes for all the valid blocks in the blockchain:(Also, ...
9
votes
4
answers
397
views
How cooperative or competitive is the mining process?
As each miner works out which nonces it has tried, does it notify the network so that energy isn't wasted on re-processing the same thing by each node? Or is it totally competitive with everyone for ...