You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
I noticed an interesting behaviour exhibited by Patchwork. When receiving
createHistoryStream
requests for sequencen
patchwork returns messages withsequence >= n
. The protocol guide seems to imply that this is incorrect and instead messages withsequence > n
should be returned.https://ssbc.github.io/scuttlebutt-protocol-guide/#createHistoryStream
Example: when Patchwork receives a
createHistoryStream
request withseq
set to10
it 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
.The text was updated successfully, but these errors were encountered: