• 开启以太坊虚拟挖矿命令


    开启命令行

    geth --http --http.corsdomain="*"  --nodiscover --allow-insecure-unlock  --datadir './test' console
    

    创建新用户

    personal.newAccount()
    

    开始挖矿

    > miner.start()
    INFO [05-14|15:06:12.494] Updated mining threads                   threads=1
    INFO [05-14|15:06:12.496] Transaction pool price threshold updated price=1,000,000,000
    null
    > INFO [05-14|15:06:12.497] Commit new sealing work                  number=1 sealhash=ea0c90..6f836f uncles=0 txs=0 gas=0 fees=0 elapsed="350.42µs"
    INFO [05-14|15:06:12.498] Commit new sealing work                  number=1 sealhash=ea0c90..6f836f uncles=0 txs=0 gas=0 fees=0 elapsed="609.496µs"
    INFO [05-14|15:06:18.792] Generating ethash verification cache     epoch=1 percentage=12 elapsed=4.226s
    INFO [05-14|15:06:22.375] Generating ethash verification cache     epoch=1 percentage=20 elapsed=7.808s
    INFO [05-14|15:06:25.769] Generating ethash verification cache     epoch=1 percentage=30 elapsed=11.202s
    INFO [05-14|15:06:28.779] Generating ethash verification cache     epoch=1 percentage=39 elapsed=14.213s
    INFO [05-14|15:06:32.379] Generating ethash verification cache     epoch=1 percentage=53 elapsed=17.812s
    INFO [05-14|15:06:35.685] Generating ethash verification cache     epoch=1 percentage=66 elapsed=21.118s
    INFO [05-14|15:06:39.590] Generating ethash verification cache     epoch=1 percentage=80 elapsed=25.023s
    INFO [05-14|15:06:42.605] Generating ethash verification cache     epoch=1 percentage=89 elapsed=28.039s
    INFO [05-14|15:06:45.801] Generating ethash verification cache     epoch=1 percentage=99 elapsed=31.235s
    INFO [05-14|15:06:45.811] Generated ethash verification cache      epoch=1 elapsed=31.238s
    
  • 相关阅读:
    DMA+USART重定义打印接口
    FTP初探
    ESP8266-lua开发
    GPIO常见问题分析
    新装系统简介
    java四个元注解的作用
    Linux常用操作指令
    @Autowired 与@Resource的区别(详细)
    内存溢出的几种原因和解决办法
    什么是NIO2
  • 原文地址:https://www.cnblogs.com/ukzq/p/16270194.html
Copyright © 2020-2023  润新知