sc: allow system to re-register channels
context:
-
AccountManager.register
currently only acceptsNewAccount
as a param. - It is thus impossible to represent trying to register a
RegisteredAccount
or aVerifiedAccount
- But: we might want to re-register an account sometimes (ie: if the protocol store state gets borked or if a registration attempt fails). To accomodate this, we should add an
AccountManager.reregister
which accepts either aRegisteredAccount
or aVerifiedAccount
and has semantics appropriate to that operation
Edited by aguestuser