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


    开启命令行

    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
    
  • 相关阅读:
    python——socket,IO多路复用(select),socket server实现多并发
    python——多线程,多进程,协程
    python——装饰器,迭代器,生成器
    time模块,datetime模块
    re模块,paramiko模块
    Freemaker中使用中括号来包含标签
    Freemaker中使用中括号来包含标签
    freemarker Velocity获取request,session
    freemarker Velocity获取request,session
    freemarker Velocity获取request,session
  • 原文地址:https://www.cnblogs.com/ukzq/p/16270194.html
Copyright © 2020-2023  润新知