ObserverΒΆ

The Observer subscribes to the orb.anchor queue and handles witnessed anchor linksets. Upon receiving an anchor linkset, the Observer:

  1. Loads the anchor linkset from the Content Addressable Storage (CAS)

  2. Validates the witness signatures

  3. Retrieves Sidetree batch files from CAS

  4. Validates Sidetree batch files:

    • Ensures that the number of operations does not exceed the maximum allowed limit

    • Ensures that the size of each operation does not exceed the maximum allowed limit

    • Ensures the batch meets proof-of-work requirements

  5. Stores each DID operation into the Operation store

  6. Deletes the corresponding unpublished DID operations from the Unpublished Operation store

../../_images/observer.svg