peloton
peloton copied to clipboard
Protocol Layer Refactor
Protocol handler and traffic cop, as it stands currently, are completely intertwined, and rank very high on my "worst code ever seen" list. There is so much duct tape and coat hangers here, it pretty wrecks testability and extensibility of the code. We will have to refactor this in phases.
This PR will separate out all the components like they should be. @ChTimTsubasa is working on another PR based on this to fix the broken transaction handling logic.
There are still failures, I will fix this concurrently with review.