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

pubfrompriv wrong result? #150

Open
01Sokar opened this issue Jan 20, 2019 · 2 comments
Open

pubfrompriv wrong result? #150

01Sokar opened this issue Jan 20, 2019 · 2 comments

Comments

@01Sokar
Copy link

01Sokar commented Jan 20, 2019

Why the result of bitcointool -c pubfrompriv -p PRIV_KEY for both forms (Compressed/Uncompressed) shows always address in Compressed form?

@xloem
Copy link
Collaborator

xloem commented Mar 27, 2021

Glancing at the source code this appears to be the intended behavior: to always produce the smaller and equivalent compressed key.

Do you believe it would be better to output the same form as the input?
Alternatively a flag could be passed, or another command provided.

I'm working with the project a little, but I don't know how to tell the correct choice here.

note: #146 shows there is demand for uncompressed key output.

@zilveer
Copy link

zilveer commented Apr 9, 2022

@xloem passing over a flag would be enough I think.
Would love to see this feature in the project.

Best regards

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

3 participants