anoma / namada

Rust implementation of Namada, a Proof-of-Stake L1 for interchain asset-agnostic privacy
https://namada.net
GNU General Public License v3.0
2.4k stars 956 forks source link

replace validator in Tendermint node from `init-validator` tx #49

Closed tzemanovic closed 2 months ago

tzemanovic commented 2 years ago

Currently, after creating a new validator account on-chain with the init-validator tx, it is necessary to manually restart the ledger node for Tendermint to use the new validator key.

We could allow the node to automatically pick up a newly created validator with init-validator, write it to Tendermint's dir and restart the Tendermint process. We should be able to re-use whatever approach we use for consensus key change in https://github.com/anoma/namada/issues/36.

┆Issue is synchronized with this Asana task by Unito

juped commented 2 years ago

can tendermint be asked to reload without restarting as well, perhaps with SIGHUP or some request over the ipc?

cwgoes commented 1 year ago

@brentstone can you check / take this on after the PoS stuff since it is related?

brentstone commented 1 year ago

@brentstone can you check / take this on after the PoS stuff since it is related?

Yup.

cwgoes commented 2 months ago

Not important.