Reduce TdS fees to 1 lamport per sig, and slots_per_epoch/2 (#6542)

This commit is contained in:
Michael Vines
2019-10-24 20:37:23 -07:00
committed by GitHub
parent 1c91c1e880
commit 90461245f9
3 changed files with 18 additions and 2 deletions

View File

@@ -29,6 +29,9 @@ maybeInternalNodesStakeLamports=
maybeInternalNodesLamports=
maybeExternalPrimordialAccountsFile=
maybeLamports=
maybeSlotsPerEpoch=
maybeTargetLamportsPerSignature=
maybeSlotsPerEpoch=
maybeLetsEncrypt=
maybeValidatorAdditionalDiskSize=
maybeNoSnapshot=
@@ -108,9 +111,15 @@ while [[ -n $1 ]]; do
if [[ $1 = --hashes-per-tick ]]; then
maybeHashesPerTick="$1 $2"
shift 2
elif [[ $1 = --slots-per-epoch ]]; then
maybeSlotsPerEpoch="$1 $2"
shift 2
elif [[ $1 = --lamports ]]; then
maybeLamports="$1 $2"
shift 2
elif [[ $1 = --target-lamports-per-signature ]]; then
maybeTargetLamportsPerSignature="$1 $2"
shift 2
elif [[ $1 = --no-airdrop ]]; then
maybeDisableAirdrops=$1
shift 1
@@ -394,6 +403,8 @@ if ! $skipStart; then
$maybeInternalNodesLamports
$maybeExternalPrimordialAccountsFile
$maybeLamports
$maybeSlotsPerEpoch
$maybeTargetLamportsPerSignature
$maybeNoSnapshot
$maybeLimitLedgerSize
)