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

Function processOneVanity

keyhunt.cpp:6069–6085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6067}
6068
6069bool processOneVanity() {
6070 int i,k;
6071 if(vanity_rmd_targets == 0) {
6072 fprintf(stderr,"[E] There aren't any vanity targets\n");
6073 return false;
6074 }
6075
6076 if(!initBloomFilter(vanity_bloom, vanity_rmd_total))
6077 return false;
6078
6079 for(i = 0; i < vanity_rmd_targets;i++) {
6080 for(k = 0; k < vanity_rmd_limits[i]; k++) {
6081 bloom_add(vanity_bloom, vanity_rmd_limit_values_A[i][k] ,vanity_rmd_minimun_bytes_check_length);
6082 }
6083 }
6084 return true;
6085}
6086
6087
6088bool readFileVanity(char *fileName) {

Callers 1

readFileAddressFunction · 0.70

Calls 2

bloom_addFunction · 0.85
initBloomFilterFunction · 0.70

Tested by

no test coverage detected