Skip to content

Offchain identity registration and balance handling - #3253

Merged
tomasmik merged 2 commits into
masterfrom
offchain-identity
Apr 1, 2021
Merged

Offchain identity registration and balance handling#3253
tomasmik merged 2 commits into
masterfrom
offchain-identity

Conversation

@tomasmik

@tomasmik tomasmik commented Mar 29, 2021

Copy link
Copy Markdown
Contributor

Offchain identities are now supported in node.

  • Offchain identities dont need to register. If an identity is in state Unregistered we check hermes, if it's an offchain identity it's status gets converted to registered
  • Offchain identities dont need to have balance to work. ForceBalanceUpdate now also checks hermes, if identity is on hermes and it's offchain then the balance is set to hermes response.

If at any point we fail to contact hermes we continue assuming that the identity is not offchain. This eliminates our service from not working if hermes is unreachable or introduces some breaking changes in the check endpoint.

This does put additional strain on hermes, but I cannot think of a better way to do this.

@tomasmik
tomasmik force-pushed the offchain-identity branch 3 times, most recently from c703e42 to 6be1578 Compare March 29, 2021 14:00
@tomasmik tomasmik self-assigned this Mar 29, 2021
@tomasmik
tomasmik marked this pull request as ready for review March 29, 2021 14:03
@tomasmik
tomasmik force-pushed the offchain-identity branch 3 times, most recently from d3ed2c3 to 9e3050b Compare March 29, 2021 14:19
@tomasmik
tomasmik force-pushed the offchain-identity branch from 9e3050b to b969665 Compare March 29, 2021 15:22
@tomasmik
tomasmik merged commit 1ef0a93 into master Apr 1, 2021
@tomasmik
tomasmik deleted the offchain-identity branch April 1, 2021 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants