The difficulty 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 crypto-currency.

learn more… | top users | synonyms

3
votes
1answer
59 views

Who recomputes and announces the difficulty in Bitcoin?

I know that the Bitcoin difficulty is recomputed every 2016 blocks (about two weeks). But who is responsible for this job and how is the new value announced to all miners. Does every miners do the ...
0
votes
0answers
29 views

what is the real formula to calculate difficulty of share received from miner with params(nonce,ntime,target,diff1)?

how can i calculate share difficulty? i have higher share difficulty value issue at this calculation. using coiniumserv pool. ...
0
votes
1answer
62 views

Rise difficulty in code, still no changes after rebuild

I'm playing around with the code and tried to adjust difficulty by changing code from bnProofOfWorkLimit = ~uint256(0) >> 1 to bnProofOfWorkLimit = ~uint256(0) >> 20 inside code block ...
1
vote
2answers
123 views

Generating blocks in regtest: “hash doesn't match nBits”

I'm getting this error in regtest mode after setgenerate RPC: ERROR: CheckProofOfWork() : hash doesn't match nBits After looking for error text in src I found a match in pow.cpp (obviously ...
1
vote
0answers
100 views

Are there multiple representations of the same target value? Are they interchangable?

The block target in Bitcoin is encoded in block headers as a 24 bit integer raised to an 8 bit exponent: int(nBits[1:4]) * 2 ** (8 * (int(nBits[0]) - 3)) Are there multiple nBits representations of ...
3
votes
2answers
53 views

Why is the difficulty adjustment restricted to a factor of 4?

What does this protect against? And why 4 in particular? I know an adjustment of this magnitude is not likely to take place at this stage, but I'm wondering why this was implemented in the first ...
2
votes
1answer
38 views

Why is the target stored in compact form in the block header?

Why is the target converted to "Bits" and not stored in full in the block header? For example, why: { "hash" : "000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506", "height" : 100000, ...
3
votes
2answers
201 views

Is mining difficulty leveling out (Spring 2015)? How does this affect the economics of Bitcoin?

Bitcoin mining difficulty has been through some interesting ups and downs lately. (I've supplied snapshots below to give context for future readers) Considering its long history of pretty much only ...
0
votes
1answer
45 views

Energy to confirm one block?

What is the minimum energy (or CPU operations) required for someone to confirm one block on their own, to launch a double-spend attack? How can I calculate this from the current difficulty or ...
1
vote
2answers
53 views

Difficulty for hash (reversed function of “does hash met difficulty/target”)

What is an algorithm to determine what maximum difficulty already found hash meets?
0
votes
0answers
15 views

Recovering from a collapse in network mining capacity [duplicate]

What would happen if 90% of the Bitcoin mining capacity abruptly left the network (say, because a price collapse made it unprofitable)? From what I can tell, the immediate impact would be that ...
0
votes
1answer
101 views

Any supervisory power on earth to ensure that Bitcoin system will remain resilient if hashing conditions change rapidly?

Assume that Bitcoin value versus the “fiat money” is of great significance and imagine suddenly discounted by 50% or more, the current pools are not in money any more, stop hashing. The current ...
4
votes
1answer
77 views

How Does Network Difficulty Relate to the Odds of Finding a Block?

Right now the network difficulty for mining is 40640955016.576. And, according to blockexplorer.com, the current odds of finding a block for any given hash is ...
0
votes
0answers
46 views

How much currency, on average, to expect from Bitcoin mining? [duplicate]

As mining difficulty continues to rise, I don't know if it is even worth trying. My question to the users actively mining is, how many Bitcoins, on average, are most miners making? And any recent ...
1
vote
1answer
51 views

Is it necessary for blocks to record the nBits difficulty parameter?

The next difficulty to solve a block is determined from how fast blocks were solved before it. In addition, the difficulty only changes once every two weeks or so. So, couldn't every node keep track ...
0
votes
1answer
46 views

Bitcoin GetBlockWork() function

The implementation of GetBlockWork() in the bitcoin v0.9.3 source (https://github.com/bitcoin/bitcoin/blob/v0.9.3/src/main.h#L815-L822) seems strange to me. The code is given below for convenience. ...
2
votes
1answer
83 views

When ASICs generate a share, is it always at difficulty 1?

Are they preset to only return difficulty 1 shares when the find a nonce? Then mining software verifies if it meets current target difficulty? Or, if given a different target difficulty, will the ...
4
votes
3answers
4k views

When will next halving events occur?

I've read in some places that the next halving event will be on 2016. How can this be estimated?
1
vote
0answers
84 views

Peercoin: What is the difference and similarity between the PoW difficulty and PoS difficulty?

As of now the difficult for PoW block (Block #127803) is 183694752.0, and for PoS block (Block #127804) is 10.4918556213. Why are the two values so different? Is there any relation between PoW ...
0
votes
1answer
51 views

What is the algorithm of block selection using Target Difficulty?

Suppose below is target difficulty: 0x0000CDEF0A000000000000000000000000000000000000000000000000000000 So result value must lower than target to select block. So, If Miner 'A' found: ...
3
votes
2answers
31 views

Is it possible to calculate the difficulty purely by the number of blocks generated in e.g. 3 month and the staring difficulty?

The background of this question is wether the distribution of the block generation does matter? Lets say we have a period of 12 weeks. If the number of blocks created in this time is 6*2016 then the ...
0
votes
1answer
31 views

What's the advantage of using non-truncated mining targets?

Bitcoin Wiki (Difficulty): The highest possible target (difficulty 1) is defined as 0x1d00ffff, which gives us a hex target of ...
0
votes
1answer
250 views

How does a proof of work limit of `~uint256(0) >> 20` translate into a difficulty of `1 / 2^12`?

In the Litecoin source it is written: static CBigNum bnProofOfWorkLimit(~uint256(0) >> 20); // Litecoin: starting difficulty is 1 / 2^12 How does that compute? ~uint256(0) >> 20 is ...
3
votes
1answer
173 views

In pooled mining, what is pdiff, bdiff and ldiff?

In pooled mining, there seem to be three different terms for difficulty in use. Apparently, the Stratum protocol uses bdiff, BTCGuild uses pdiff, and Ldiff is common for various Scrypt pools as ...
1
vote
2answers
76 views

Difficulty Trends [closed]

As the hash power of the network continues to grow, should we expect to see a % of miners drop off because of unfavorable returns? Thus, causing the difficulty to plateau or even decrease at a certain ...
0
votes
3answers
126 views

Cloud Mining - Difficulty Increase

I'm looking into signing up for a year contract on one of the cloud mining sites. However, I'm concerned about the increasing difficulty over time at the locked Gh/s. In what ways can I calculate the ...
-1
votes
1answer
389 views

What are the pool node mining difficulty settings for darkcoin?

What are the correct difficulty ssettings to mine darkcoin on a private pool node (pool side settings as shown below)? "diff": 0 "minDiff": 0 "maxDiff": 0 "targetTime": 0 "retargetTime": 0 ...
-1
votes
1answer
39 views

does one mine bit coin at current difficulty until next difficulty is set

In Bit coin mining I would like to know if after all 2016 blocks are found and the new difficulty value is set, does one mine continuously on this new difficulty through to the 2016 blocks or does one ...
4
votes
1answer
167 views

How is the target section of a block header calculated?

I've been poking around https://en.bitcoin.it/wiki/Target and I've found the current target, but I can't seem to find how it's generated. It's supposedly generated when the difficulty is adjusted, as ...
0
votes
1answer
29 views

What are the pros/cons of changing the targeting interval (difficulty)?

BitShares is looking at using a target that changes every 24 hours. This is a drastic difference from Bitcoin's current interval of 2 weeks. What are the security implications that occur when ...
0
votes
1answer
94 views

How is the difficulty of bitcoin mining propagated?

Let's say the current difficulty is set as finding a hash with 4 leading zeroes; once this is found, a block with this hash is propagated. Every client that receives this block checks that it has 4 ...
1
vote
2answers
103 views

Why is mining difficulty increasing?

I have heard in many places that mining difficulty is increasing, meaning that the hardware used to mine new coins will need to be more and more powerful as time goes on. What is pushing mining ...
3
votes
3answers
2k views

What does the mining difficulty number really mean?

I'm new to bitcoin; please bear with me. I'm looking into mining, how it works, and how to get started. I see a "mining difficulty" from many sources and list a 3 billion something number without ...
1
vote
1answer
292 views

Solving a block and share relationship [pool mining]

I have a somewhat odd question. I am currently pool mining and it is telling me my best share and the difficulty (this is an altcoin but same question applies). My miner is telling me my best share ...
2
votes
2answers
171 views

How was the new target for block 32256 calculated?

I'm trying to calculate the new target for Block 32256, but I'm not getting the expected result. Here's what I did: Timestamp of the previous block (32255) = 1262152739 Timestamp of block (32255 - ...
0
votes
2answers
50 views

Data type limit boundary in difficulty

first and foremost I never read the bitcoin source code (I can't read any C) and I was wondering if Bitcoin, and any other crypto currency follow that they have data limits such as a maximum value of ...
0
votes
1answer
434 views

How to get difficulty for Bitcoin and other coins

How do I get access to the latest Bitcoin/Altcoin difficulties from the original "source/network"? I want to develop a C#/.NET application that collect this information. I know that there are web ...
0
votes
1answer
148 views

Ignoring the difficulty set by the pool

Scenario: The pool sends a mining.set_difficulty message with difficulty = 8. The miner ignores the message and submits shares that qualify at difficulty = 1. Most shares will be rejected by the ...
17
votes
1answer
8k views

How does the Kimoto Gravity Well regulate difficulty?

Maxcoin will use the Kimoto Gravity Well (KGW) to regulate the difficulty. From what I could find about the KGW, it retargets after every block and adjusts very quickly, e.g. when multipools add and ...
2
votes
2answers
115 views

How does the network adjust the rate at which the coins are created?

Who runs the Bitcoin network, and how do they adjust the rate at which the coins are created?
1
vote
1answer
90 views

How can one estimate the difficulty change? [duplicate]

I understand that the difficulty is growing and think that it should be possible to estimate how quickly that happens. I would like to analyze the previous difficulty progression and feel that I then ...
3
votes
1answer
458 views

Where exactly is the “off-by-one” difficulty bug?

I read through How is difficulty calculated? and want to understand where the "off-by-one" bug is in calculating difficulty. Here is a Matlab snipet I wrote to calculate difficulty. What are the ...
2
votes
3answers
317 views

Where to get difficulty data for all crypto coins?

I need to get difficulty data and exchange rate for past 10 days for making a graph out of it (i.e., for all coins). Can anyone suggest where can I get it?
1
vote
1answer
129 views

Are transactions still tamper-proof if blocks are hashed without nonces?

If an alt were to forgo difficulty and timed release of new supply by removing the nonce from blocks therefore the whole difficulty/target system, is hashing without nonces still providing the same ...
0
votes
1answer
291 views

CGMiner, share sizes, what does a shares size with a G appended mean, how much larger than a M (million) share is it?

Well I think I can retire mining now, I how produced this huge hash overnight So, I have looked everywhere. How much is a G share in comparison to a M (million) share? There is no logical step ...
0
votes
2answers
81 views

Does a 51% attack depend upon difficulty?

Does increasing difficulty also serve to decrease the probability of a 51% attack? It seems that since difficulty is the same for all, this is not the case. Is that correct? If difficulty were ...
1
vote
1answer
147 views

Why are blocks hashed?

Am I correct that addresses are hashed to compress a huge text-represented coprime into something of manageable size? Am I also correct that transactions are hashed for the same reason and also ...
1
vote
1answer
81 views

Is a low difficulty insecure?

Please ignore the connection between difficulty & creation rates for the purposes of this question. Can a difficulty be set so low that the security of transactions is compromised? In other ...
3
votes
3answers
315 views

Why is the reward decreasing while the difficulty of mining is increasing?

I was wondering why Bitcoin has been designed in a way that rewards are decreasing while the difficulty of mining is increasing. To me this is counter-intuitive and leads to the situation when miners ...
1
vote
1answer
165 views

“Instantaneous” transaction verification?

Jan Moritz Lindemann graciously educated me that difficulty is used not only to regulate the creation rate of a cryptocurrency but also to allow for block propagation thus prevent orphaned blocks. ...