Implement a coordinator abstraction that can be asked for coordinator related tasks.
If the node itself is the coordinator, it will respond immediately. Otherwise, the current coordinator node will be contacted and the request gets delegated. If the coordinator is not responding, a new coordinator must be elected between all nodes in a net.
There must only be one coordinator at any given time.
Implement a coordinator abstraction that can be asked for coordinator related tasks.
If the node itself is the coordinator, it will respond immediately. Otherwise, the current coordinator node will be contacted and the request gets delegated. If the coordinator is not responding, a new coordinator must be elected between all nodes in a net.
There must only be one coordinator at any given time.