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

Add timestamps to IBD progress #376

Merged
merged 5 commits into from
Jan 7, 2024
Merged

Conversation

someone235
Copy link
Contributor

No description provided.

@@ -538,9 +546,10 @@ staging selected tip ({}) is too small or negative. Aborting IBD...",
&mut self,
consensus: &ConsensusProxy,
chunk: &[Hash],
) -> Result<(Vec<BlockValidationFuture>, u64), ProtocolError> {
) -> Result<(Vec<BlockValidationFuture>, u64, u64), ProtocolError> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about using type alias or wrapping to struct with fields to make function signature clear?
what is u64 and u64? that's not clear without reading function body

@someone235 someone235 force-pushed the ibd-times branch 2 times, most recently from d9f82e6 to d5bab35 Compare January 6, 2024 11:46
michaelsutton
michaelsutton previously approved these changes Jan 7, 2024
@michaelsutton michaelsutton merged commit 0f431e0 into kaspanet:master Jan 7, 2024
3 of 6 checks passed
KashProtocol pushed a commit to Kash-Protocol/rusty-kash that referenced this pull request Jan 8, 2024
* Add timestamps to IBD progress

* Add timezone

* Address review comments

* Change error message
D-Stacks pushed a commit to D-Stacks/rusty-kaspa that referenced this pull request Jan 8, 2024
* Add timestamps to IBD progress

* Add timezone

* Address review comments

* Change error message
KashProtocol pushed a commit to Kash-Protocol/rusty-kash that referenced this pull request Jan 8, 2024
* Add timestamps to IBD progress

* Add timezone

* Address review comments

* Change error message
KashProtocol pushed a commit to Kash-Protocol/rusty-kash that referenced this pull request Jan 9, 2024
* Add timestamps to IBD progress

* Add timezone

* Address review comments

* Change error message
D-Stacks pushed a commit to D-Stacks/rusty-kaspa that referenced this pull request Jan 23, 2024
* Add timestamps to IBD progress

* Add timezone

* Address review comments

* Change error message
smartgoo pushed a commit to smartgoo/rusty-kaspa that referenced this pull request Jun 18, 2024
* Add timestamps to IBD progress

* Add timezone

* Address review comments

* Change error message
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.

3 participants