Update airdrop tokens to 3 for fullnode (#2051)

Filter out leader while computing the super majority stake
This commit is contained in:
Sathish
2018-12-08 16:54:42 -08:00
committed by GitHub
parent f5569e76db
commit 2de45a4da5
6 changed files with 62 additions and 14 deletions

View File

@ -163,13 +163,14 @@ $rsync -vPr "$rsync_leader_url"/config/ "$ledger_config_dir"
exit 1
}
# A fullnode requires 2 tokens to function:
# A fullnode requires 3 tokens to function:
# - one token to create an instance of the vote_program with
# - one second token to keep the node identity public key valid.
# - one token for the transaction fee
# - one token to keep the node identity public key valid.
$solana_wallet \
--keypair "$fullnode_id_path" \
--network "$leader_address" \
airdrop 2
airdrop 3
trap 'kill "$pid" && wait "$pid"' INT TERM
$program \