MCPcopy Create free account
hub / github.com/albertobsd/keyhunt / processOneVanity

Function processOneVanity

keyhunt_legacy.cpp:6323–6338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6321}
6322
6323bool processOneVanity() {
6324 int i,k;
6325 if(vanity_rmd_targets == 0) {
6326 fprintf(stderr,"[E] There aren't any vanity targets\n");
6327 return false;
6328 }
6329 if(!initBloomFilter(vanity_bloom, vanity_rmd_total))
6330 return false;
6331
6332 for(i = 0;i < vanity_rmd_targets;i++) {
6333 for(k = 0; k < vanity_rmd_limits[i]; k++) {
6334 bloom_add(vanity_bloom, vanity_rmd_limit_values_A[i][k] ,vanity_rmd_minimun_bytes_check_length);
6335 }
6336 }
6337 return true;
6338}
6339
6340
6341bool readFileVanity(char *fileName) {

Callers 1

readFileAddressFunction · 0.70

Calls 2

bloom_addFunction · 0.85
initBloomFilterFunction · 0.70

Tested by

no test coverage detected