Add a test to show the behaviour of setting up 3 delegates, through two seed nodes -- ensuring that commands are still operational after accepting a delegate that the node is missing. The two seeds are setup with two different scopes: - `Scope::All` - `Scope::Followed` This is to show that the network has eventual consistency once there is a way to fetch any other node's fork in the network. The setup of the test is: - Alice adds Bob as a delegate - Bob adds Eve as a delegate - Alice accepts Bob's changes Alice is able to get Eve's fork through the `Scope::All` seed. The `Scope::Followed` seed will then be able get Eve's fork once any other node syncs with it, in this case Eve. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett |
||
|---|---|---|
| .. | ||
| data | ||
| commands.rs | ||