add miner diagnostic to block proposal data#6989
add miner diagnostic to block proposal data#6989benjamin-stacks wants to merge 5 commits intostacks-network:developfrom
Conversation
This doesn't actually add a lot of useful things yet; at this point it's just a skeleton implementation of the approach I'm thinking about.
|
This plan makes sense to me! My main request is to add unit tests with existing block proposal fixtures (ie hex serialized versions) and do simple round-trip serialization tests. That's helped catch footguns in the past with these kinds of things. Edit: I'm sure you've seen this, but for one change I just copy/pasted the old implementation into our tests, as a simple way of testing backwards compatibility. |
I already added some such tests for the |
|
Ah yes I do now see that we already have that kind of test, so you wouldn't be adding new coverage. Great! |
The exact list of things that should be included in the diagnostics data is up for debate -- please opine on what things might be useful.
https://github.com/stx-labs/core-epics/issues/194