[#770] node: Add notary deposit timer
Storage Node needs to have notary deposit for successful notary request sending. Add notary deposit on startup(and wait for its acceptance). Add notary deposit timer, its config in `morph` section and env vars for its tuning. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
e29bcd98e2
commit
722b844aa2
4 changed files with 104 additions and 2 deletions
|
@ -90,6 +90,7 @@ func initApp(c *cfg) {
|
|||
func bootUp(c *cfg) {
|
||||
serveGRPC(c)
|
||||
bootstrapNode(c)
|
||||
makeAndWaitNotaryDeposit(c)
|
||||
startWorkers(c)
|
||||
startBlockTimers(c)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue