MCPcopy Create free account
hub / github.com/JeanLucPons/VanitySearch / dumpPrefixes

Method dumpPrefixes

Vanity.cpp:530–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528// ----------------------------------------------------------------------------
529
530void VanitySearch::dumpPrefixes() {
531
532 for (int i = 0; i < 0xFFFF; i++) {
533 if (prefixes[i].items) {
534 printf("%04X\n", i);
535 for (int j = 0; j < (int)prefixes[i].items->size(); j++) {
536 printf(" %d\n", (*prefixes[i].items)[j].sPrefix);
537 printf(" %g\n", (*prefixes[i].items)[j].difficulty);
538 printf(" %s\n", (*prefixes[i].items)[j].prefix);
539 }
540 }
541 }
542
543}
544// ----------------------------------------------------------------------------
545
546void VanitySearch::enumCaseUnsentivePrefix(std::string s, std::vector<std::string> &list) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected