Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
vms/platformvm
: Remove double block building logic #2380vms/platformvm
: Remove double block building logic #2380Changes from 38 commits
b237933
cb81c85
03efd7e
7ba8155
df70afb
86a559b
1a2431f
a55ce38
8c794eb
f3f2fbb
776db3e
eeb97d9
5624df8
efbb751
903d83b
cd669b2
a25ef67
1d30f2b
58f08ee
ff0f319
df125d5
06b1bdc
240867b
980bd4d
cbb3868
9cd31a3
2266e7c
645b989
16160b7
5b70127
c1cff7a
5520c3e
8e19e4e
6361267
6970836
75de1aa
a3b7670
1a94ee0
58594db
7114174
c3dee45
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
nit: Would it make sense to just call this
Shutdown
?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 think I like
ShutdownBlockTimer
more tbh- we're not really shutting down the block builder, just the timerThere 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.
Rather than killing the block builder loop we could do something like specify
duration = time.Second
or something... But really this should never happen.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 think we can end up building an invalid block and not scheduling to build another block to advance the timestamp.
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.
Addressed in #2447