Increasing Difficulty in Proof-of-Work Mining

22 replies 454 views
atomiccoinFull Member
Posts: 8 · Reputation: 504
#1Mar 22, 2023, 05:48 AM
So, we had our first auto-adjustment of proof-of-work difficulty on Dec 30, 2009. Minimum difficulty is 32 zero bits, so it ain't getting easier than that even if a single node is running. Last year, we were mostly below that minimum, but now we've surpassed it and the difficulty keeps climbing.
5 Reply Quote Share
atomiccoinFull Member
Posts: 8 · Reputation: 504
#2Mar 23, 2023, 11:43 AM
On Feb 4, the difficulty jumped from 1.34 times last year's to 1.82 times. This means miners are only getting 55% of the coins they used to. Crazy, right?
1 Reply Quote Share
danrav3nFull Member
Posts: 4 · Reputation: 449
#3Mar 25, 2023, 12:32 AM
Another adjustment came in on Feb 14, skyrocketing the difficulty from 1.82 to 2.53, a whopping 39% increase in just 10 days. More nodes are joining and cranking out blocks faster than ever.
4 Reply Quote Share
fewunderstandLegendary
Posts: 108 · Reputation: 5964
#4Mar 26, 2023, 05:12 AM
I thought I was generating less than expected at first. Turns out I was just misunderstanding the 'matures in xx more blocks' thing. Still, a major jump in difficulty is gonna be a headache.
4 Reply Quote Share
Posts: 5 · Reputation: 2
#5Mar 28, 2023, 05:04 AM
My rig is a modern core 2 duo and it takes me around 20 hours to mine ฿50. Older machines? Forget it, it would take forever. Why can't we make the generation more divisible, like getting ฿5 every 2 hours instead?
3 Reply Quote Share
fewunderstandLegendary
Posts: 108 · Reputation: 5964
#6Mar 28, 2023, 09:47 AM
I've been feeling like I'm getting almost no Bitcoins lately. My rate of earning seems ten times slower. If I'm not online for 14 hours straight, I'm getting zilch.
3 Reply Quote Share
atomiccoinFull Member
Posts: 8 · Reputation: 504
#7Mar 28, 2023, 10:47 AM
Today I mined 5 blocks on my Pentium. Two came in quick succession. Sure, there’s a slowdown since the last adjustment, but I'm still getting decent coinage. You guys with issues, do you have your BitCoin port open?
1 Reply Quote Share
danrav3nFull Member
Posts: 4 · Reputation: 449
#8Mar 28, 2023, 12:18 PM
Yeah, my port is wide open on both software and hardware firewalls. But I think my high latency (like 2000ms) and packet loss (up to 10%) might be the problem.
2 Reply Quote Share
atomiccoinFull Member
Posts: 8 · Reputation: 504
#9Mar 28, 2023, 05:38 PM
I get that, but there’s no way to do smaller increments practically. The block generation frequency needs to balance speed and latency. 6 blocks per hour is the target.
4 Reply Quote Share
fewunderstandLegendary
Posts: 108 · Reputation: 5964
#10Mar 31, 2023, 01:31 AM
Can Satoshi confirm if your computations keep going if you disconnect? Like, is there a way to show how much progress you've made towards generating a block? That would be encouraging.
2 Reply Quote Share
node69Newbie
Posts: 6 · Reputation: 25
#11Mar 31, 2023, 03:51 AM
I just realized I didn’t fully understand Bitcoin. Blocks get generated regardless of if you’re mining coins.
2 Reply Quote Share
atomiccoinFull Member
Posts: 8 · Reputation: 504
#12Mar 31, 2023, 07:40 AM
2 seconds of latency shouldn’t hurt your generation rate much, right? I think the protocol resyncs to the next message and keeps requesting missed blocks.
4 Reply Quote Share
danrav3nFull Member
Posts: 4 · Reputation: 449
#13Apr 1, 2023, 06:32 PM
How’s the difficulty even adjusted in a decentralized system? What stops someone from messing with it to make it super easy or hard?
2 Reply Quote Share
atomiccoinFull Member
Posts: 8 · Reputation: 504
#14Apr 1, 2023, 09:05 PM
If I remember correctly, every Bitcoin client has the same algorithm built in. It adjusts difficulty automatically and rejects any blocks that don't match the current difficulty.
1 Reply Quote Share
danrav3nFull Member
Posts: 4 · Reputation: 449
#15Apr 1, 2023, 11:41 PM
That auto-adjustment just happened again. On Feb 24, it spiked to 3.78, a 49% increase. Good to keep track of these updates.
1 Reply Quote Share
gigafarmNewbie
Posts: 3 · Reputation: 17
#16Apr 2, 2023, 05:42 AM
So, how does the number of CPUs connected affect this whole thing? We need Satoshi to clarify that since easier difficulty blocks get accepted sometimes.
2 Reply Quote Share
node69Newbie
Posts: 6 · Reputation: 25
#17Apr 4, 2023, 06:14 AM
The formula is about how long it takes to generate 2016 blocks. Difficulty is multiplied based on that. It’s kinda straightforward.
4 Reply Quote Share
gigafarmNewbie
Posts: 3 · Reputation: 17
#18Apr 4, 2023, 10:07 AM
We're discussing how someone could theoretically alter the source to make block generation way too easy and create a massive proof-of-work just to mess with the network. Is there a way to verify how much real work was done?
0 Reply Quote Share
node69Newbie
Posts: 6 · Reputation: 25
#19Apr 4, 2023, 12:17 PM
My overclocked i7 hasn’t generated anything in 8 hours... What gives?
2 Reply Quote Share
gigafarmNewbie
Posts: 3 · Reputation: 17
#20Apr 4, 2023, 03:59 PM
Generating a block can take longer than that, especially if you haven't mined before. Make sure your Bitcoin client is fully synced with enough connections.
3 Reply Quote Share

Related topics