Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Voted back in Producer Watermark fix #4559

Conversation

brianjohnson5972
Copy link
Contributor

@brianjohnson5972 brianjohnson5972 commented Jul 9, 2018

Issue 3835
Moved watermark code to on_block and to check if the future block would result in the schedule changing to prevent causing a producer from dropping a block when it was put back in the production schedule after being removed a long time in the past.
Added initial long running test for voting that exposed this problem.

spoonincode and others added 30 commits June 16, 2018 10:35
... But there appears to be no way to query this beyond waiting for a tricky error message from one of the find/add APIs??? For now just use the model number of the system which of coruse is totally bogus and fragile
Fix one code scope issue in `net_plugin`
…initializing producer accounts. Add port availability check.
Add sanity test for ensuring basic setup.
Merging release/1.1 into eosio_build_darwin
Merging release/1.1 into eosio_build_ubuntu
…ion. Added special return code and output for dirty flag exception when wrapped in a fc::exception.
Ubuntu build: Upgraded MongoDB C & Cxx drivers
heifner and others added 25 commits July 9, 2018 09:21
Refactor max_serialization_time to be passed as argument instead
@brianjohnson5972
Copy link
Contributor Author

@wanderingbort can you verify the change in producer_plugin.cpp? I am using generate_next and maybe_promote_schedule because when I used next(...) passing in a fabricated header, there were odd problems, so I only did the minimal parts to get the schedule to promote.

@heifner can you review the test changes and new test? I will do more cleanup and additions later, just wanted to get in a test that would cause this problem to exhibit if it were still present.

@brianjohnson5972
Copy link
Contributor Author

Something went wrong, closing and resubmitting

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet