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

Method GetBlockStr

Int.cpp:1006–1017  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1004// ------------------------------------------------
1005
1006std::string Int::GetBlockStr() {
1007
1008 char tmp[256];
1009 char bStr[256];
1010 tmp[0] = 0;
1011 for (int i = NB32BLOCK-3; i>=0 ; i--) {
1012 sprintf(bStr, "%08X", bits[i]);
1013 strcat(tmp, bStr);
1014 if(i!=0) strcat(tmp, " ");
1015 }
1016 return std::string(tmp);
1017}
1018
1019// ------------------------------------------------
1020

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected