We are trying to find a way for a node to accept pubsub messages from specific nodes on a topic but not gossip those messages to other nodes since these specific nodes are not part of the core network but are just trying to follow the chain.
We were considering using TopicValidator but I realized it does not has an option to send the message to the application but not forward it to the network.
- Do you know of a way we could achieve that?
- We were considering passing in a
TopicValidatorwhich rejects the messages from these nodes so that they don’t get forward to the network but then delivers it to our application (using a channel or some other mechanism). Do you see any issues around that approach?
thanks in advance,