-
Notifications
You must be signed in to change notification settings - Fork 1
Description
When running an ADKG, we provide a multiaddr in the group file for other nodes to connect to us. This same multiaddr is filled into the keyshare.pub file created by the ADKG.
Most dcipher nodes are using this same multiaddr for operating their verifier nodes. This means, if we wish to run another DKG (using the same multiaddrs), they will have to turn off the verifier binary which could cause downtime.
Here are a few pros and cons of different ideas:
rewrite the config file multiaddrs before running a verifier
This is the most flexible, though relies on committee members typing things in correctly/reading the latest slack message/etc. A committee member forgetting to tell us a new multiaddr could cause downtime, and versions of configs get confusing fast.
allow output of a different "listening" port
This would allow committee members to define a "dkg hostname" and a "post-dkg hostname". It'd be convenient for the verifier use case, but in a future world we may want to run multiple binaries using the same keyshare.pub so this wouldn't solve the problem entirely.
multiplexing of libp2p connections
I'm not sure how possible this is, but if we could multiplex different libp2p connections/protocols/messages onto different hosts, everything would be solved. This is easy in HTTP land by just using different contexts, but I'm not sure it's so easy with libp2p
Open to other ideas