TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Proof of work algorithm in Monero based on random code execution

65 pointsby maxfan8almost 5 years ago

7 comments

theszalmost 5 years ago
I did an analysis of this PoW at my line of work and I would say that it is really complicated. Unnecessarily so, I have to add.<p>I also have a comment about ASIC resistance.<p>There are tools that allow to customize hardware upon programs it will execute, [1] is an example of one such tool, there are some others.<p>[1] <a href="http:&#x2F;&#x2F;openasip.org&#x2F;tta.html" rel="nofollow">http:&#x2F;&#x2F;openasip.org&#x2F;tta.html</a><p>If you write a RandomX code generator and interpreter and customize the CPU hardware using tools like one above you will get an optimized version of the hardware. Take a look at [2] for a results of such codesign attempts for Fourier transform. The optimization in energy efficiency can be as high as 100+ times over general purpose processors and on par and exceeding ASIC implementation.<p>[2] <a href="https:&#x2F;&#x2F;www.researchgate.net&#x2F;publication&#x2F;321700396_Codesign_case_study_on_transport-triggered_architectures" rel="nofollow">https:&#x2F;&#x2F;www.researchgate.net&#x2F;publication&#x2F;321700396_Codesign_...</a><p>One would duly note that RandomX employs floating point instructions in some parts of hashing process. I will respond that floating point operations can be expressed as operations on fixed point values and these hardware parts can (and will) be shared with other computations. Basically, the codesign tool will implement for you a split (FP)ALU. This will also increase energy efficiency over GPU and general purpose CPUs which have different paths for FP and integer computations and usually do not share ALU parts between these.<p>To comclude, first, RandomX is needlessly complicated. Second, I think that ASIC version can be attained without writing everything in Verilog by hand, you may stick with C reference implementation for most of the work. And, last but not least, the gain in hashes per joule from ASIC implementation can be much higher than 2-5 times over CPU or GPU.
评论 #23525446 未加载
评论 #23526073 未加载
评论 #23525234 未加载
trompalmost 5 years ago
This PoW is rather complex and takes nontrivial amounts of time and memory to verify. It accepts these downsides in an attempt to achieve &quot;ASIC resistance&quot;, which means limiting the potential efficiency gains of custom chips to a small factor like 2x or 3x. This should make their design and manufacture economically unattractive, with long ROI times. And thus allow commodity hardware to remain competitive.
评论 #23525335 未加载
评论 #23525115 未加载
评论 #23535956 未加载
lvsalmost 5 years ago
We should reject PoW algorithms as generally destructive. When I say destructive, I mean they cause more global harm than they purport to alleviate.<p>PoW should have been set aside as soon as it was generally understood that the network&#x27;s energy consumption might be unbounded.
评论 #23525789 未加载
评论 #23531514 未加载
crypticaalmost 5 years ago
Someone should make a PoW algorithm based on useful things like game theory; for example a chess bot competing against other chess bots, the top winner forges the block and gets the rewards. This is still not extremely useful, but better than just hashing useless strings.<p>Ideally, PoW algorithms should be focused on real science and&#x2F;or economic problems.
评论 #23526793 未加载
评论 #23525978 未加载
评论 #23525860 未加载
评论 #23526011 未加载
polytelyalmost 5 years ago
Total sidenote but someone should start a cryptocurrency that is proof of Storage-space(does that exist?), where you have to allocate space to mirror the content of the Internet Archive. Is there a way that could work? (I know almost nothing about cryptocurrency)
评论 #23525696 未加载
评论 #23525591 未加载
评论 #23525673 未加载
hasaalmost 5 years ago
Proof of work is anyway bad idea (work for nothing), unless the work is something useful.
评论 #23525726 未加载
评论 #23525631 未加载
评论 #23526661 未加载
elcritchalmost 5 years ago
Does this enable using PoW to run something like Ethereum VM&#x2F;contracts?
评论 #23524886 未加载