| 26 | |
| 27 | |
| 28 | static void Base58CheckEncode(benchmark::Bench& bench) |
| 29 | { |
| 30 | static const std::array<unsigned char, 32> buff = { |
| 31 | { |
| 32 | 17, 79, 8, 99, 150, 189, 208, 162, 22, 23, 203, 163, 36, 58, 147, |
| 33 | 227, 139, 2, 215, 100, 91, 38, 11, 141, 253, 40, 117, 21, 16, 90, |
| 34 | 200, 24 |
| 35 | } |
| 36 | }; |
| 37 | bench.batch(buff.size()).unit("byte").run([&] { |
| 38 | EncodeBase58Check(buff); |
| 39 | }); |
| 40 | } |
| 41 | |
| 42 | |
| 43 | static void Base58Decode(benchmark::Bench& bench) |
nothing calls this directly
no test coverage detected