Questions tagged [proof-of-work]

This tag should be used for questions regarding how Proof of Work works and Proof of Work algorithms. Proof of Work is a scheme where a 3rd party can verify that someone performed at least a certain amount of work to produce something. This is used in Bitcoin mining.

Filter by
Sorted by
Tagged with
203 votes
9 answers
116k views

What exactly is Mining?

I have heard that mining is for people with ready hardware and blah blah blah... But what exactly is it? Does it operate like real mining? I mean, people talk about it like you are physically mining.
Phonics The Hedgehog's user avatar
163 votes
6 answers
288k views

What are bitcoin miners really solving?

As with mining, what are the bitcoin miners really solving? I read they are solving hashes, but what does that really mean. Can we see what they are solving? Can someone give an example of what a ...
Patoshi パトシ's user avatar
113 votes
13 answers
13k views

Is there a way to set up proof-of-work systems so they would be even more useful?

One of the arguments made against Bitcoin's design choices is that it wastes resources authenticating transactions. In particular, finding small hashes is completely useless for the world. Are there ...
Artem Kaznatcheev's user avatar
42 votes
6 answers
29k views

Why doesn't Bitcoin migrate to proof-of-stake?

After reading a little bit about different consensus algorithms, I am just trying to understand why Bitcoin still uses proof-of-work. This consensus algorithm being exponentially expensive, and ...
Oscar Serna's user avatar
31 votes
3 answers
45k views

How does proof-of-stake "mining" work? [closed]

I know and understand the concept of proof-of-stake. Instead of requiring users to do a certain amount of power-intensive hashing "work", it requires you to own a certain stake of the currency in ...
Steven Roose's user avatar
  • 11.5k
28 votes
1 answer
12k views

What is proof-of-stake?

As we know one of the important mechanisms of Bitcoin is proof-of-work. How does the concept of proof-of-stake work? How does it differ from proof-of-work?
Dr.Haribo's user avatar
  • 8,399
26 votes
3 answers
82k views

The bitcoin mining algorithm from a programmer's viewpoint

This page: Blocks said mining is actually to solve a mathematical problem, but reading Block hashing algorithm doesn't give much help. I also tried reading bitcoind source code, but reading code takes ...
Mark Ma's user avatar
  • 395
23 votes
2 answers
5k views

What are the pros and cons of Ripple's consensus as compared with Bitcoin's proof-of-work?

One of the major differences between Bitcoin and Ripple is how they process transactions. I can think of three ways in which Ripple's "consensus" scheme is superior to Bitcoin's proof-of-work: Less ...
Manish's user avatar
  • 2,012
20 votes
6 answers
10k views

Why do we need Proof of Work in bitcoin?

I know that proof of work shows that the person has put in some time and power into the processing. I also know that bitcoin mining is adding a transaction into the blockchain and then the miner will ...
user153882's user avatar
19 votes
3 answers
12k views

What is proof-of-work?

Please explain the proof-of-work concept. And how does it relate to Bitcoin mining in general, and to the proofs of work (aka shares) of mining pools?
Dr.Haribo's user avatar
  • 8,399
18 votes
3 answers
5k views

Are there alternatives for proof of work?

Bitcoin uses proof of work to secure the network, Ripple uses a global consensus system and PPCoin uses proof of stake. Are there any known alternatives to the above methods?
Maestro's user avatar
  • 1,967
16 votes
2 answers
2k views

How can we be sure that a new block will be found?

How do we know the HASH function will produce an output that fulfills the difficulty, i.e. is below 0000...xxxx...xxx? Is it possible that no proof will be found so that the HASH will produce that ...
user4691's user avatar
  • 261
13 votes
4 answers
9k views

Why can't we design a bitcoin that does useful work? [duplicate]

The bitcoin network, including every miner, is the biggest computing project that humanity has created. Thus I ask: why, instead of using it to generate useless data, don't we use it to generate ...
Dokkat's user avatar
  • 139
13 votes
2 answers
3k views

What is Proof of Burn?

Can someone explain me: What is Proof of Burn What is the difference between Proof of Burn and Proof of Work How Proof of burn works Which virtual currency uses Proof of burn technology instead of ...
tdumidu's user avatar
  • 379
12 votes
2 answers
842 views

Is it possible for the network to stop finding valid blocks?

The hashing problem is by design computationally hard, because SHA-256 hashes are for all intents and purposes random strings with no direct link to their inputs, and there's no (known) way to ...
Massimo's user avatar
  • 1,048
12 votes
2 answers
2k views

Bitcoin without mining

Several months ago I've stumbled an interesting question about the Ripple system: How does Ripple solve the double-spend problem? Specifically about how double-spending is solved in Ripple. As you ...
Luca Matteis's user avatar
  • 5,152
11 votes
4 answers
2k views

How does proof of work inspire trust when the work is just guessing?

I'm struggling to understand the value added by machines guessing at inputs to create a hash below a target value in order to produce a proof of work. I understand the proof of work is somehow ...
mrwnt10's user avatar
  • 213
10 votes
5 answers
7k views

What features of scrypt() make Tenebrix GPU-resistant?

There's a fork of Bitcoin called Tenebrix that is claiming to be CPU-friendly and GPU-resistant (with regard to mining). They say that this is because they're using scrypt instead of SHA256. From what ...
David Perry's user avatar
  • 14.3k
10 votes
2 answers
4k views

Will the proof-of-work system end when all bitcoins have been mined?

This article from ArsTechnica is claiming that Bitcoin is not such an environmental disaster, and one of the reasons they mention is that mining will come to an end. Ok, fair enough, there is an end ...
knocte's user avatar
  • 1,756
10 votes
3 answers
23k views

What's the difference between PoW and PoS?

I'm looking for an explanation of the difference between Proof of Work algorithm and the Proof of Stake and how they relate to Bitcoin and the Blockchain. Also looking for a fairly simple, non-...
KryptoKidz's user avatar
10 votes
4 answers
1k views

Is it possible to make PoW ASIC-resistant through dynamically generated hash chains?

Bitcoin's static proof-of-work function SHA256(SHA256(data)) was apparently easy enough to be implement as ASIC which lead to the re-centralization we see today. But what if the PoW function changes ...
ToBe's user avatar
  • 133
10 votes
1 answer
335 views

Can we construct a UTXO which is spendable only via proof of work?

Do the current Bitcoin opcodes and transaction size limit allow constructing a UTXO which is only spendable if a specified amount of work has been performed? So the spender, would provide a nonce as ...
philbw4's user avatar
  • 404
9 votes
3 answers
6k views

How does Proof of Burn work?

I have been trying to make a comparison between PoW, PoS and Proof of Burn. While I understood the other two, I want to know how exactly Proof of Burn helps in attaining the consensus. One burns ...
trollster's user avatar
  • 260
9 votes
1 answer
1k views

What prevents similar time-warp attacks in Bitcoin as happened to Verge?

Right now (may 2018), Verge (an altcoin with proof of work) was attacked by time-warp attack. More can be read here https://blog.theabacus.io/the-verge-hack-explained-7942f63a3017 What exactly ...
Karel Bílek's user avatar
  • 2,655
9 votes
4 answers
385 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 ...
Andrew Vit's user avatar
8 votes
2 answers
5k views

Probablity Distribution of mining

What is the probability distribution of solving a block, given the same difficulty. So if I try to mine multiple times using the same difficulty, is it normal distribution with mean of 10 minutes? ...
jaybny's user avatar
  • 163
8 votes
3 answers
6k views

What Value does mining provide?

After reading the O'Reilly book and perusing online resources, I'm still confused about the value that the actual mathematical mining provides to Network (I understand it does provide value, but not ...
R V's user avatar
  • 83
7 votes
2 answers
2k views

How is it that concurrent miners do not subvert each other's work?

Every time a new block is added on top of block chain, the miners have to restart their work because the next block has to have a proper reference to previous block. Let's suppose that there is some ...
czerny's user avatar
  • 237
7 votes
4 answers
2k views

PoW 51% attack vs. BFT 1/3 attack?

So from what I understand, Bitcoin's PoW is prone to 51% attack, but as a distributed system it is also prone to BFT's 1/3 attack right? I think it's mathematically proven that in a distributed system,...
hellopeach's user avatar
7 votes
3 answers
439 views

What other whitepapers are there for coin distribution models like POW (proof of work) and POS (proof of stake)?

I'm looking for other types of distribution models for crypto coins that are like POW (proof of work) and POS (proof of stake). I'm assuming these are a type of distribution model for coins, or is ...
Patoshi パトシ's user avatar
7 votes
2 answers
880 views

How does a mix between Proof of Work/Stake work? (Peercoin) [closed]

I think I understand Proof of Stake and Proof of Work from a conceptual point now. For themselves both are good ideas for sure, but how would a crypto currency like Peercoin (PPC) combine both of them?...
Christian P's user avatar
6 votes
9 answers
2k views

How does a blockchain relying on PoW verify that a hash is computed using an algorithm and not made up by a human?

How does a blockchain verify that the hash provided (the one with the leading zeros that is supposed to be unique, computed using lots of processing power) is indeed unique and that it wasn't just a ...
Sprout Coder's user avatar
6 votes
3 answers
2k views

Beginner's question: Why must proof-of-work be useless?

I wonder why the proof-of-work under no circumstances may be usable. The argument I understand is: If the proof-of-work could be used, its results could be sold, and doing the proof-of-work would cost ...
Hans-Peter Stricker's user avatar
6 votes
4 answers
1k views

What is the problem that mining solves?

Of course, the function of mining is to secure the blockchain, but I'm looking for a more abstract summary of what the exact problem is that mining tries to solve? I believe its called the Byzantine ...
Maestro's user avatar
  • 1,967
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, ...
Geremia's user avatar
  • 4,469
6 votes
2 answers
1k views

51% attack and rewriting to the latest checkpoint

This is not a question about the consequence of a 51% on the price nor as to the motivation of the attacker. Let say we don't care that it's not realistic and we don't care that the attacker wouldn't ...
Cedric Martin's user avatar
6 votes
3 answers
956 views

How does a miner get selected in Proof Of Stake?

I am trying to understand POS. I get that POS uses currency held analogous to the hash power held in POW system. More the stake we have, more are our chances of mining the block. At various sources I ...
Piyush Chittara's user avatar
6 votes
1 answer
388 views

In what sense does the security model of proof-of-stake require users to "log on to the internet every few months"

This is primarily a question about something I heard Vitalik Buterin say in an interview the other day. (Unchained podcast's January 9, 2018 episode, at 34 minutes, 15 seconds) I quote: As far as ...
Nate Cook's user avatar
  • 115
6 votes
2 answers
393 views

What is the reason for using PoW in bitcoin?

As we know bitcoin uses Proof of Work Concept and it introduces never ending long block chain and some other issues. Why is it not designed in a way to use consensus algorithms what ripple uses? What ...
user3757837's user avatar
6 votes
2 answers
2k views

What happens to extinct blockchains, and transactions inside of them?

While understanding the concept of block chain and proof of work, few things are confusing me. Miners always consider the longest chain(by difficulty) and work on expanding it. Now, lets say two ...
Avikarsha Mandal's user avatar
6 votes
5 answers
171 views

How to protect the early stages of a proof-of-work application?

For a given cryptocurrency or other blockchain application, proof-of-work provides intrinsic security in the algorithm itself that makes it unlikely that someone can attack the network unless they ...
palako's user avatar
  • 111
6 votes
1 answer
480 views

Is it possible to combine PoW with PoS by taking turns?

I have read about cryptocurrencies and am very excited by many. I have read that one of the worries and constant debates is Proof of Work vs Proof of State with respect to securing the validity of the ...
deskenny's user avatar
5 votes
2 answers
10k views

Bitcoin alternative designed for NVIDIA

Currently the best graphics cards to mine Bitcoins are all AMDs. What should be changed in the Bitcoin protocol to make the alternative version of Bitcoins better mined by NVIDIA graphics cards? Could ...
ThePiachu's user avatar
  • 42.9k
5 votes
4 answers
2k views

Would Bitcoin still work without a target difficulty?

Suppose that Bitcoin nodes had no target difficulty at all, and instead just accepted the block with the largest PoW every 10 minutes. Ignoring the increased bandwidth (since nodes would be ...
MaiaVictor's user avatar
5 votes
1 answer
573 views

Is Bitcoin PoW actually SHA256 + Merkle generation? Or have I misunderstood coinbase/append?

Miners can mutate nonce (32 bits) + time (mutates once a second). This allows for 232 (~4 billion) hashes per second. That's not enough anymore for our ASICs as they perform in the TH/s now rather ...
ascendzor's user avatar
5 votes
1 answer
711 views

Byzantine Fault Tolerance Threshold of Bitcoin: 1/2 or 1/3? (Edited)

According to this answer: https://bitcoin.stackexchange.com/a/58908/41513 a Byzantine Fault Tolerant (BFT) consensus threshold is 1/3. On the other hand, there is a common belief that Bitcoin network ...
Questioner's user avatar
  • 1,152
5 votes
1 answer
804 views

How does scrypt pow work?

Bitcoin's pow is sha256, the hash of header is taken and check against a given target to see whether it is smaller than the target, this can be easy seen as block hash starts with zeros. But how does ...
fluter's user avatar
  • 247
5 votes
4 answers
1k views

Has anyone proposed a human only proof of work system?

There have been suggestions of proof of work requirements that exclude GPUs or ASICS (or try to) but I was wondering if anyone had suggested a proof of work that is not suited to being solved by ...
trichoplax is on Codidact now's user avatar
5 votes
3 answers
583 views

Is there a proof of work system which takes significantly more memory to generate than it does to verify?

Litecoin resists GPU speedup by using an scrypt-based hashing function that takes some amount of memory to generate and verify. The problem with this is that the r parameter needs to be set high ...
Nick ODell's user avatar
  • 29.1k
5 votes
2 answers
5k views

What is the difference in hashing algorithm between bitcoin and litecoin?

I am having trouble finding litecoin mining specifications. I would first of all require something like this: https://en.bitcoin.it/wiki/Block_hashing_algorithm Except for litecoins. I need to know ...
if __name__ is None's user avatar

1
2 3 4 5
7