本会动态

文章详情页
教程 | 以太坊本地私有链开发环境搭建
发布时间:2019-07-16 18:29:10来源:欧亿注册-欧亿平台-欧亿官网点击:13

  楼主,请教一下,我在执行到miner.start(1)这一步以后,控制台显示 :

  miner.start(1)

  true

  I0506 15:26:52.685892 37必发8865 miner.go:119] Starting mining operation (CPU=1 TOT=3)

  I0506 15:26:52.686616 3765 worker.go:569] commit new work on block 1 with 1 txs & 0 uncles. Took 663.404μs

  I0506 15:26:52.686889 3765 backend.go:584] Automatic pregeneration of ethash DAG ON (ethash dir: /home/s/.ethash)

  I0506 15:26:52.687004 3765 backend.go:591] checking DAG (ethash dir: /home/s/.ethash)

  I0506 15:26:52.702480 3765 ethash.go:220] Generating DAG for epoch 0 (size 1073739904) (0000000000000000000000000000000000000000000000000000000000000000)

  I0506 15:26:53.799561 3765 ethash.go:237] Done generating DAG for epoch 0, it took 1.112844741s

  并没有看到文章中写到的 “Mined block”

  并且在执行 miner.stop(1) 命令以后使用代码 token.address 获取不到合约部署的代码。

  token.address

  undefined

  token

  {

  address: 必发88官网 undefined,

  transactionHash: "0x541a55f472ee76fcea190d63411ee054e26322854581d186225242b3d69af2f6"

  }

  请教是环境有什么问题吗??感谢!


必发88 必发88官网