libp2p / go-libp2p-pubsub

The PubSub implementation for go-libp2p
https://github.com/libp2p/specs/tree/master/pubsub
Other
323 stars 187 forks source link

Publishing option for signing a message with a custom private key #486

Closed iulianpascalau closed 2 years ago

iulianpascalau commented 2 years ago
iulianpascalau commented 2 years ago

This looks fine, but would it make more sense to introduce a topic option WithPublisher and using that?

I will explore that. I was on the verge of pushing a new commit for code duplication removal.