lotus icon indicating copy to clipboard operation
lotus copied to clipboard

Optimize sectors renew

Open zlhwdsz opened this issue 3 years ago • 1 comments

Optimize subcommands check-expire and renew of lotus-miner sectors:

  • Print timestamp instead of relative time in check-expire results with a customized epochTime function.

  • Move util code to the end of the file.

  • Decompose renew cmd for better readability.

  • Reduce function calls in loops.

zlhwdsz avatar Aug 17 '21 08:08 zlhwdsz