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
This is a partial implementation of gossipsub that differs to the spec by handling errors and using hashes of messages and topics instead of IDs. While it is possible to use an enum containing either a hash or an ID, after trying to implement that I stopped due to additonal complexities around doing so, while there does not seem to be any advantage to using an ID over a hash.
Handled errors include when a topic is not in the mesh, and the local peer is not connected to the remote peer.
Relevant lines in the spec include:
This is a partial implementation of gossipsub that differs to the spec by handling errors and using hashes of messages and topics instead of IDs. While it is possible to use an enum containing either a hash or an ID, after trying to implement that I stopped due to additonal complexities around doing so, while there does not seem to be any advantage to using an ID over a hash.
Handled errors include when a topic is not in the mesh, and the local peer is not connected to the remote peer.
Relevant lines in the spec include:
graft_errs
andprune_errs
in layer.Related: #130, #116
The text was updated successfully, but these errors were encountered: