Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactor consensus for simulation (RIPD-1011) #2040
This is a substantial refactor of the consensus code and also introduces a basic consensus simulation and testing framework. The new generic/templated version is in src/ripple/consensus and documents the current type requirements. The version adapted for the RCL is in src/ripple/app/consensus. The testing framework is in src/test/csf. The goal of this phase of refactoring is to get sufficient test coverage of consensus to allow the next phase of refactoring needed for the simulation framework.
Minor behavioral changes/fixes include:
This is a squashed version of #1941.
@@ Coverage Diff @@ ## develop #2040 +/- ## =========================================== + Coverage 67.7% 68.46% +0.76% =========================================== Files 680 678 -2 Lines 49219 49212 -7 =========================================== + Hits 33323 33693 +370 + Misses 15896 15519 -377