1. The console.log statement at the end references a function called "someFunction" which is not defined in the code. It should reference the "mine" function instead.
  2. The variable "t0" and "t1" are not defined and should be replaced with "startTime" and "finishTime" respectively.
找出下列代码错误var difficulty = 4; number of zeros required at front of hashvar maximumNonce = 50000000; limit the nonce to this so we dont mine too long NOTE Because there are 16 possible character

原文地址: https://www.cveoy.top/t/topic/hxGB 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录