Skip to content

Async batch Ed25519 signature verification #1944

Closed

Description

We currently validate Sprout JoinSplit binding signatures one by one. ed25519-zebra has batch validation math implemented, which tower-batch uses in an integration test to demonstrate its use wrapped in a tower::Service. In fact this was the first test case for the pattern we've used for the async batch RedJubjub signature and Groth16 proof verification. We can use this in our transaction verification pipeline too to get the batch verification speedup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-consensusArea: Consensus rule updatesA-rustArea: Updates to Rust codeC-enhancementCategory: This is an improvementNU SproutNetwork Upgrade: Sprout specific tasks (before Overwinter)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions