Does a gossip topic publisher receive their own posts if they are subscribed?

If a node publishes to a gossip topic that they are also subscribed to, should the publisher expect to receive what they just published, or is that message filtered out?

By experimentation, looks to me like the publisher does not receive their own messages even if they are subscribed, but I’ve seen some discussions to the contrary.

Are there any configurations for this behavior?

ChainSafe/js-libp2p-gossipsub: JavaScript implementation of Gossipsub (github.com)

You can use the emitSelf option to receive your own posts.

1 Like