Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: use recoverable signature to reduce tx size #15
BREAKING CHANGE: witness data is changed
This PR replace normal signature with recoverable signature. So instead of reading pubkey from witness, the contract recovers a pubkey from the signature, this change can reduce 33 bytes tx size for each witness.
However, due to the additional
I think it worth the change, Please leave your opinion in comments.
Edit: After a second thought, this change won't affect security as we still use pubkey hash as address and only reveal pubkey on spending.