Shift gossipsub validation
## Issue Addressed
N/A
## Proposed Changes
This will consider all gossipsub messages that have either the `from`, `seqno` or `signature` field as invalid.
## Additional Info
We should not merge this until all other clients have been sending empty fields for a while.
See for reference
@@ -103,7 +103,7 @@ impl Default for Config {
.history_length(6)
.history_gossip(3)
.validate_messages() // require validation before propagation
- .validation_mode(ValidationMode::Permissive)
+ .validation_mode(ValidationMode::Anonymous)
// prevent duplicates for 550 heartbeats(700millis * 550) = 385 secs
.duplicate_cache_time(Duration::from_secs(385))
.message_id_fn(gossip_message_id)
