Skip to main content

is_stored_by_round

Function is_stored_by_round 

Source
pub(super) fn is_stored_by_round(item: &OutputItem) -> bool
Expand description

Whether the round that produced item stores it itself, so that whoever else sees the item must not store it as well.

Exhaustive on purpose: an item kind that later needs round-owned storage has to be answered here rather than fall through a matches! somewhere and end up stored twice.