fix(lotus-sim): average over 2 days
There's too much noise per day.
This commit is contained in:
parent
63178ce982
commit
8fffaa5c47
@ -45,7 +45,7 @@ func printInfo(ctx context.Context, sim *simulation.Simulation, out io.Writer) e
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
powerLookbackEpoch := head.Height() - builtin.EpochsInDay
|
powerLookbackEpoch := head.Height() - builtin.EpochsInDay*2
|
||||||
if powerLookbackEpoch < start.Height() {
|
if powerLookbackEpoch < start.Height() {
|
||||||
powerLookbackEpoch = start.Height()
|
powerLookbackEpoch = start.Height()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user