penumbra-zone / penumbra

Penumbra is a fully private proof-of-stake network and decentralized exchange for the Cosmos ecosystem.
https://penumbra.zone
Apache License 2.0
376 stars 294 forks source link

"sync_exclude" flag for Spends and Outputs #4405

Open aubrika opened 4 months ago

aubrika commented 4 months ago

We want to be able to mark Spends/Outputs as not to be included in CompactBlocks after submission for high-volume applications, to make the view server more efficient on sync. We can do this by adding a new flag to Spends and Outputs, sync_exclude

To do this we can:

hdevalence commented 4 months ago

We'll want to consider how this affects FMD (currently we have a rule of 1 clue per output, this should probably be 1 clue per sync included output, right?) and what the plan for syncing is, so we can be sure the feature works end to end.