Bitcoin Forum
May 06, 2024, 03:37:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: Gavin coding SPV mining into Classic  (Read 2635 times)
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 3920
Merit: 2348


Eadem mutata resurgo


View Profile
March 19, 2016, 12:40:35 AM
 #41

Validating a block takes around 300ms on my pool.
My pool has the 2nd highest average block size.

The highest is solo.ckpool.org that also has this tiny time to validate blocks.

So anyone using some argument about why empty blocks are required clearly has no idea about the facts and about coding.

The pro empty block argument is FUD to cover crappy pool software and low quality coders.

Yep ... so much fail flying around these days, there's bound to be an accident.

1715009853
Hero Member
*
Offline Offline

Posts: 1715009853

View Profile Personal Message (Offline)

Ignore
1715009853
Reply with quote  #2

1715009853
Report to moderator
1715009853
Hero Member
*
Offline Offline

Posts: 1715009853

View Profile Personal Message (Offline)

Ignore
1715009853
Reply with quote  #2

1715009853
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715009853
Hero Member
*
Offline Offline

Posts: 1715009853

View Profile Personal Message (Offline)

Ignore
1715009853
Reply with quote  #2

1715009853
Report to moderator
1715009853
Hero Member
*
Offline Offline

Posts: 1715009853

View Profile Personal Message (Offline)

Ignore
1715009853
Reply with quote  #2

1715009853
Report to moderator
paulh691
Full Member
***
Offline Offline

Activity: 136
Merit: 100


View Profile
March 19, 2016, 02:02:01 AM
 #42

headers only mining is dangerous and could result in loss of many blocks, if any one of the "headers only" blocks turns out to be fake null headers
or orphaned later

but it's good enough for now Smiley
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12972


View Profile
March 19, 2016, 02:04:13 AM
Last edit: March 19, 2016, 02:14:25 AM by theymos
 #43

Now, if miners stop using that code --- and nothing in the node software can force them to do that AFAIK --- what kind of trade-off are we making? What are the risks?

The thing Luke pointed out is an extremely major issue, so it'd be crazy for anyone to use this until that behavior of mining software has been changed.

If that's addressed, then something like this change would make confirmations somewhat less reliable for lightweight wallets. You'd probably want several (3-6) extra confirmations to get the same level of security as before. However, the benefit is that it might be less of a problem for blocks to propagate slowly across the network. (Currently, if blocks take too long to propagate then it can cause orphan blocks for miners, and in severe cases protracted chain forks can result.) I'm not sure exactly how much benefit headers-first would actually bring, though. I guess maybe the benefit could be large enough to safely allow for larger block sizes, but my instinct is that the maximum benefit wouldn't actually be very large. More thought and measurements would be necessary.

If this was rolled out generally, several precautions would be necessary to ensure that a whole bunch of miners don't accidentally mine many blocks on top of an invalid chain. Furthermore, there's a nightmare scenario where the majority of miners mine on an invalid chain and never stop mining on it until manually fixed. Something like headers-first mining would have to ensure that these things are impossible, or that they could cause only small, limited damage.

Headers-first seems to me like mainly an improvement over the headers-only or validationless mining that some miners seem to be doing now, but not something ideal. I think that IBLT / weak blocks will be the real eventual solution to this problem.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
paulh691
Full Member
***
Offline Offline

Activity: 136
Merit: 100


View Profile
March 19, 2016, 02:05:28 AM
 #44

if you are going to do that you might as well make block times more reasonable around 1 minutes,  dump 99.999% of the PoW and make it efficient, return mining to CPU only, etc...  a simple XOR checksum would do, etc, etc...
Pages: « 1 2 [3]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!