I noticed an interesting behaviour exhibited by Patchwork. When receiving createHistoryStream requests for sequence n patchwork returns messages with sequence >= n. The protocol guide seems to imply that this is incorrect and instead messages with sequence > n should be returned.
Only return messages later than this sequence number. If not specified then start from the very beginning of the feed.
https://ssbc.github.io/scuttlebutt-protocol-guide/#createHistoryStream
Example: when Patchwork receives a createHistoryStream request with seq set to 10 it will start returning messages from sequence 10. Therefore if we have an up to date feed and ask patchwork for newer messages it will always return at least one message - the least message that we have.
I wonder if this is some kind of a legacy behaviour?
Originally posted here %ptQutWwkNIIteEn791Ru27DHtOsdnbcEJRgjuxW90Y4=.sha256.
I noticed an interesting behaviour exhibited by Patchwork. When receiving
createHistoryStreamrequests for sequencenpatchwork returns messages withsequence >= n. The protocol guide seems to imply that this is incorrect and instead messages withsequence > nshould be returned.https://ssbc.github.io/scuttlebutt-protocol-guide/#createHistoryStream
Example: when Patchwork receives a
createHistoryStreamrequest withseqset to10it will start returning messages from sequence10. Therefore if we have an up to date feed and ask patchwork for newer messages it will always return at least one message - the least message that we have.I wonder if this is some kind of a legacy behaviour?
Originally posted here
%ptQutWwkNIIteEn791Ru27DHtOsdnbcEJRgjuxW90Y4=.sha256.