File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ func main() {
9292 log .Fatalf ("Failed to get network ID: %v" , err )
9393 }
9494
95- iterations := 500
95+ iterations := 100
9696 flashblockErrors := 0
9797 baseErrors := 0
9898
@@ -106,8 +106,8 @@ func main() {
106106
107107 flashblockTimings = append (flashblockTimings , timing )
108108
109- // wait for it to be mined -- sleep a random amount between 400ms and 1s
110- time .Sleep (time .Duration (rand .Int63n (600 )+ 400 ) * time .Millisecond )
109+ // wait for it to be mined -- sleep a random amount between 600ms and 1s
110+ time .Sleep (time .Duration (rand .Int63n (600 )+ 600 ) * time .Millisecond )
111111 }
112112
113113 // wait for the final fb transaction to land
@@ -123,8 +123,8 @@ func main() {
123123
124124 baseTimings = append (baseTimings , timing )
125125
126- // wait for it to be mined -- sleep a random amount between 2s and 3s
127- time .Sleep (time .Duration (rand .Int63n (1000 )+ 2000 ) * time .Millisecond )
126+ // wait for it to be mined -- sleep a random amount between 4s and 3s
127+ time .Sleep (time .Duration (rand .Int63n (1000 )+ 4000 ) * time .Millisecond )
128128 }
129129
130130 if err := writeToFile (fmt .Sprintf ("/data/flashblocks-%s.csv" , region ), flashblockTimings ); err != nil {
You can’t perform that action at this time.
0 commit comments