-
Notifications
You must be signed in to change notification settings - Fork 107
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
Test the getblocktemplate RPC's response as a block template proposal in CI #5685
Comments
I'm not quite sure how this would work, do we need to mine a valid solution for the proposal to be valid? |
It doesn't need a valid solution (it doesn't commit the block, just checks that it would be accepted if submitted with a valid solution), so a new block verifier request would skip the
|
Sounds good, can you update the ticket description with the spec details and your suggested design? Sometimes they get lost in the comments! |
I don't think we should do this in CI until we can confirm it manually |
Hey team! Please add your planning poker estimate with Zenhub @arya2 @conradoplg @dconnolly @oxarbitrage @teor2345 @upbqdn |
Motivation
The acceptance test could confirm that the
getblocktemplate
response in 'template' mode will be accepted if it has a valid solution by submitting the same data to thegetblocktemplate
method in 'proposal' mode.Design
In the acceptance test that syncs until the tip and calls the
getblocktemplate
RPC method:solution
andnonce
fieldsgetblocktemplate
in 'proposal' modesubmitblock
test)The text was updated successfully, but these errors were encountered: