guggero / bip-schnorr Goto Github PK
View Code? Open in Web Editor NEWPure JavaScript implementation of BIP340 Schnorr Signatures for secp256k1
License: MIT License
Pure JavaScript implementation of BIP340 Schnorr Signatures for secp256k1
License: MIT License
Hi! Awesome work! I was wondering how do you get a multsig of m out of n, let's suppose, m is 2 and n is 3. So, I am interested to generate a multsig of 2 of 3 ? Any hints or any example that could help me out to understand how to do a 2 out of 3 multsig ? Thanks
Line 32 in b6479ec
To simplify, you have if (auxRand is present) { use auxRand } else { deterministicGetK0() }
Specification https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki#default-signing says use auxRand
should always be used. deterministicGetK0
is some weird workaround that should not be present. Also it reduces security.
Hi, great work on this implementation of bip-schnorr. I was wondering if there is any plans to add Schnorr Blinding to this implementation or if you knew of any other libraries that does the same job and would work nicely with this library.
Thanks.
Hey, have you considered using https://github.com/bcoin-org/bcrypto to replace the functions in https://github.com/guggero/bip-schnorr/blob/master/src/schnorr.js? I would have to check if it is 100% compatible with the way BIP340 is implemented here but if it is you could gain a massive performance boost through it, especially for verification.
Code
const bench = require("micro-bmark");
const { schnorr: bcrypto } = require("bcrypto");
const BIP340 = require("bip-schnorr");
const { run, mark } = bench; // or bench.mark
const hash = Buffer.from("690a91fc0a7a49bbc5afe9516c1831ca8845f281ef2e414f7dfeb71b5e91a902", "hex");
const privateKey = Buffer.from("9aab9a93dace8454efd433a09bbf096d086926d2296a029b2bd545410d98ac0b", "hex");
const publicKey = Buffer.from("8178586544c1e6201123cee2ffb872ee368a45a79319511b7a2a5fb8143f9eb8", "hex");
const signature = Buffer.from(
"0e0fba175b6bffe5dc2e62253a1e1d729e87a67eb56989c9c5e13eb5e9c682c1aad5ed4c3920ded1206fabe03a84bd33ae0b2119caa84c4ed769341b15ad60a4",
"hex",
);
run(async () => {
await mark("bcrypto#sign", () => {
bcrypto.sign(hash, privateKey);
});
await mark("bcrypto#verify", () => {
bcrypto.verify(hash, signature, publicKey);
});
await mark("BIP340#sign", () => {
BIP340.sign(privateKey.toString("hex"), hash);
});
await mark("BIP340#verify", () => {
BIP340.verify(publicKey, hash, signature);
});
bench.logMem();
bench.getTime();
});
Result
bcrypto#sign x 98 ops/sec @ 10ms/op
bcrypto#verify x 11,605 ops/sec @ 86μs/op
BIP340#sign x 33 ops/sec @ 29ms/op
BIP340#verify x 37 ops/sec @ 26ms/op
in check.js there is a line
checkBuffer('pubKey', pubKey, 32);
but public key is not of 32 bytes, must be 33 bytes (with leading byte 02 or 03) or 64 bytes. isn't it?
in the example code, better to get public key from private key directly, and output as hex.
after a while, I check the specification, https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki
it does indeed says public key is 32 bytes, then I just remove the leading byte, and verification is right.
Would it be possible to get a combined private key given all private keys?
node test/schnorr.benchmark.js
node v14.4.0
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
TypeError: schnorr.muSigNonInteractive is not a function
at Benchmark. (/Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:79:30)
at Benchmark.eval [as compiled] (eval at createCompiled (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1725:16), :5:145)
at clock (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1658:29)
at cycle (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2007:49)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2114:13)
at execute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:860:74)
at invoke (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:970:20)
at compute (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:1966:7)
at Benchmark.run (/Users/andreystehno/Projects/bip-schnorr/node_modules/benchmark/benchmark.js:2119:11)
at /Users/andreystehno/Projects/bip-schnorr/test/schnorr.benchmark.js:189:6
Aggregate Signatures MuSig non-interactive (batch size: 64) x 9,653 ops/sec ±3.56% (82 runs sampled) Infinity us/op 0 sig/s
Apparently the signature aggregation only works some times. The example works but some of the test cases don't, after passing the correct private keys instead of public keys...
Resolves my issues from #29 (comment) but wondering one last bit. I currently use https://github.com/bcoin-org/bcrypto/blob/master/lib/js/schnorr.js#L251-L261 to derive public keys but in the aforementioned mentioned issue you mentioned that the issue most likely is that they don't support x-only public keys which is most likely the cause of failing tests.
What would be the recommended way to generate a private key and public key with this library that are compatible with all actions?
Thanks for releasing the code.
https://github.com/guggero/bip-schnorr/blob/master/README.md#schnorr
I ran the example code in the Readme, but the following error occurred.
"The signature verification failed: Error: pubKey must be 32 bytes long"
How can I get rid of this error?
Why .sign
accepts a BigInteger privateKey instead of a Buffer?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.