-
Notifications
You must be signed in to change notification settings - Fork 296
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
compact block: add epoch index to compact block #4100
Conversation
a582c22
to
fda91ee
Compare
@@ -28,6 +28,8 @@ message CompactBlock { | |||
bool app_parameters_updated = 9; | |||
// Updated gas prices, if they have changed. | |||
fee.v1.GasPrices gas_prices = 10; | |||
// The epoch index | |||
uint64 epoch_index = 11; |
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.
It would be grand to have a more descriptive docstring here, incorporating some of the context from #2689, that speaks to what this value represents, as well as why and how it might be used. Unfortunately, I'm a bit at a loss to suggest specific phrasing.
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 was also at a loss for what to say on this one ... maybe @hdevalence or perhaps @plaidfinch could shed some light on the "epoch index" for future readers of our documentation strings?
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.
This is the counter that identifies/index each epoch similar to the height of a block
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.
but for epochs
@conorsch I am not sure that this is consensus breaking; I could be wrong, but |
closes #2689