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

Adding compressed public key flag to java api #443

Closed
wants to merge 2 commits into from

Conversation

Christewart
Copy link

Implements the ability to generate a compressed public key from the java API.

@Christewart
Copy link
Author

Christewart commented Feb 21, 2017

Fixing a few checkInvariants

Adding compressed flag to tweak_mul and tweak_add

Fixing some nits
Exposing secp256k1 parse pubkey functionality in the java api

Fixing some nits, refactoring some code

Changing name of method from 'parsePubKey' to 'isValidPubKey'

Removing compressed flag arg from 'isValidPubKey' method
@Christewart
Copy link
Author

I added a little more functionality, there is now a isValildPubKey method that calls the underlying ec_pubkey_parse. I'd also like to eventually remove the guava dependency. I removed the Preconditions.checkArgument code and create our version called checkInvariant().

@Christewart
Copy link
Author

superseded by #508

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