Skip to main content

symmetric_difference

Function symmetric_difference 

Source
pub fn symmetric_difference(a: &Offer, b: &Offer) -> BTreeSet<Hash32>
Expand description

The symmetric difference of two offers — every address exactly one side holds. Over two devices with overlapping-but-distinct content, this is the union of the two one-way pulls ((a \ b) ∪ (b \ a)): the total set of assets that must move for the pair to converge.