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

prvkey to pubkey #44

Open
hamnaz opened this issue Mar 11, 2020 · 6 comments
Open

prvkey to pubkey #44

hamnaz opened this issue Mar 11, 2020 · 6 comments

Comments

@hamnaz
Copy link

hamnaz commented Mar 11, 2020

when converting 20mil hex privatekey to pubkeys, take 3 hours, when pubkeys to address, take only 16 minutes
why prvkey to pubkey take toooo mych time, any solution, or you have plan to update these tools to use cuda, where aspected works would be in min/sec
hope see your updates regarding this issue

@streamofstars
Copy link

Can you give example of the code you use?

@hamnaz
Copy link
Author

hamnaz commented Mar 22, 2020

./bitcoin-tool --input-type private-key --input-format hex --output-type public-key --output-format hex --input-file xaa1.txt --batch --network bitcoin --public-key-compression compressed

@streamofstars
Copy link

I tested it too and need to confirm the results @hamnaz reports, took my computer 2,5h to convert 20m hex prvkeys to pubkeys, and 3 minutes to convert to addresses in the next step.

Until any improvements are added, I can suggest splitting the input file into multiple smaller ones and running multiple instances of the bitcoin-tool on them concurrently. It is far from CUDA performance but as an ad hoc solution will probably do - workaround like this can be easily scripted, and if you have multiple cores CPU you will cut the time needed for processing considerably.

@Meru852
Copy link

Meru852 commented Sep 25, 2020

Can i use to find the private key by the address?

1 similar comment
@Meru852
Copy link

Meru852 commented Sep 25, 2020

Can i use to find the private key by the address?

@streamofstars
Copy link

No, it's not possible to reverse hashing. Theoretically you could use this tool to just generate all possible addresses and compare them to the address you interested in but it is not feasible as it would take you billions of years, even using cloud, CUDA and whatever best supercomputer there is.

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