Giter VIP home page Giter VIP logo

bip-schnorr's People

Contributors

arik-so avatar askucher avatar bsnowden3 avatar dependabot[bot] avatar guggero avatar hbakhtiyor avatar metalicjames avatar roccomuso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bip-schnorr's Issues

Schnorr and MuSign multi sig m out of n signatures?

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

Schnorr Blinding

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.

Improve performance by using bcoin-org/bcrypto

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

public key is not 32 bytes

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.

schnorr.muSigNonInteractive is not a function

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

Signature aggregation doesn't work reliably

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...

Recommended way to derive 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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.