Skip to content

BIP halfagg TODOs #11

Open
Open

Description

@jonasnick
  • Consider setting z_0 = 1 (actually this is the variant that is proposed in Chen & Zhao)
  • Reconsider maximum number of signatures
  • Add failing verification test vectors that exercise edge cases.
  • Add aggregation test vectors (passing and failing, including edge cases)
  • Test latest version of hacspec (run through checker)

Activity

  1. real-or-random commented on Jan 4, 2024

    @real-or-random
    Member
    • Should we allow the "empty" aggsig (n=0)? -- Yes.
  2. jonasnick commented on Jan 18, 2024

    @jonasnick
    ContributorAuthor

    Should we allow the "empty" aggsig (n=0)?

    verify_aggregate currently returns true for an "empty" aggsig (s = 0). I think that makes sense.

  3. fjahr commented on Jul 19, 2024

    @fjahr
    Contributor

    Can you elaborate on "Reconsider maximum number of signatures"? I assume this refers to this part in the BIP:

    The maximum number of signatures that can be aggregated is 2<sub>16</sub> - 1. Having a maximum value is supposed to prevent integer overflows. This specific value was a conservative choice and may be raised in the future (TODO)
    

    So would the goal of this would be to evaluate if it's feasible to raise this number now?

    EDIT: Never mind, I answered this question myself looking at the related PRs.

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

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