Raptor3um / raptoreum

MIT License
316 stars 132 forks source link

Multi thread Headers POW calculation #310

Closed nandofw closed 10 months ago

nandofw commented 11 months ago

This pr implement multi thread support to calculate the POW hash reducing block headers sync time significantly. By default will use a maximum of 8 threads or number of cores the CPU has whichever is less. Can be increased/decreased with -powheaderthreads flag

some benchmark from raptoreumd syncing the first 40000 block headers on a quad core i5 4460 image