Merge pull request #1630 from filecoin-project/asr/misc
Minor / irrelevant improvements go here
This commit is contained in:
commit
41d925ab8a
@ -53,9 +53,6 @@ const WRatioDen = 2
|
|||||||
// /////
|
// /////
|
||||||
// Proofs
|
// Proofs
|
||||||
|
|
||||||
// Epochs
|
|
||||||
const FallbackPoStConfidence = 6
|
|
||||||
|
|
||||||
// Epochs
|
// Epochs
|
||||||
const SealRandomnessLookback = Finality
|
const SealRandomnessLookback = Finality
|
||||||
|
|
||||||
|
@ -129,10 +129,10 @@ func (s *WindowPoStScheduler) Run(ctx context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err := s.revert(ctx, lowest); err != nil {
|
if err := s.revert(ctx, lowest); err != nil {
|
||||||
log.Error("handling head reverts in fallbackPost sched: %+v", err)
|
log.Error("handling head reverts in windowPost sched: %+v", err)
|
||||||
}
|
}
|
||||||
if err := s.update(ctx, highest); err != nil {
|
if err := s.update(ctx, highest); err != nil {
|
||||||
log.Error("handling head updates in fallbackPost sched: %+v", err)
|
log.Error("handling head updates in windowPost sched: %+v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
span.End()
|
span.End()
|
||||||
@ -207,7 +207,7 @@ func (s *WindowPoStScheduler) abortActivePoSt() {
|
|||||||
s.abort()
|
s.abort()
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Warnf("Aborting Fallback PoSt (Deadline: %+v)", s.activeDeadline)
|
log.Warnf("Aborting Window PoSt (Deadline: %+v)", s.activeDeadline)
|
||||||
|
|
||||||
s.activeDeadline = nil
|
s.activeDeadline = nil
|
||||||
s.abort = nil
|
s.abort = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user