Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple Multi-signature scheme #638

Merged
merged 15 commits into from
Jul 16, 2019
Merged

Conversation

mgudemann
Copy link
Contributor

Thiswill introduce a first version of native scripts multi-sig, the main intention is to introduce the necessary types into the executable model and to get a foundation for the definition of the low-level multi-sig format.

Copy link
Contributor

@JaredCorduan JaredCorduan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@mgudemann mgudemann force-pushed the shelley/exec_spec/multi-signature branch from 081555c to 0815395 Compare July 15, 2019 13:18
mgudemann added 11 commits July 16, 2019 09:35
- MultiSignatureScript typeclass
- simple native script multi-sig implementation
- move transaction definitions from `UTxO` to own module
- add hashScript to `MultiSignatureScript` typeclass
- define first tag for native multi-signature
- move address defintions to `Address module`
- also fix use of `stPools` / `stkeys` which was used in reverse
@mgudemann mgudemann force-pushed the shelley/exec_spec/multi-signature branch from 0815395 to 0815915 Compare July 16, 2019 14:39
@mgudemann mgudemann force-pushed the shelley/exec_spec/multi-signature branch from 0815a13 to 0815a1b Compare July 16, 2019 20:20
@mgudemann mgudemann merged commit 5b16e84 into master Jul 16, 2019
@mgudemann mgudemann deleted the shelley/exec_spec/multi-signature branch July 16, 2019 20:36
kevinhammond pushed a commit that referenced this pull request Oct 28, 2019
nc6 pushed a commit that referenced this pull request May 19, 2020
638: Add CompactRedeemVerificationKey r=intricate a=intricate

Related to #618.

This implementation of `RedeemVerificationKey` reduces the memory usage of loading the mainnet `Genesis.Config` from around ~45MB to ~15MB:

![visualization_compactredeemverificationkey](https://user-images.githubusercontent.com/19835357/65299071-f9158000-db3b-11e9-9312-52f56965c953.png)

Co-authored-by: Luke Nadur <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants