1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-18 04:00:03 +02:00

Update from libeosio v0.1.7 to libantelope v0.2.0

This commit is contained in:
Henrik Hautakoski 2023-04-06 15:04:12 +02:00
parent d5da7d1491
commit 914205541a
17 changed files with 119 additions and 119 deletions

View file

@ -22,7 +22,7 @@
* SOFTWARE.
*/
#include <chrono>
#include <libeosio/ec.hpp>
#include <libantelope/ec.hpp>
#include "benchmark.hpp"
namespace eoskeygen {
@ -30,8 +30,8 @@ namespace eoskeygen {
std::chrono::duration<float> _run_benchmark(size_t num_keys) {
auto start = std::chrono::steady_clock::now();
for(size_t i = 0; i < num_keys; i++) {
struct libeosio::ec_keypair k;
libeosio::ec_generate_key(&k);
struct libantelope::ec_keypair k;
libantelope::ec_generate_key(&k);
}
return std::chrono::steady_clock::now() - start;
}