Open MithrilMan opened 5 years ago
Another thing to refactor is how we handle the ProtocolVersion
and the NodeServices
enums.
Currently they are mixed together with other networks, we need to find a way to define these enums per networks, perhaps they need to go in to ConsensusFactory or even a NetworkFactory in the network class.
Our rules have a Parent/PowParent/PosParent property that point to the rule engine they belongs to. The name doesn't communicate that at all.
I propose to rename those property to Parent => RuleEngine PowParent => PowRuleEngine PosParent => PosRuleEngine