Developers behind the cryptocurrency monero are ramping up efforts to keep specialized mining hardware from dominating its race for rewards.
Of the coins that have a strong privacy focus, monero â launched in 2014 â possesses the largest market capitalization by far with an estimated $1.5 billion valuation. The annual mining rewards generated by the now 5-year-old blockchain total roughly $62 million, according to data site Messari.
But such rewards appear to be increasingly falling into the hands of ASIC operators, nudging out smaller, independent or hobbyist participants. To keep an even playing field, monero developers have conducted regular hard forks to stave off ASICs â but analysis suggests that this approach has proven ineffective as of late and that ASICs are keeping ahead of such efforts.
âASIC manufacturers can make equipment far faster than we expected,â said monero contributor Justin Ehrenhofer. âIt takes maybe a month for them to have chips designed and in production so they generally can still make a return on investment even within a six month period.â
Diego Salazar, another monero contributor, told CoinDesk:
âWe [also] saw that this was very unsustainable. ⦠It takes a lot to keep [hard forking] again and again for one. For two, it may decentralize mining but it centralizes in another area. It centralizes on the developers because now thereâs a lot of trust in developers to keep hard forking.â
As such, monero developers are moving forward with activation of a new mining algorithm known as RandomX, designed to render ASICs non-competitive.
The new code is based off the work of Howard Chu â CTO and founder of computer software firm Symas Corporation â who also developed the database type the monero blockchain presently runs on. Four different audits of the RandomX code are now being completed for an expected code freeze date by July.
As it stands, the algorithm could go live in October.
âWeâve ultimately come to consensus in general that RandomX is what will be implemented. Itâs our best shot to preserve monero as it was founded,â Â said Ehrenhofer. âIf this fails then monero will probably move to an ASIC-friendly algorithm.â
According to Salazar, RandomX is moneroâs âlast ditch effort to keep ASICâs out.â
RandomX according to Chu is designed to be âCPU-centric.â
As opposed to application-specific integrated circuits (ASICs), central processing units (CPUs) are a type of computer hardware designed for multi-purpose use.
Calling it a âspectrum of computing power,â Salazar explained:
âOn one end, where computers are a jack of all trades are the CPUs⦠On the other end, computers which does only one thing but extremely well are ASICs.â
CPUâs are the most widely distributed computing resource in the world, according to Chu.
âPractically everyone in the world now has a smart phone in their pocket with a CPU and memory thatâs capable of mining RandomX,â highlighted Chu.
With maximum miner decentralization as the goal, Chu predicts that RandomX will preserve an advantageous lead favoring CPU miners over ASICs for at least the next three to five years.
At the same time, estimates suggest the RandomX algorithm favors CPU miners over not only ASIC miners but GPU miners as well.
Graphics processing units (GPUs) are optimized for what Chu calls a âgraphics workload which tends to be very sequential.â
âData goes in at the head of the pipeline and you do some munching on it and it all spits out at the end of the pipeline,â Chu said. âThe main emphasis there is fast transfers of data from the input to the output, pretty much in a straight line.â
For moneroâs current mining algorithm, called CryptoNight, GPU miners take the lead over CPUs in terms of computation and energy efficiency. Originally, however, even CryptoNight was intended to boost CPU performance over other types of hardware.
âItâs really again kind of an accident of fate that [CryptoNight] turned out to work fairly well on GPUs. Nobody expected CryptoNight to be good on GPUs and it was anyways,â explained Chu. âThe fact is today GPUs have so much memory and so much massive memory bandwidth that itâs not very much of an obstacle when it comes to CryptoNight, which was designed back in 2013 or so.â
Soon, with the activation of RandomX, Chu predicts CPUs to be âat least three times better than GPUsâ at mining on the monero blockchain.
And while this has disgruntled âa very vocal but extremely small minorityâ of GPU miners, Ehrenhofer maintains that âpeople with GPUs can always either resell or repurpose their hardware.â
âIf I have a monero ASIC, I donât have that same economic option available,â said Ehrenhofer.
As such, despite the impact RandomX will have on not only ASIC miners but also GPU miners on the monero network, Ehrenhofer maintains:
âIâm not concerned about a community split here because RandomX is the closest algorithm that we can pick that retains a vast majority of moneroâs ideals.â
Perhaps a more realistic concern in the mind of Ehrenhofer and others is the proliferation of botnets on the monero network as a result of a CPU-friendly mining algorithm like RandomX.
âThe basic concern is thereâs millions or hundreds of millions of computers that are out there that are poorly secured,â explained Chu. âItâs very easy for malware to invade these computers and take them over to do whatever a particular network operator wants to do.â
Such botnets, infected by malware, have always been somewhat of an issue on monero, according to Ehrenhofer.
âMonero is by far the most illicitly mined cryptocurrency at the moment and it has been for several years,â Ehrenhofer said. âRandomX does not prevent people from crypto-jacking and other nefarious versions of malware.â
Indeed, given that moneroâs present mining algorithm â CryptoNight â has always favored CPU and GPU mining, Ehrenhofer notes that there are resources in place on the monero website and other related forums to help users whoâs devices are impacted.
Even still, efforts to bootstrap RandomX have seen support from those outside of the community, particularly by other crypto projects that might make use of CPU-friendly mining algorithm.
Arweave, which raised a reported $8.7 million in an initial coin offering (ICO), is testing RandomX.
âAn ASIC-resistant proof-of-work algorithm like RandomX will further enhance our permanent, low-cost, tamper-resistant storage network,â said Sam Williams, founder and CEO at Arweave, in a press release from earlier this month. âRandomX helps us ensure that power over the decentralized content policies in the Arweave network remains well distributed across many globally distributed parties.â
To this, Arweave has funded one of the four audits over the RandomX code.
Completed officially on Friday, the audit was estimated in public documents to cost roughly $80,000. CEO and co-founder Dan Guido later affirmed to CoinDesk the final cost for Arweave was actually $28,000.
Speaking to CoinDesk in an interview, Williams explained:
âIt was one of our hopes going into the audit process that by helping to fund it we could do a small public service by making sure other [crypto] projects can see there is a programmatic proof-of-work algorithm that is likely ASIC-resistant in practice without fear of security.â
The other three audits totaling $130,000 that are still to be finalized by security firms Kudelski Security, X41 D-Sec, and QuarksLab were funded through crowd-sourced donations from the monero community. They are expected to wrap up by July, according to Chu.
The next step after that is an eventual launch of the algorithm on a public monero test network before a tentatively scheduled mainnet activation this October.
For all the discussion that has gone into preparing RandomX for a mainnet implementation, Ehrenhofer maintains that the true benefits of RandomX wonât be certain until itâs live on the network.
âWe donât know if RandomX will work yet even if all the audits come back and they say your cryptography is pretty good. We donât know in practice how things will actually turnout,â warned Ehrenhofer.
But the worst-case scenario in Ehrenhoferâs mind if the algorithm proves to be unsuccessful is a switch to an ASIC-friendly mining algorithm similar to the one currently utilized by bitcoin.
âI think if RandomX does fail and monero switches to something more ASIC-friendly, many in the bitcoin community will tell us, âI told you so.'â Ehrenhofer joked.
Even so, Salazar maintains that monero should have the runway to try new things and fail at them.
âIsnât the idea to see whatâs going to work best so that one day we can have a good digital, private, fungible cryptocurrency?â Salazar asked. âIf monero is not but a stepping stone to get to that good currency then by all means let monero be the lost leader.â
Salazar concluded:
âThe monero people are nothing if not resilient nerds that decide to take on the man. So we said, âYou know what? Letâs give this a go, one last ditch effort.'â
Monero miner image via CoinDesk archives