ObserverΒΆ
The Observer subscribes to the orb.anchor queue and handles witnessed anchor linksets. Upon receiving an anchor linkset, the Observer:
Loads the anchor linkset from the Content Addressable Storage (CAS)
Validates the witness signatures
Retrieves Sidetree batch files from CAS
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
Stores each DID operation into the Operation store
Deletes the corresponding unpublished DID operations from the Unpublished Operation store