mirror of
https://github.com/janoside/btc-rpc-explorer.git
synced 2026-08-13 12:33:13 +02:00
21 lines
367 B
JavaScript
21 lines
367 B
JavaScript
const utils = require("../app/utils.js");
|
|
|
|
console.log("test");
|
|
|
|
global.activeBlockchain = "main";
|
|
|
|
|
|
|
|
(async () => {
|
|
const perfResults = {};
|
|
|
|
await utils.timePromise("abc", async () => {
|
|
const x = utils.estimatedSupply(4802177);
|
|
console.log("xxx: " + x);
|
|
|
|
}, perfResults);
|
|
|
|
console.log("perfResults: " + JSON.stringify(perfResults));
|
|
|
|
process.exit(0);
|
|
})();
|