sc: allow system to re-register channels
context:
-
AccountManager.registercurrently only acceptsNewAccountas a param. - It is thus impossible to represent trying to register a
RegisteredAccountor 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.reregisterwhich accepts either aRegisteredAccountor aVerifiedAccountand has semantics appropriate to that operation
Edited by aguestuser