Log solana-validator args on startup to aid debugging

This commit is contained in:
Justin Starry 2020-01-29 17:35:28 +08:00 committed by Michael Vines
parent 0d6c233747
commit effe6e3ff3
1 changed files with 2 additions and 0 deletions

View File

@ -765,6 +765,8 @@ pub fn main() {
.join(","),
);
info!("Starting validator with: {:#?}", std::env::args_os());
let vote_account = pubkey_of(&matches, "vote_account").unwrap_or_else(|| {
// Disable voting because normal (=not bootstrapping) validator rejects
// non-voting accounts (= ephemeral keypairs).