DocumentUnavailableMessage: {
    documentId: DocumentId;
    senderId: PeerId;
    targetId: PeerId;
    type: "doc-unavailable";
}

Sent by a Repo to indicate that it does not have the document and none of its connected peers do either.

Type declaration

  • documentId: DocumentId

    The document which the peer claims it doesn't have

  • senderId: PeerId
  • targetId: PeerId
  • type: "doc-unavailable"