You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/pingpong/runCmd.go
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,8 @@ var pidFile string
72
72
varcpuprofilestring
73
73
varrandSeedint64
74
74
vardeterministicKeysbool
75
-
vargeneratedAccountsCountuint32
75
+
vargeneratedAccountsCountuint64
76
+
vargeneratedAccountsOffsetuint64
76
77
vargeneratedAccountSampleMethodstring
77
78
varconfigPathstring
78
79
@@ -118,8 +119,9 @@ func init() {
118
119
runCmd.Flags().StringVar(&cpuprofile, "cpuprofile", "", "write cpu profile to `file`")
119
120
runCmd.Flags().Int64Var(&randSeed, "seed", 0, "input to math/rand.Seed(), defaults to time.Now().UnixNano()")
120
121
runCmd.Flags().BoolVar(&deterministicKeys, "deterministicKeys", false, "Draw from set of netgoal-created accounts using deterministic keys")
121
-
runCmd.Flags().Uint32Var(&generatedAccountsCount, "genaccounts", 0, "The total number of accounts pre-generated by netgoal")
122
-
runCmd.Flags().StringVar(&generatedAccountSampleMethod, "gensamplemethod", "random", "The method of sampling from the total # of pre-generated accounts")
122
+
runCmd.Flags().Uint64Var(&generatedAccountsCount, "genaccounts", 0, "The total number of accounts pre-generated by netgoal")
123
+
runCmd.Flags().Uint64Var(&generatedAccountsOffset, "genaccountsoffset", 0, "The initial offset for sampling from the total # of pre-generated accounts")
124
+
runCmd.Flags().StringVar(&generatedAccountSampleMethod, "gensamplemethod", "", "The method of sampling from the total # of pre-generated accounts")
123
125
}
124
126
125
127
varrunCmd=&cobra.Command{
@@ -378,16 +380,23 @@ var runCmd = &cobra.Command{
0 commit comments