diff --git a/miner/miner.go b/miner/miner.go index cabf26ecd..d24850d9f 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -423,6 +423,8 @@ func (m *Miner) mineOne(ctx context.Context, base *MiningBase) (*types.BlockMsg, return nil, xerrors.Errorf("failed to compute winning post proof: %w", err) } + tProof := build.Clock.Now() + // get pending messages early, msgs, err := m.api.MpoolSelect(context.TODO(), base.TipSet.Key(), ticket.Quality()) if err != nil { @@ -451,7 +453,8 @@ func (m *Miner) mineOne(ctx context.Context, base *MiningBase) (*types.BlockMsg, "tPowercheck ", tPowercheck.Sub(tDrand), "tTicket ", tTicket.Sub(tPowercheck), "tSeed ", tSeed.Sub(tTicket), - "tPending ", tPending.Sub(tSeed), + "tProof ", tProof.Sub(tSeed), + "tPending ", tPending.Sub(tProof), "tCreateBlock ", tCreateBlock.Sub(tPending)) }