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

Use the "common" subfolder instead of libeoskeygen repository.

This commit is contained in:
Henrik Hautakoski 2020-04-03 16:53:32 +02:00
parent 654a53698f
commit dd9dd484e3
6 changed files with 34 additions and 83 deletions

View file

@ -22,7 +22,7 @@
* SOFTWARE.
*/
#include <chrono>
#include <eoskeygen/crypto/ec.h>
#include <libeosio/ec.h>
#include "benchmark.h"
using std::chrono::steady_clock;
@ -43,8 +43,8 @@ void benchmark(size_t num_keys, struct benchmark_result* res) {
start = steady_clock::now();
for(size_t i = 0; i < num_keys; i++) {
struct ec_keypair k;
ec_generate_key(&k);
struct libeosio::ec_keypair k;
libeosio::ec_generate_key(&k);
}
res->sec = duration<float>(steady_clock::now() - start).count();