clarify counting of FediChordMessage parts
This commit is contained in:
parent
c31baa3635
commit
beffab99a0
|
@ -10,8 +10,8 @@ Request ::= SEQUENCE {
|
|||
action Action,
|
||||
requestID INTEGER,
|
||||
sender NodeState,
|
||||
parts INTEGER (0..150), -- number of message parts
|
||||
part INTEGER (0..150), -- part number of this message, starts at 1
|
||||
parts INTEGER (1..150), -- number of message parts
|
||||
part INTEGER (1..150), -- part number of this message, starts at 1
|
||||
actionPayload CHOICE {
|
||||
queryIDRequestPayload QueryIDRequestPayload,
|
||||
joinRequestPayload JoinRequestPayload,
|
||||
|
|
|
@ -23,7 +23,7 @@ data FediChordMessage = Request
|
|||
, sender :: NodeState
|
||||
, parts :: Integer
|
||||
, part :: Integer
|
||||
-- ^ part starts at 0
|
||||
-- ^ part starts at 1
|
||||
, action :: Action
|
||||
, payload :: Maybe ActionPayload
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue