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

Accept signatures serialized in compact format #140

Open
kroggen opened this issue Oct 14, 2020 · 2 comments
Open

Accept signatures serialized in compact format #140

kroggen opened this issue Oct 14, 2020 · 2 comments

Comments

@kroggen
Copy link
Member

kroggen commented Oct 14, 2020

Aergo could accept signatures serialized in compact format (as well as the currently supported DER format)

The engine can detect that the signature is serialized in compact format by its size: 64 bytes

This could be implemented in 2 places:

  • transactions
  • crypto.ecverify
@kroggen
Copy link
Member Author

kroggen commented Oct 15, 2020

This feature is important for anchoring AergoLite on Aergo. AergoLite uses the compact format to reduce the size of transactions (and thus also storage on full nodes)

@kroggen
Copy link
Member Author

kroggen commented Jan 18, 2023

Check existing code here

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

No branches or pull requests

1 participant