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
1answer
17 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 "...
2
votes
1answer
347 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
2answers
50 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 ...
1
vote
1answer
33 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. ...
4
votes
1answer
422 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
50 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 ...
0
votes
0answers
36 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
30 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 ...
2
votes
1answer
129 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
52 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
36 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
78 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
36 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
39 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 ...
2
votes
2answers
466 views

Proof of work - lottery approach

I'm sure I am missing something here. But not sure what ... Proof of work - after all is said and done, when a hash is found (about 10 min), it is said to be like someone hitting the lottery. Anyone ...
0
votes
1answer
23 views

What is meant with 'the highest PoW'?

What is meant when the nodes select the chain with the highest cumulated PoW? How is the highest highest PoW calculated? I thought the concept itself is called PoW.
0
votes
1answer
98 views

Permissioned or Permissionless blockchain? Which one is PoS more adapted for?

Since in proof-of-stake (PoS) there is no mining process, according to functionality of permissioned and permissionless blockchains, which type is PoS more adapted for? In the other words, is a PoS-...
1
vote
1answer
69 views

where in the source code is the the proof of work checking the blockheader hash and nonce?

Where in the source code do we check whether hash(blockheader*nonce) < Difficulty In fact, the line I found is as follows: https://github.com/bitcoin/bitcoin/blob/v0.17.0.1/src/pow.cpp#L87 My ...
0
votes
1answer
44 views

If all Proof of … systems use mining

I understand how Proof of Work (PoW) works now, and am beginning to look at different Proof of ... systems like these: Proof of Stake Proof of Ownership Proof of Existence Proof of Space From what I ...
1
vote
2answers
70 views

What is entropy mean in this context?

"The Bitcoin nonce forms part of the block header, which is used by miners to provide entropy as part of the Proof of Work process, to try and find a hash meeting the difficulty requirement." Quote ...
1
vote
0answers
59 views

Proof-of-Stake: How to ensure immutability of the blockchain?

In Proof-of-Work, a miner tries to solve PoW puzzle based on the hash of previous block, such that in case of changing block B_i, all blocks after that (blocks B_i+1, B_i+2, ...) are no longer valid ...
9
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 ...
0
votes
2answers
19 views

Is it possible to accurately map hashing power to network size?

Let's say we have a network with n nodes in it. Is it possible, when the hashing power of the network is calculated after a proof-of-work, to accurately estimate n with an algorithm taking the ...
2
votes
1answer
143 views

What hash algorithm is used in Bitcoin Cash?

I know that bitcoin uses hashcash as PoW algorithm, Ethereum uses EtHash and Litecoin uses Scrypt. But I didn't found anywhere the PoW algorithm used in BitCoin Cash, does it uses hashcash too?
2
votes
1answer
181 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 ...
0
votes
1answer
36 views

is the proof-of-work for safety or efficiency?

i am reading the proof-of-work (aka: pow, target threshold, difficulty, etc.); my understanding is that pow adds a requirement to validate block headers, so that both benign and malign nodes need a ...
1
vote
1answer
86 views

Partial Proof of Work in Pools

Technically speaking a full PoW solution is one whose hash value is below a certain threshold value say V. It is not equivalent to saying that the hash value must begin with say X number of zeros (...
2
votes
1answer
78 views

Is this calculation of mining probability using the Bernoulli trial formula accurate?

I'm trying to understand the formulas for successfully mining a block (without a pool) based on hashrate over time (i.e. to chart the probability of finding a block at various historical points ...
0
votes
1answer
287 views

How to start Proof-of-stake phase after pre-mining the coin in Proof-of-work phase? [on hold]

I am learning to develop a new cryptocurrency on my own, for the same i decided to develop a Proof-Of-Stake coin, I forked the Okcash for this purpose. And was able to change the coin according to my ...
2
votes
1answer
59 views

Proof of work: average number of tries to create a block

First, I'm sorry if I'm asking a stupid question. I'm just trying to understand bitcoin. I'm reading the Ethereum white paper, and I couldn't understand this sentence about proof of work: At the ...
3
votes
1answer
83 views

Why haven't a large number of cryptocurrencies copied Primecoin's mining algorithm? [closed]

According to my understanding, generating an ever-growing list of prime numbers benefits mathematics and society in some mysterious way. Given this, why have more recently created proof-of-work ...
1
vote
1answer
195 views

Is “Proof-of-work” a subset of “Byzantine fault tolerance (BFT)”?

Can we say that Proof-of-work is a type of Byzantine fault tolerance (BFT) ? In other words, is PoW a subset of BFT ? Or they are two different categories? Please note that there is a similar ...
0
votes
1answer
27 views

How is the amount of proof-of-work invested in a chain calculated?

The bitcoin whitepaper (page 3) states The majority decision is represented by the longest chain, which has the greatest proof-of-work effort invested in it. I could not find how exactly this ...
0
votes
2answers
76 views

What is the reason to pay miners “monetary rewards” for mining process?

Is it correct to say that: In Bitcoin, it is crucial to incentivize miners by monetary reward, because mining process has significant monetary cost (energy/electricity cost). ? otherwise, mining ...
0
votes
3answers
51 views

What is resource of mining rewards

How the coins must be paid miners for mining process is provided? One of resources may be transactions fee. Is there any other resources for proving reward of miners?
2
votes
1answer
89 views

What is the “main” difference between consensus mechanism of Bitcoin and Ethereum?

Bitcoin and Ethereum both use proof-of-work (PoW) consensus mechanism. One of differences between Bitcoin Pow and Ethereum PoW is difficulty level, meaning that while in bitcoin block generation rate ...
0
votes
2answers
54 views

What would happen if PoW cost were drastically reduced or eliminated?

Assuming Bitcoin had a different method for selecting winning nodes and controlling block time creation, please describe step-by-step how the Bitcoin network would be vulnerable to various attacks. ...
3
votes
4answers
709 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
1answer
46 views

Ethereum's PoW difficulty

Bitcoin's block time is about 10 minutes while that of Ethereum is 15 secs. Both are using PoW at this moment, right? How come Ethereum's block time is so short compared to Bitcoin? Is hashing a lot ...
2
votes
2answers
60 views

Blockchain validation process is linear?

I've read at a few places that the nodes validate transactions in a linear fashion, i.e. after node A validates, then node B, etc. (which is also the reason, as claimed by many, why blockchain suffers ...
1
vote
1answer
31 views

Security via Proof - of - Work

I am reading Satoshi's original paper, merely for the sake of understanding the concept. I have minimal computer science background (some), mostly just mathematics. In Section 4. Proof of Work of ...
1
vote
2answers
111 views

What happens if full nodes don't check for double spends or deliberately lets a double spend TX pass and then this full node relays the transaction?

I am studying about Bitcoin and Blockchain tech via the Princeton crypto course, and it mentions that Full nodes do the following checks : i)transaction is valid with the current blockchain, ii)...
0
votes
0answers
36 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
1answer
67 views

Why not to mine more efficient?

I'm a kinda newbie here. But this is what I completely can not understand. If every single miner have to 'arrange' transactions and then compute a SHA-256 function of a given memory chunk, and if ...
1
vote
1answer
44 views

Is it a problem that miners participate in a pools? [duplicate]

I am talking about miners centralization with large pools. Is it a problem? I think there are some possible ways to prevent miners from pooling. For example add miner signature to the block header, ...
1
vote
1answer
49 views

On a low level, how are long chains kept secret and later broadcast during 51% attacks?

I've been reading about the vulnerabilities of PoW crypto, and there's a part of it that I don't understand. Suppose I wanted to stage a 51% attack on Bitcoin (not really feasible, but bear with me). ...
0
votes
2answers
66 views

Proof of Work: email versus bitcoin

I have read "Hashcash is a proof-of-work algorithm that requires a selectable amount of work to compute, but the proof can be verified efficiently. For email uses, a textual encoding of a hashcash ...
8
votes
1answer
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 ...
0
votes
1answer
97 views

Is the bitcoin blockchain really non-corruptible? [duplicate]

Some people say that proof of work is better than proof of stake, because it's not possible to rewrite the whole blockchain on-spot. One would need to "re-mine" everything. But I think this is not ...
1
vote
1answer
149 views

My coin - Proof-of-Action

I am writing a project on cryptocurrencies. As a part of this project, I thought of a new token for web services exchange. I tried to combine PoW and PoS and here is what I have. I called it Proof-of-...