A parked chain behave pretty much like an invalid chain as far as chain selection goes, but having 2 different states will allow to reconsider parked chain in time.
Depends on D1466
Differential D1469
Introduce the concept of parked chain. deadalnix on May 29 2018, 19:23. Authored by
Details
A parked chain behave pretty much like an invalid chain as far as chain selection goes, but having 2 different states will allow to reconsider parked chain in time. Depends on D1466 Added test for the flag mechnery itself. I was unable to find a proper way to test the change in FindMostWorkChain as nothign set the flag yet - so intergration test do not quite work - and the whole thing is so screwed up that unit testing is not really viable.
Diff Detail
Event TimelineComment Actions I'm not sure about this concept. I do not think about EBP as being a property of the block, but rather where the block lives? I.E. does your car isn't changing when you park it, it's just going into your garage. I understand right now there is a mapBlockIndex and a chainActive. Is there any reason not to introduce a wrapper around chainActive that contains a set of CChains?
|