File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/lean_spec/subspecs/xmss Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1313from lean_multisig_py import setup_prover , setup_verifier
1414from lean_multisig_py import verify_aggregated_signatures as verify_aggregated_signatures_py
1515
16- from lean_spec .subspecs .xmss .containers import PublicKey , Signature
16+ from lean_spec .subspecs .xmss .containers import PublicKey
17+ from lean_spec .subspecs .xmss .containers import Signature as XmssSignature
1718from lean_spec .types import Uint64
1819
1920
@@ -25,9 +26,11 @@ class LeanMultisigAggregationError(LeanMultisigError):
2526 """Raised when lean-multisig fails to aggregate or verify signatures."""
2627
2728
29+ # This function will change for recursive aggregation
30+ # which might additionally require hints.
2831def aggregate_signatures (
2932 public_keys : Sequence [PublicKey ],
30- signatures : Sequence [Signature ],
33+ signatures : Sequence [XmssSignature ],
3134 message : bytes ,
3235 epoch : Uint64 ,
3336) -> bytes :
@@ -65,6 +68,8 @@ def aggregate_signatures(
6568 raise LeanMultisigAggregationError (f"lean-multisig aggregation failed: { exc } " ) from exc
6669
6770
71+ # This function will change for recursive aggregation verification
72+ # which might additionally require hints.
6873def verify_aggregated_payload (
6974 public_keys : Sequence [PublicKey ],
7075 payload : bytes ,
You can’t perform that action at this time.
0 commit comments