3

I am getting this error when building a private Ethereum node:

flag provided but not defined: -minerthreads

This happens whenever I try to start the node? by the way this is the main script for 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
jeb
  • 78,592
  • 17
  • 171
  • 225
Farah Ahmed
  • 31
  • 1
  • 3
  • Even if it's started from cmd.exe, the question is only about parameters of an external program and is not related to the `[batch]` or `[cmd]` tags – jeb Aug 16 '21 at 16:21

1 Answers1

0

Try --miner.threads=1 instead. See geth command line options here

Taimoor
  • 423
  • 3
  • 9