quantadex / distributed_quanta_bridge

The distributed version of the quanta bridge
1 stars 0 forks source link

Registry remembers the nodes manifiest if it goes down. #32

Open quocble opened 5 years ago

quocble commented 5 years ago

The use case here, is that we can take down any node independently of each other. Right now , if we take the registry node down, we have to restart all the other nodes to register.

  1. Registry serializes into JSON the manifest
  2. Load up on startup.

It should be based on public key, and update the ip if the user has changed.

Use case 1:

  1. stop registry node
  2. restart registry node expect: consensus to work as normal

Use case 2:

  1. stop a single node (non registry)
  2. start the node again expect: consensus work as normal

Use case 3:

  1. stop a single node (non registry)
  2. start a node again with different port or ip, but same public key

expect manifest to update & broadcast & consensus work as normal