【问题标题】:Incorrect Usage. flag provided but not defined: -minerthreads不正确的用法。提供但未定义的标志:-minerthreads
【发布时间】:2021-08-16 13:23:55
【问题描述】:

我在构建私有以太坊节点时遇到此错误:

flag provided but not defined: -minerthreads

每当我尝试启动节点时都会发生这种情况? 顺便说一下,这是startnode.cmd 的主要脚本:

geth --networkid 4224 --mine --minerthreads 1 --datadir "." --nodiscover --rpc --rpcport "8545" --port "30303" rpccorsdomain "*" --nat "any" --rpcapi eth,web3,personal,net --unlock 0 --password ./password.sec

【问题讨论】:

  • 即使是从cmd.exe启动,也只是外部程序的参数问题,与[batch][cmd]标签无关

标签: geth


【解决方案1】:

改用--miner.threads=1。查看 geth 命令行选项here

【讨论】:

    猜你喜欢
    • 2018-05-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-08-22
    相关资源
    最近更新 更多