HelixNetwork / pendulum

Pendulum is a distributed messaging protocol that enables globally available tamper proof timestamps :hourglass_flowing_sand:
https://dev.hlx.ai
Other
10 stars 6 forks source link

Nominee setting #135

Closed oracle58 closed 5 years ago

oracle58 commented 5 years ago

The nominee flag --nominee should only require a path to a seed if the key file has not been created yet.

cristina-vasiu commented 5 years ago

--nominee is also used to decide if node is a nominee, should a node be consider nominee if it already has nominee keyfile or --nominee param, right?

cristina-vasiu commented 5 years ago

Fix issue in PR https://github.com/HelixNetwork/helix/pull/138

If argument --nominee is provided it will be taken in consideration, if not it will checked if a nominee key exists, if yes node is consider as nominee and nomine key is loaded into memory (all information included seed)