Merge pull request #1630 from filecoin-project/asr/misc

Minor / irrelevant improvements go here
This commit is contained in:
Łukasz Magiera 2020-04-29 00:21:45 +02:00 committed by GitHub
commit 41d925ab8a
2 changed files with 3 additions and 6 deletions

View File

@ -53,9 +53,6 @@ const WRatioDen = 2
// ///// // /////
// Proofs // Proofs
// Epochs
const FallbackPoStConfidence = 6
// Epochs // Epochs
const SealRandomnessLookback = Finality const SealRandomnessLookback = Finality

View File

@ -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