mpcium icon indicating copy to clipboard operation
mpcium copied to clipboard

Flexible number of mpcium nodes configuration (adding or removing new parties/nodes)

Open najlachamseddine opened this issue 1 year ago • 2 comments

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 ?

najlachamseddine avatar Aug 11 '25 17:08 najlachamseddine

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.

anhthii avatar Aug 12 '25 11:08 anhthii

Thanks @anhthii

najlachamseddine avatar Aug 12 '25 13:08 najlachamseddine