-
Notifications
You must be signed in to change notification settings - Fork 114
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
Refactor and remove DBUtils #1135
Conversation
} | ||
|
||
if (currentBlock % stepSize == 0) { | ||
double time = System.currentTimeMillis() - start; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer the calculation to use long directly. Even it has a little rounding issue.
But we can refactor it in a new task.
The estimate can be represent by TimeUnit conversion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a Jira task for this and enhancing the time estimates
@@ -61,24 +62,39 @@ public static void printUsage(PrintStream stream, DevCLI instance) { | |||
} | |||
|
|||
public static Cli.ReturnType printAccountDetails(String strAddress) { | |||
// TODO: more parameters would be useful, e.g. get account X at block Y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Convert TODO to a Jira ticket.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, only few comments can be the future tasks
6d92cfc
to
48e6d3e
Compare
Type of change