On push, we check whether the resulting state would cause a divergence/fork in the canonical head, and if so, prevent the push from happening. This is to avoid situations where delegates have to then rollback their heads. Note that this doesn't prevent forks from happening altogether, as they could happen asychronously, but it mitigates the problem. |
||
|---|---|---|
| .. | ||
| data | ||
| commands.rs | ||