Flexible number of mpcium nodes configuration (adding or removing new parties/nodes)
How can we configure add and remove nodes ? I saw the generate nodes and register nodes in the code, but I did not find how we can add or remove nodes to an existing network of nodes.
I would like also to know if the current architecture is applicable to distant nodes. Do the NAT messaging and queues to send messages between nodes slow down execution ? Would you have benchmark results or use cases for this type of configuration, where nodes are distant ?
hello, thanks for creating the issue.
if you want to remove or add nodes. You need to update peers.json, run mpcium-cli register-peers again
Also, need to add or remove identity.json file of the node
we will improve the documentation on adding/removing nodes
For the NATS messaging layer, we use it to improve resiliency and durability, ensuring messages are reliably delivered even if nodes are slow or temporarily disconnected. In our experience, the performance impact is minimal.
Thanks @anhthii