albertobsd / keyhunt

privkey hunt for crypto currencies that use secp256k1 elliptic curve
MIT License
640 stars 349 forks source link

cpu usage problem ( sample key found) #224

Closed mirameshs closed 1 year ago

mirameshs commented 1 year ago

hello I used this command on keyhunt.exe on Win 10 64bit sample key found and that was only one address. but keyhunt still uses 30 percent of the CPU

keyhunt -m address -f tests/sample_test_1.txt -l compress -r 76bc54654ccc1000:76bc54654ccc1fff
[+] Version 0.2.230519 Satoshi Quest, developed by AlbertoBSD
[+] Mode address
[+] Search compress only
[+] Setting search for btc adddress
[+] N = 0x100000000
[+] Range
[+] -- from : 0x76bc54654ccc1000
[+] -- to   : 0x76bc54654ccc1fff
[+] Allocating memory for 1 elements: 0.00 MB
[+] Bloom filter for 1 elements.
[+] Loading data to the bloomfilter total: 0.03 MB
[+] Sorting data ... done! 1 values were loaded and sorted
Base key: 76bc54654ccc1000
Hit! Private Key: 76bc54654ccc1aaa
pubkey: 02a998d1f5561309a2450ec03b66af24a21c9f473969f3a38988ade9b508e142ad
Address 1GW9bAZMTjPqogMh8916PAoJJYSUdceLPc
rmd160 aa0d1e92a05235ecc2dc179e4c0478559b1d34c2

when only there is 1 address and that address is found, why keyhunt continue searching and CPU usage is as the same time keyhunt was searching?

albertobsd commented 1 year ago

You don't setup your number of threads, please don't open an issue every time that you don't undertand how the tools works