MCPcopy Create free account
hub / github.com/brichard19/BitCrack / getCompressionString

Function getCompressionString

KeyFinder/main.cpp:296–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296static std::string getCompressionString(int mode)
297{
298 switch(mode) {
299 case PointCompressionType::BOTH:
300 return "both";
301 case PointCompressionType::UNCOMPRESSED:
302 return "uncompressed";
303 case PointCompressionType::COMPRESSED:
304 return "compressed";
305 }
306
307 throw std::string("Invalid compression setting '" + util::format(mode) + "'");
308}
309
310void writeCheckpoint(secp256k1::uint256 nextKey)
311{

Callers 2

writeCheckpointFunction · 0.85
runFunction · 0.85

Calls 1

formatFunction · 0.85

Tested by

no test coverage detected