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
0
votes
0answers
9 views

Which application software can be used to simulate the Proof-of-work algorithm of a single node in Bitcoin?

Which application software can be used to simulate the Proof-of-work algorithm of a single node in Bitcoin? I want to get results such as the average mining time to get a block and I want to be able ...
0
votes
1answer
44 views

Why this alternative method to mining will fail?

From what I understand, we need mining to validate the block, we need the proof of work to limit the number of miners can add a block, and we need the block interval to give time to the new block to ...
1
vote
2answers
301 views

Why don't the miners just take profit from our coins and make the coin worthless?

You own a very valuable thing and you want to go to holiday without it, but there is nobody who you trust and who can look after the thing. So you take somebody unknown to guard it. You pay him a fee ...
0
votes
2answers
32 views

Incentive for miners to keep mining once reward get very low [duplicate]

Currently each winning miner receive 12.5 bitcoin or 12.5*10 000 dollar per successfully mined block and the amount of bitcoin receive is divided by 2 approximately each 4 years. The incentive to ...
28
votes
3answers
39k views

How does proof-of-stake “mining” work?

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 ...
1
vote
2answers
207 views

Is the purpose of proof-of-work the immutability of the blockchain?

I have a disagreement with a person: I believe that the primary and most important goal of including proof-of-work (and therefore the nonce) in a block is to make it hard for an attacker to change ...
1
vote
0answers
24 views

security of the mining algorithms litecoin vs bitcoin - scrypt vs sha256?

how is the cryptanalysis' current state on both sha256 and litecoin's scrypt? is litecoin's scrypt on a security level like sha256? by security i simply mean ways to "break"/"de-cipher" the hash ...
0
votes
2answers
205 views

Difference between Hashcash proof of work algorithm and Ethash proof of work algorithm?

Understand that each proof of work algorithm has its pros and cons. Difference between Hashcash proof of work algorithm and Ethash proof of work algorithm? Nathan Aw
0
votes
1answer
25 views

Bitcoin Orphan blocks - short question about the “time lag” factor and proof-of-work “size”

"However, it is possible that two miners produce a block at a similar time. This situation occurs because the acceptance of the blocks into the blockchain by the nodes of the blockchain network ...
1
vote
1answer
23 views

How much more energy efficient is PoS (proof of stake) than PoW (proof of work)? Are there any figures on this?

I've been trying to look for some evidence showing that PoS is more energy-efficient than PoW. In theory, it's true, but if there are any figures or stats you can share on this, I'd be very grateful. ...
1
vote
1answer
31 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 ...
2
votes
2answers
39 views

Is it possible to have a modified Proof of Work that does not require as much energy to secure the blockchain?

As more ASICs hash away for acceptable difficulty, the difficulty keeps rising over time. Greater difficulty means to me that more electricity is used to secure the Bitcoin blockchain. Are there ...
10
votes
4answers
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 ...
1
vote
1answer
43 views

Timer-based consensus algorithm in blockchain

Assume that there is an algorithm that ensures: 1- That a full node chooses an honest random wait time. 2- That the same node has waited the specified amount of time before proceeding to mine a block. ...
0
votes
1answer
32 views

What is the algorithm that adjusts the difficulty of the proof of works in a proof of work based cryptocurrency? [duplicate]

For instance, Bitcoin has a proof of work based consensus algorithm, it's how Bitcoin chooses a node to create the next block in Bitcoin's blockchain. In this way the network is in consensus about the ...
4
votes
0answers
50 views

Can we measure bitcoin's accumulated work in terms of entropy (in bits) directly rather than expected number of hashes?

The Background Bitcoin tracks chain work by counting the (expected) minimum number of hashes it would take to create a chain of the same number of blocks and same difficulty steps[1]. Naturally, ...
0
votes
1answer
26 views

What would the effect of a very long bear market be on the Bitcoin economy?

I don't mean to be a doomsday prophet or spread FUD, but I need to know if Bitcoin (or any PoW coin) investors should be concerned about the following scenario: Assume Bitcoin goes in a very long ...
9
votes
1answer
161 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 ...
1
vote
1answer
34 views

Why does it make sense for mining pools to send empty blocks to miners in Stratum v1?

I am reading the recently released specs of Stratum v1 versus Stratum v2. One of the features is that "it is equally as efficient for pools to send full blocks for miners to begin working on as it is ...
0
votes
2answers
33 views

Bitcoin mining process-the leading zeros before the hash-how is the mining puzzle solved exactly?

Can someone please explain: In Bitcoin proof of work, mining is done to create and validate new blocks. Who becomes the sole block producer is subject to winning a "mining puzzle". As I understand, ...
0
votes
0answers
25 views

what prevents a miner from adding a false transaction to a block and then adding it to the block chain in PoW? [duplicate]

Here is what I understand, the step to PoW are: step 1:Miner select some transactions from its mempool. step 2:Miner tries to create a block and then broadcasts it if successful. step 3:Other ...
7
votes
2answers
637 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?...
1
vote
6answers
2k views

Is proof-of-work required in Bitcoin?

It seems that the rationale behind the proof-of-work requirement in Bitcoin is that it creates trust in a decentralized trustless network by: helping to reach consensus on which version of the ...
1
vote
1answer
143 views

A Blockchain that merges mining forks and could be more power-efficient? [closed]

I'm new to blockchain technology so I'm sorry if I'm using wrong terminology. This is not a Bitcoin question, but a general blockchain question. Imagine a theoretical blockchain that uses gradual ...
3
votes
1answer
39 views

Could a malicious attacker subvert the Bitcoin network by failing to create a block?

I know its astronomically improbable, but say a malicious node "wins" the proof of work inherent to the Bitcoin protocol. If a malicious node simply waited indefinitely, or maliciously disconnected ...
1
vote
3answers
58 views

when a miner solves the problem in less than one timestamp then what does it do with its extra capacity?

If a miner solves the problem in less than one second then how does it use the extra capacity.
1
vote
1answer
46 views

Chain Race: How to know chain-length of competing chain?

If a fork happens, miners mine on the block they receive at first. Further, they only forward the block they received first (so the block they will use to mine)! So it can happen that 10% of the ...
0
votes
1answer
31 views

Beneficial proofs of work [duplicate]

I'm new to this community and a Bitcoin novice. I believe to have understood the concept and purpose of proof of work but also, that the high energy consumption of proofs of work is a major problem ...
0
votes
1answer
147 views

Hash-based crypto-currencies?

What are the most famous crypto-currencies which use repeated hashes as proof-of-work? What are the other proof-of-work methods?
2
votes
1answer
429 views

Does proof-of-work contribute directly to prevent double-spending?

I know similar questions have been asked before (e.g. How proof of work prevents double spend) but I'm struggling to visualise the solution to double-spending being directly reliant on proof of work. ...
0
votes
1answer
39 views

Mining operation calculation

My goal is to understand bitcoin. I have read what happens during a transaction and have a question about it: When a transaction happen, the miners compute a value called "prof of work". This value ...
3
votes
2answers
110 views

What would happen if miners refused halving

In may 2020 the supply of bitcoin per block is supposed to be reduced by half https://www.bitcoinblockhalf.com/ What if after this phase the first miner or more than 51% of them decide to keep the ...
7
votes
3answers
5k 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 ...
2
votes
2answers
310 views

Why can't miners meet the difficulty by picking a low number for the block hash?

In terms of 'proof of work' my novice understanding is that miners are tying to come up with a 64-digit hexadecimal number, "hash," that is less than or equal to the target hash. Can't miners always ...
0
votes
1answer
43 views

What is stopping me from modifying the mempool of my node (may it be PoS or PoW)?

I have been trying to wrap my head around some core concepts of how a blockchain works and something has been bothering me for a while. Let's consider a case where I am running a full node of a ...
4
votes
2answers
1k views

Why is the winner of Pow different everytime?

I just read about how miners have to change the nonce bit in order to find an hash below a certain result. Granted each miner process it the same way, incrementally, adding 1 and hashing, adding one ...
1
vote
1answer
22 views

A question about Proof-of-Work(PoW)

I will describe my question using an example. Let's say the network is working on adding block #100 to the blockchain. An attacker recreates block #99 with a combination of transactions that are "...
0
votes
2answers
127 views

Mining Probability

Assuming two miners have a (1/x) chance of finding a block over some time period, is the probability of both miners finding a block within that period simply (1/x^2)? More generally, would n miners ...
5
votes
1answer
458 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 ...
1
vote
1answer
111 views

Consensius algorithm difference to PoW and BFT

I have a question on the consensus algorithms, in particular, what is the principal difference conceptual to the family algorithm od PoW(used to bitcoin) and BFT(used to Libra blockchain with the ...
4
votes
4answers
990 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,...
0
votes
0answers
43 views

Finding target based on difficulty calculation

I'm trying to find the current target value, but it is not listed in any place. So far I found out that the only way to get target value is to calculate it from "difficulty" value, which is now: 6,379,...
0
votes
0answers
33 views

Estimating difficulty of “Memory-Hard Proof-of-Work” based on “size of memory”?

In Bitcoin proof-of-work, the difficulty of Proof-of-Work is estimated and calculated based on total hashing power of the participants. If total hashing power of the participants is higher, then PoW ...
3
votes
1answer
231 views

How does Proof of Stake prevents dishonest behaviour compared to PoW?

I know that in Proof of Work (PoW) once a node has found the solution (the nonce) they announce it to the network. Then the rest of the nodes can easily verify the correctness of the block hash and ...
2
votes
1answer
148 views

Why do we need to chain the blocks (creating blockchain) in a permissioned blockchain?

The main question is: What does "chaining block" mean in a permissioned blockchain? OR in any blockchain network in which creating a new block does NOT need consuming resources/energy ? (even in the ...
2
votes
1answer
66 views

How do blockchains in each nodes maintain consistency?

What I understand as (Please correct me if any statement is wrong) Every full node tries to generate a new block, in which different amount of transactions are included and what to be included will ...
2
votes
2answers
39 views

How do bitcoin miners determine the next valid state of a ledger?

I know bitcoin miners compete for a reward by seeing who can solve a difficult hashing problem first (proof-of-work). However, how does this random hash problem help validate the transactions in the ...
-2
votes
1answer
99 views

How to change Bitcoin's proof of work? Then enable miner [closed]

I'm using https://github.com/jgarzik/pyminer/blob/master/pyminer.py to test a few different hash functions. Instead, I'd like to try keccak, a few of them in some order like an "X5" and so on. This ...
2
votes
1answer
53 views

When does miner insert the coinbase transaction?

When a miner creates the candidate block with transactions from the mempool, does he insert the coinbase transaction after winning the PoW or during PoW?
1
vote
1answer
53 views

How to model randomness in validators selection in PoS?

I searched a lot here and on the Internet to figure how how randomness selection of validators in PoS works? I understand it is a random selection based on fraction of stake a validator has, similar ...

1 2 3 4 5