Skip to content

Enhancements for the Identity registry

Identities code need some enhancement :

  • Identity methods must not return Json data anymore. It should return Identity objects.
  • Identity should be able to instanciate other Identities in requests methods
  • Identity instanciating should do a "Certifiers-of", and if it fails, a lookup. Because the lookup is not necessary written in the blockchain, whereas certifiers-of is.
  • We must add a "LOCAL_STATE" attribut describing : "COMPLETED/PARTIAL". When all data of an identity have been downloaded locally, it will be set as COMPLETED. In the meantime, it's PARTIAL.
  • We must add a "BLOCKCHAIN_STATE" attribute describing "VALIDATED/BUFFERED". An identity is buffered until it is written in the blockchain, where it becomes "VALIDATED".
  • Caching of identity should not save Json data anymore, only lists of pubkeys+uid corresponding to Identities.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information