feat: seenTTL

This commit is contained in:
Richard Ramos 2023-05-09 14:22:46 -04:00
parent d090d9cdd8
commit 3356edc31a
No known key found for this signature in database
GPG Key ID: 1CE87DB518195760
1 changed files with 3 additions and 0 deletions

View File

@ -190,6 +190,9 @@ pub struct GossipSubParams {
/// the router may apply bahavioural penalties.
#[serde(rename = "iwantFollowupTimeSeconds")]
pub iwant_followup_time_seconds: Option<i32>,
// Time until a previously seen message ID can be forgotten about.
#[serde(rename = "seenMessagesTTLSeconds")]
pub seen_messages_ttl_seconds: Option<i32>,
}
#[derive(Clone, Default, Serialize, Deserialize, Debug)]