pub trait DedupPayload {
type Value;
// Required methods
fn is_empty(&self) -> bool;
fn len(&self) -> usize;
fn dedup(self) -> PartiallyValidData<Self::Value>;
}Available on crate feature
network only.Expand description
Validation pass that checks for unique transaction hashes.
Required Associated Types§
Sourcetype Value
type Value
Value type in PartiallyValidData map.
Required Methods§
Sourcefn dedup(self) -> PartiallyValidData<Self::Value>
fn dedup(self) -> PartiallyValidData<Self::Value>
Consumes self, returning an iterator over hashes in payload.