GossipSub - what is the expected behaviour for publishing a duplicate? #6179
Replies: 1 comment
-
| 
         NVM, I was too hasty and it seems to be answered before on #5278  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
Since I work on some analysis of
GossipSubI try to experiment with publishing duplicates.Technically, setting
.duplicate_cache_time(std::time::Duration::from_secs(0))ongossipsub::ConfigBuilderdoes set any element expiration to be immediate.However, ,due to the
Behaviour.publish(...)'s andTimeCache's design, it won't invalidate old entries in the cache until a new, non duplicate one enters. In other words, it will reject the immediate publish of the last message received (or any message with an identical key basically).Is that the expect behaviour?
Beta Was this translation helpful? Give feedback.
All reactions