fn record_fault<P: PartialEq>(
acc: &mut Vec<(Box<OffchainPublicKey>, SsaId<P>, u64)>,
observation: (Box<OffchainPublicKey>, SsaId<P>, u64),
)Expand description
Merges a fault observation into the batch’s pending set, keeping the highest total per SSA.
The relayer travels with the total rather than being filled in at emission time: a batch can also carry faults redeemed from deferral, and those were relayed by whoever held the share at the time — not by the peer whose acknowledgements are being processed now.