pub fn who_did(
events: impl IntoIterator<Item = Event>,
note: EventId,
what: Left,
) -> Vec<Doer>Expand description
Who left what on note, going by events, each of them once: the
last first, for reposts and reactions, and whoever zapped most first.
Someone who reposted twice reposted once; of someone who reacted more
than once, it is the reaction made last; and what someone zapped in
several goes is added up. A downvote is no reaction, here as in the
count, and a zap of less than a sat is none.
A zap is whose its receipt says it is, by the request the receipt
carries, if that request is signed by them (NIP-57). Whether the
receipt itself comes from the wallet of the one zapped is not looked
into, as it is not for the count (see tally).