MCPcopy Create free account
hub / github.com/ElementsProject/elements / Base58Decode

Function Base58Decode

src/bench/base58.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42
43static void Base58Decode(benchmark::Bench& bench)
44{
45 const char* addr = "17VZNX1SN5NtKa8UQFxwQbFeFc3iqRYhem";
46 std::vector<unsigned char> vch;
47 bench.batch(strlen(addr)).unit("byte").run([&] {
48 (void) DecodeBase58(addr, vch, 64);
49 });
50}
51
52
53BENCHMARK(Base58Encode);

Callers

nothing calls this directly

Calls 3

DecodeBase58Function · 0.85
runMethod · 0.45
batchMethod · 0.45

Tested by

no test coverage detected