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

Method GetBlockStr

secp256k1/Int.cpp:957–967  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

955// ------------------------------------------------
956
957char* Int::GetBlockStr() {
958 char *tmp = (char*) calloc(1,256);
959 char bStr[256];
960 tmp[0] = 0;
961 for (int i = NB32BLOCK-3; i>=0 ; i--) {
962 sprintf(bStr, "%08X", bits[i]);
963 strcat(tmp, bStr);
964 if(i!=0) strcat(tmp, " ");
965 }
966 return tmp;
967}
968
969// ------------------------------------------------
970

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected