Remove / rename fallback post stuff

This commit is contained in:
Aayush Rajasekaran 2020-04-28 13:39:35 -04:00
parent 3ec736bc04
commit ae47bc15ff
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()
@ -206,7 +206,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