Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ux: print absolute time for proving period start in proving cli #8954

Merged
merged 1 commit into from Jul 4, 2022

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented Jul 1, 2022

Proposed Changes

Print absolute time for (next) proving period start in lotus-miner proving info.

Example output now:

Current Epoch:           1946257
Proving Period Boundary: 975
Proving Period Start:    1944975 (01 Jul 22 08:07 CEST, 10 hours 41 minutes ago)
Next Period Start:       1947855 (02 Jul 22 08:07 CEST, in 13 hours 19 minutes)

Faults:      0 (0.00%)
Recovering:  0
Deadline Index:       21
Deadline Sectors:     0
Deadline Open:        1946235 (11 minutes ago)
Deadline Close:       1946295 (in 19 minutes)
Deadline Challenge:   1946215 (21 minutes ago)
Deadline FaultCutoff: 1946165 (46 minutes ago)

@magik6k magik6k requested a review from a team as a code owner July 1, 2022 16:50
@codecov
Copy link

codecov bot commented Jul 1, 2022

Codecov Report

Merging #8954 (9bfb370) into master (f46cfb4) will increase coverage by 5.57%.
The diff coverage is 64.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #8954      +/-   ##
==========================================
+ Coverage   35.08%   40.66%   +5.57%     
==========================================
  Files         702      706       +4     
  Lines       78426    78660     +234     
==========================================
+ Hits        27517    31984    +4467     
+ Misses      45921    41208    -4713     
- Partials     4988     5468     +480     
Impacted Files Coverage Δ
cli/state.go 1.03% <0.00%> (ø)
cli/util.go 70.58% <70.00%> (-0.25%) ⬇️
cmd/lotus-miner/proving.go 25.92% <100.00%> (ø)
storage/pipeline/currentdealinfo.go 73.80% <0.00%> (-2.39%) ⬇️
markets/storageadapter/client.go 40.55% <0.00%> (-1.85%) ⬇️
storage/sealer/sched.go 84.61% <0.00%> (-1.29%) ⬇️
storage/wdpost/wdpost_run.go 70.59% <0.00%> (-0.78%) ⬇️
storage/sealer/sched_worker.go 80.00% <0.00%> (-0.59%) ⬇️
storage/wdpost/wdpost_changehandler.go 98.11% <0.00%> (-0.48%) ⬇️
miner/miner.go 58.36% <0.00%> (ø)
... and 148 more

@magik6k magik6k merged commit d5206aa into master Jul 4, 2022
@magik6k magik6k deleted the feat/prov-info-time branch July 4, 2022 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants