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

Use of -c or -u #20

Open
JJandre25 opened this issue Oct 8, 2021 · 1 comment
Open

Use of -c or -u #20

JJandre25 opened this issue Oct 8, 2021 · 1 comment

Comments

@JJandre25
Copy link

Hello, thanks for the code, it is a very good program.

I am using hashes, all of this type
"c50603f1115f6f4f4857637ae44ca515c89c824f"
and I don't understand if I should use "-c" or "-u"

can you explain those inputs a bit please, like "--compression"

Thanks

@makabress
Copy link

with only hash you can't know if the address is from a compressed or uncompressed pubkey
you can't go back from hash to public key
exemple of compressed and uncompressed pubkey :
uncompressed :
04 B239B1FE68C2A602F578CBCCE3121F030C7DCF39836DF7C1D0C4A8CB13960601 FCB2F7B633C5E53A11A476464D3EFAF82379833A37288838CCF25D5D625F2791 = A92CACF0563D3F5999A8904FA51136323445702F = 1GRWiXmPGD6hPkjxFB4pawiBdfEPvcM7qc

compressed :

03 B239B1FE68C2A602F578CBCCE3121F030C7DCF39836DF7C1D0C4A8CB13960601 = F6807197798BC0FE5743AB24827117E6048BABF9 = 1PUP6ck21BbS7HJuRC59KGUJbn152Eeujd

uncompressed and compressed have the same privkey

so for your hash it's impossible to know if it's from compressed or uncompressed pubkey but i guess it's compressed just because the first transaction is from 2013 but im not sure

when you are not sure you have to search in both mode

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

2 participants