mimblewimble / secp256k1-zkp

Fork of secp256k1-zkp for the Grin/MimbleWimble project
MIT License
32 stars 42 forks source link

[DNM] Reintroduce bench_aggsig.c #65

Open quentinlesceller opened 3 years ago

quentinlesceller commented 3 years ago

Reintroduce bench_aggsig.c declared in https://github.com/mimblewimble/secp256k1-zkp/blob/master/src/modules/aggsig/Makefile.am.include.

Original file here https://github.com/mimblewimble/secp256k1-zkp/blob/567a4754c20c8ccb075f662c3263e4861e1092bd/src/bench_aggsig.c I've set secp256k1_scratch_space_create(data.ctx, 1024 * 1024 * 1024);

The file was deleted during the replacement testnet3 -> master branch at c9b3446d30a62e67943beba4e337aef3eb2ee7b0.

Currently the built bench_aggsig segfault on my machine.

azuchi commented 2 years ago

Why is this not merged?

When using aggsig module, make will fail because a non-existent src/bench_aggsig.c is defined in src/modules/aggsig/Makefile.am.include. If do not want to add this file, need to modify the Makefile.