sc: allow system to re-register channels

context:

  • AccountManager.register currently only accepts NewAccount as a param.
  • It is thus impossible to represent trying to register a RegisteredAccount or a VerifiedAccount
  • 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 a RegisteredAccount or a VerifiedAccount and has semantics appropriate to that operation
Edited by aguestuser