Questions tagged [difficulty]

This tag should be used for questions regarding difficulty which encodes the likelihood of one hash to succeed at mining a block. Indirectly, it is a measure of the total hashing power of all miners for a given cryptocurrency.

Filter by
Sorted by
Tagged with
1
vote
1answer
26 views

What does it mean to make mining more difficult? [duplicate]

Really I don't know nothing about bitcoin but now I got curious read something and immediately come to something on mind. I mean, there's a social economic comunity somewhere generating value based on ...
2
votes
0answers
30 views

Cant understand how share difficulty affects my chances in solo mining with a pool

So obviously I am not solo mining bitcoin but I think the underlying principles are the same so you guys could help me out here. I am solo mining ergo on a solo pool (herominers solo pool) What I do ...
2
votes
4answers
100 views

What is the meaning of difficulty in Bitcoin mining?

I'm a beginner in Bitcoin and Blockchain technology, so I have a question after reading about the difficulty in Bitcoin mining: What does the difficulty actually mean? I read that A high difficulty ...
0
votes
1answer
28 views

Bitcoin difficulty: One block with very high difficulty vs. long chain with accumulated difficulty

First assume the hypothetical scenario, that someone has infinite hashing power, starts with the genesis block and mines one block, that has higher difficulty than the whole "normal" ...
5
votes
2answers
3k views

Isn't Bitcoin's hash target supposed to be a power of 2?

From Bitcoin's whitepaper I've gathered that the hash of a block must start with a certain number of zeroes. And that this number of zeroes is adjusted every 2 weeks. Consequently the hash target is a ...
0
votes
0answers
19 views

About mining difficulty [duplicate]

I hope you’re all doing well during this COVID-19 period. I was wondering how you can calculate the difficulty rate of a coin (Mining purposes)?
1
vote
1answer
49 views

How is the Max Target of a Genesis Block Decided?

I've been diving into the world of Blockchain and crypto lately, trying to build my understanding of mining specifically. I understand that in POW systems, the difficulty of the first block is 1, and ...
1
vote
1answer
22 views

How is “cumulative PoW” calculated to decide between competing chains?

Chain 1 has blocks with targets diff1, diff2, diff3, diff4 Chain 2 has blocks with targets DIFF1 DIFF2 DIFF3 What's the formula to derive the (relative) cumulative proof of works from these chains to ...
0
votes
0answers
27 views

Was Bitcoin originally designed to be easy to mine?

I’ve read that back around early 2009, Bitcoin was so easy to mine that an old laptop could mine hundreds of coins in a day by simply using a CPU. Was this Satoshi’s original idea for how people ...
0
votes
1answer
160 views

What would happen if mining difficulty would be decreased to almost nothing?

What would happen if Bitcoin mining difficulty would be reduced to nothing/very easy? I can only think of the benefits such as exceptionally lower enery waste and much faster transaction processing. ...
1
vote
1answer
68 views

Is there an easy way to estimate the number of mining nodes?

I was curious about the number of mining nodes on the network, yet I haven't seen it discussed. I tried two different approaches to approximate the count of mining nodes. I looked up the hashrate of ...
0
votes
0answers
11 views

Bitcoin leading zeros as difficulty [duplicate]

Does it necessarily have to be leading zeros that determine the bitcoin difficulty, is it possible to use lets say 9 zeros at the end of the hash to determine difficulty as well.
1
vote
1answer
37 views

What would the expected block mining time be if 30% of the total network hashrate disappeared suddenly?

Ignoring the economic reasons as to why this may or may not happen. If for some reason the network hashrate suddenly dropped by 30% immediately after a difficulty adjustment and remained at that ...
0
votes
1answer
83 views

How are the nBits of a block calculated?

So I've been trying to figure out how the nBits of a block is calculated, but I can't seem to come up with an answer. I know (think) that it's based off the difficulty of the block, but I'm still not ...
0
votes
1answer
48 views

How does the difficulty target affect the time to complete the block? [duplicate]

So, I'm currently doing a personal project where I'm creating my own crypto blockchain (just for fun). I'm currently coding the Difficulty Target part of the Blockchain, but I'm not entirely sure how ...
0
votes
1answer
66 views

ELI5: does the number of 0's required in mining for SHA256 over the years strictly increase, or does it depend on how many miners there are?

It is said that to discover a block, the person has to get a SHA256 number that has all 0's for the first 72 bits. Does this number 72 change and become bigger and bigger over the years (say, every 4 ...
0
votes
2answers
44 views

How is difficulty enforced in the bitcoin blockchain? [duplicate]

Is it through some sort of voluntary acceptance by miners or is it hardcoded into the bitcoin blockchain to not accept a block which doesn't achieve a given difficulty level?
1
vote
1answer
48 views

With the right technology, could the entire blockchain be rewritten?

Imagine that someone had access to an alien super computer such that they could mine any block in nanoseconds. At that point, could that person create a chain with the same BTC genesis block, generate ...
1
vote
1answer
40 views

How many numbers to try to solve the proof-of-work problem

I'm preparing for a lecture on blockchain, where I'm going to briefly explain the proof-of-work mechanism and the hashcash challenge. To illustrate the difficulty, I want to give the maximum amount of ...
0
votes
0answers
24 views

Probability of hash yielding a valid block

I read today in a paper that for BTC every hash has a probability of yielding a valid block and that this is approximated by most of the time. Can someone explain to me how to come up with this ...
0
votes
1answer
59 views

I need help on how to change the disk to run my bitcoin core wallet

Long time ago I transferred my wallet on My Passport an external hard disk. I have not opened bitcoin core for over 8 months. I opened it 2 days ago, the dialog box opened, which normally doesn’t and ...
2
votes
2answers
258 views

Bitcoin: Why can the difficulty parameter not be ignored?

by the longest-chain-rule, the chain with the most blocks is considered to be the main chain in Bitcoin. I understand that an adversary needs to have more than 50% of the network's computing power in ...
0
votes
1answer
41 views

Why number of zeroes in bitcoin hash is increasing? [duplicate]

I know currently to mine a block there needs to be 19 leading zeroes in the hash, but why is this number increasing?
0
votes
3answers
77 views

How do we know that a certain hash below the target is even possible when mining?

If the target hash were artificially low, i.e. 3, how do miners know if there will ever be a nonce that produces such a hash?
4
votes
1answer
73 views

What stops miners from manipulating “target” difficulty in the block header?

I am relatively new to understanding the fundamentals of the Bitcoin network, and I couldn't find the answer to my question. I understand how mining difficulty/target is decided and calculated in the ...
8
votes
3answers
379 views

Why this ugly looking formula to calculate 'target' from 'nBits' in block header: target = coefficient * 256**(exponent-3)

Why this ugly looking formula to calculate 'target' from 'nBits' in block header: target = coefficient * 256**(exponent-3). Why not? : target = coefficient * 256**(exponent). What is the need of ...
5
votes
2answers
213 views

Does Cryptocurrency really need timestamps?

Bitcoin is supposed to be a clock on it's own right so it always felt sketchy to me that outside time is referenced. Could bitcoin be aware of it's own block interval through something like uncle ...
4
votes
1answer
184 views

Could Bitcoin have a fixed difficulty?

Could Bitcoin have a fixed difficulty, how to implement that for a test and what would that mean in terms of mining? Would there be a difference if mining with a big rig or just a wallet?
3
votes
2answers
579 views

Bitcoin Difficulty granularity

Difficulty adjusts by very granular percentages to target for 10 minutes blocks. But adding another zero at the end of the chain of zeroes from the header hash requirement for a valid block would ...
0
votes
1answer
43 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 ...
1
vote
2answers
181 views

How do more leading zeroes make it more difficult to find a block?

A couple of articles describing the process of mining do say that the more miners are in the network, the more 0 numbers are included in the encoded hash of the particular block. I cannot find an ...
1
vote
1answer
225 views

What is the formula for inferring hash rate from difficulty and block frequency?

Two parts to this question 1/ There have recently been concerns over drops in hash rate observed on sites such as blockchain.com. However, my understanding is that hash rate is inferred from the ...
0
votes
1answer
48 views

How the difficulty of the network affect the average block mining time if we have static hash power?

Let's suppose that I have 500 KH/s of hash power overall from my mining rig. I'm about to start mining coin X and its network difficulty is Y. Current hashrate of the whole network is 100 KH/s and ...
1
vote
1answer
60 views

getblocktemplate request that omits transactions?

Is there a way to make a getblocktemplate request that returns only the bits/target, or at least omits all of the pending transactions? I am interested in tracking the coin difficulty in real time. ...
2
votes
2answers
2k 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
0answers
29 views

What is the purpose of difficult in PoW [duplicate]

I'm trying to understand Proof of Work and something doesn't seem to fit, First, it seems to me that the faster the network can confirm a transaction, better is. I'm coming from a computing ...
1
vote
1answer
48 views

Which is the better estimator for future mining intervals, the 10 minute protocol target or the observed, historical average?

The Bitcoin protocol is designed so that the network difficulty is periodically adjusted so that new blocks are mined on average every 10th minute. However, looking back the last 10 years, it appears ...
1
vote
1answer
77 views

Is the bits field a unique representation of the target?

The bits field is the compact representation of the target. Example: bits: 1d00ffff target: 00ffff0000000000000000000000000000000000000000000000000000 bits: 1cfff00 target: ...
0
votes
2answers
5k views

Mining Difficulty and Leading Zeros

I understand that the Bitcoin mining problem is to find a string s (hash of previous block + Merkle Tree Hash + nonce) such that sha256(s) has n leading zeros, where n determines the mining difficulty....
1
vote
0answers
47 views

How difficult is it to confirm a Bitcoin Block?

If I have done the math right to come up with this hash, to confirm a true block and this is a confirmed hash. You can look it up here Bitcoin Block #570240 ...
0
votes
1answer
68 views

bitcoin difficulty determination

Given the bitcoin difficulty information in https://bitcoinwisdom.com/bitcoin/difficulty, determine the bitcoin difficulty on April 1, 2019 and April 1, 2020. State any assumptions made in this ...
1
vote
1answer
226 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
66 views

bitcoin's PoW, real time of creating one block

i learn that bitcoin is created every 10 minutes and if block is created faster than 10 minutes, Difficulty will increase. and study deeper, mining process is finding nonce that start 0 to increase 1 ...
1
vote
1answer
265 views

mining difficulty is not changed on regtest

I want to see the automated mining difficulty change on regtest but it did not change even I generated 2016 blocks. How can I see it? // initial difficulty $ ./bitcoinA/src/bitcoin-cli -rpcuser=...
1
vote
2answers
305 views

Mining: what is the lowest possible target? Could it be a block hash of all zeros?

I had a basic question about Bitcoin mining. I understand that as the bitcoin difficulty adjustment becomes harder the hash output will require more 0s in the beginning of the hash. Is it ...
0
votes
2answers
101 views

Difficulty Adjustment Compairson

Thinking about different difficulty adjustments for protecting new coins against attacks from big miners. 2017 when BCH forked from BTC, BCH added the EDA (emergency difficulty adjustment) and updated ...
3
votes
1answer
157 views

where is the adjustment calculation for the target value in the source code?

Can someone point me to the source code and explain how the average is calculated for the adjustment of difficulty that takes place every 2016 ? Update: i have consulted with previous questions but ...
1
vote
1answer
99 views

Why is Target < Blockhash?

I am currently trying to validate a blocks hash against its target in python3: This is a block in the Blockcypher testnet, and I am using this formula from the Bitcoin Wiki. block_hash = '...
9
votes
2answers
180 views

Why are block header bits necessary? (Valid difficulty is already implied by chain history)

Difficulty or target is implied by chain history, so why does it need to be explicit in the header? I suppose it exposes miner-intended-difficulty, but I don't see why that would be relevant without ...
0
votes
1answer
44 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
2 3 4 5
7