You are reading content from Scuttlebutt
User has not chosen to be hosted publicly
@aljoscha %xMcl+D/xLHJZVIyKVC4RFSg7zdD2YEQ/QP0IrVjpFus=.sha256

This might come a bit late, but there's a test suite that runs handshakes over stdin/stdout, both correct ones and faulty ones. There's also a readable js implementation.

User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
@mix %5P7x428ca1VgWnkDksopVO6evxC/NRzCTxmlW3xM8AQ=.sha256

I don't know this part of the stack. Are the SHS docs that @duncan wrote any help ? https://github.com/ssbc/scuttlebutt-protocol-guide

(hey @duncan the link to the guide is broken in https://github.com/ssbc/scuttlebutt-guide)

User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
User has not chosen to be hosted publicly
@Dominic %enBXiqYJr6LaTKbggye390jHkH4r3TNEV8ylf/cFsQM=.sha256

@moid this bubbled up again because I saw @duncan's comment.

The reason is mainly the third that duncan mentions - It sends a single createHistoryStream to check if you are connecting as a replicating peer or as a rpc client (say, you are patchwork). If you are a client, that createHistoryStream will error, and then sbot won't make any more replication requests. This is non-ebt replication, mind - if sbot receives a request from createHistoryStream it will then request all the feeds that it replicates.

ssb-ebt has a similar behaviour were the initial request is only small, and doesn't send lots of data until the peer responds confirming they understand ebt.

One other reason for requesting your own feed, is that the remote who also requests it knows for sure how uptodate they are, which makes it possible to draw progress bars!

Join Scuttlebutt now