Replies: 1 comment 2 replies
-
maybe you need --raft rather than -raft
…---Original---
From: ***@***.***>
Date: Mon, Jun 27, 2022 16:51 PM
To: ***@***.***>;
Cc: ***@***.***>;
Subject: [ConsenSys/quorum] Incorrect Usage. flag provided but not defined: -raft (Discussion #1441)
This error occurs when I run the command to start the node
Incorrect Usage. flag provided but not defined: -raft
This is the command I run
export ADDRESS=$(grep -o '"address": *"[^"]*"' ./data/keystore/accountKeystore | grep -o '"[^"]*"$' | sed 's/"//g') export PRIVATE_CONFIG=ignore geth --datadir data \ --networkid 1337 --nodiscover --verbosity 5 \ --syncmode full --nousb \ --raft --raftport 53000 --raftblocktime 300 --emitcheckpoints \ --http --http.addr 127.0.0.1 --http.port 22000 --http.corsdomain "*" --http.vhosts "*" \ --ws --ws.addr 127.0.0.1 --ws.port 32000 --ws.origins "*" \ --http.api admin,trace,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,raft \ --ws.api admin,trace,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,raft \ --unlock ${ADDRESS} --allow-insecure-unlock --password ./data/keystore/accountPassword \ --port 30300
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
0721z
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This error occurs when I run the command to start the node
Incorrect Usage. flag provided but not defined: -raft
This is the command I run
export ADDRESS=$(grep -o '"address": *"[^"]*"' ./data/keystore/accountKeystore | grep -o '"[^"]*"$' | sed 's/"//g') export PRIVATE_CONFIG=ignore geth --datadir data \ --networkid 1337 --nodiscover --verbosity 5 \ --syncmode full --nousb \ --raft --raftport 53000 --raftblocktime 300 --emitcheckpoints \ --http --http.addr 127.0.0.1 --http.port 22000 --http.corsdomain "*" --http.vhosts "*" \ --ws --ws.addr 127.0.0.1 --ws.port 32000 --ws.origins "*" \ --http.api admin,trace,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,raft \ --ws.api admin,trace,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,raft \ --unlock ${ADDRESS} --allow-insecure-unlock --password ./data/keystore/accountPassword \ --port 30300
Beta Was this translation helpful? Give feedback.
All reactions