Open jamesray1 opened 6 years ago
Note that a direct translation from Go code to Rust is a very very bad idea due to the profound differences between the languages.
Compatibility between the implementations should exist at the wire level. There is almost nothing in common between the source codes of rust-libp2p and go-libp2p.
Right, thanks for correcting me, should've realized that I was on the wrong track!
Go PR: https://github.com/libp2p/go-floodsub/pull/67
I figure I'll implement gossipsub for Rust rather than wait until a go-libp2p daemon is implemented, which wouldn't be optimal anyway.
Note that gossipsub would not only be useful for sharding p2p, but general p2p networks.
Ignore the rest of this post, due to tomaka's comment below.
Only the differences to Floodsub are included below.
To implement with [Rust-libp2p]:
Control *ControlMessage
protobuf:"bytes,3,opt,name=control" json:"control,omitempty"``Additional context
Cute Animal Picture