Skip to content

Instantly share code, notes, and snippets.

@prestonvanloon
Last active October 18, 2019 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prestonvanloon/3e5106a4f4bdefa9483188623802d504 to your computer and use it in GitHub Desktop.
Save prestonvanloon/3e5106a4f4bdefa9483188623802d504 to your computer and use it in GitHub Desktop.
OK - Two single attestations can be aggregated.
attestation_0: b00001000
attestation_1: b01000000
result: b01001000 OK!
OK - Two aggregated attestations with distinct bits (no overlap).
attestation_0: b00011010
attestation_1: b01000001
result: b01011011 OK!
NOT OK - Two aggregated attestations with same signature in both.
attestation_0: b00000101
attestation_1: b00000011
result: cannot verify signature!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment