Skip to content

perf(dkg): use incremental Logs::pre_verify as dealer logs arrive #3556

@decofe

Description

@decofe

After PR #3554 we use the new Logs API from commonware, but we still collect all dealer logs at once and call finalize/observe immediately — missing the incremental verification benefit.

We should call Logs::record() as each dealer log is finalized in a block, and Logs::pre_verify() periodically (e.g. after each batch of new logs), so that signature verification is amortized over the epoch rather than done all at once at the boundary block.

This matters more as the validator set grows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions