pub fn cut_to_missing(
assets: Vec<BackupAsset>,
receiver: &Offer,
) -> (Vec<BackupAsset>, usize)Expand description
Cut assets to the ones receiver is missing: missing_from(receiver, ours) over their
head_addresses. Returns what remains and how many the receiver’s offer excluded. An asset
with no head address is kept, since no offer can show the receiver holds it.