ethashjs:该项目正在积极开发中已移至EthereumJS VM monorepo 源码
概要 实施 。 安装 npm install ethashjs 用法 const Ethash = require ( 'ethashjs' ) const Block = require ( 'ethereumjs-block' ) const levelup = require ( 'levelup' ) const memdown = require ( 'memdown' ) var cacheDB = levelup ( '' , { db : memdown } ) var ethash = new Ethash ( cacheDB ) var validblockRlp
用户评论