near / nearup

Public scripts to launch NEAR Protocol betanet and testnet node
102 stars 33 forks source link

Always asks if user wants to initialise validator if --interactive #207

Closed mina86 closed 2 years ago

mina86 commented 2 years ago

If user invokes nearup run --interactive --account-id=foo the script will not ask about setting up the node as a validator and will just silently do that. In contrast, --interactive --override causes the script to ask whether to clean up existing home directory.

To make things consistent, always ask about configuring node as a validator providing values from the --account-id flag as default.