Skip to content

[Draft] Add support for new index4 parameters#20

Draft
optout21 wants to merge 1 commit into
cryptlib2from
index4_1
Draft

[Draft] Add support for new index4 parameters#20
optout21 wants to merge 1 commit into
cryptlib2from
index4_1

Conversation

@optout21

@optout21 optout21 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

This is on top of the (yet-unmerged) cryptlib2 branch.

Changes done:

  • Extend InputReqs with signerIndex4 field (next to signerIndex)
  • Extend Cets with signerIndex4 field (next to signerIndex)
  • Read them from the Json version, if missing, fallback to default 0
  • Extend signHashEcdsa() with extra int signerIndex4 parameter
  • Extend createCetAdaptorSigs() with extra int signingKeyIndex4 parameter
  • Extend signTransaction()with extra int keyIndex4 parameter
  • Pass the extra parameters, down to the crytlib library methods.

This change is untested!

See also:

Changes done:
- Extend `InputReqs` with `signerIndex4` field (next to `signerIndex`)
- Extend `Cets` with `signerIndex4` field (next to `signerIndex`)
- Read them from the Json version, if missing, fallback to default 0
- Extend `signHashEcdsa()` with extra `int signerIndex4` parameter
- Extend `createCetAdaptorSigs()` with extra `int signingKeyIndex4` parameter
- Extend `signTransaction()`with extra `int keyIndex4` parameter
- Pass the extra parameters, down to the crytlib library methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant