shitaibin.github.io icon indicating copy to clipboard operation
shitaibin.github.io copied to clipboard

有关博客中ethash算法的问题

Open earthloong opened this issue 6 years ago • 2 comments

hi,随风看了你的博客中关于以太坊共识算法的问题受益匪浅,非常感谢啊,我有个问题,就是其中挖矿和验证这部分的算法,hashimotoLight和hashimotoFull函数,既然这两个函数都是调用hashimoto函数,那么是否可以用hashimotoLight函数进行挖矿,这样就不用存储dag数据了,只需要cache就行呢?

我的一点想法:)

earthloong avatar Aug 22 '18 00:08 earthloong

@earthloong 抱歉看到太晚了,不行的。挖矿过程实际是你不知道哪个数字是正确的结果,所以要寻找,然后把寻找的数字存下来,而别人验证,只拿你的结果就可以去验证了,寻找是费时的,但验证是简单的

Shitaibin avatar Jan 05 '19 03:01 Shitaibin

@Shitaibin 谢谢:)

earthloong avatar Dec 17 '20 06:12 earthloong