Commit 8401f6bc authored by Donncha O'Cearbhaill's avatar Donncha O'Cearbhaill
Browse files

Clarify Replica field in HS_DESC event

Clarify the format of the HS_DESC Replica field and indicate that it is
is defined in rend-spec.txt. Resolves #17226.
parent 291b77f5
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2751,6 +2751,7 @@
    DescriptorID = 32*Base32Character
    Reason = "BAD_DESC" / "QUERY_REJECTED" / "UPLOAD_REJECTED" / "NOT_FOUND" /
             "UNEXPECTED"
    Replica = 1*DIGIT

    These events will be triggered when required HiddenService descriptor is
    not found in the cache and a fetch or upload with the network is performed.
@@ -2776,7 +2777,9 @@
       - "UNEXPECTED" - nature of failure is unknown.

    If Action is "CREATED", Tor SHOULD send Replica field as well. The Replica
    field contains the replica number of the generated descriptor.
    field contains the replica number of the generated descriptor. The Replica
    number is specified in rend-spec.txt section 1.3 and determines the
    descriptor ID of the descriptor.

4.1.26. HiddenService descriptors content