You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before this commit, gen_context.c both included libsecp256k1-config.h
and basic-config.h: The former only to obtain ECMULT_GEN_PREC_BITS
and the latter to obtain a basic working configuration to be able to
use the library.
This was inelegant and confusing: It meant that basic-config.h needs
to #undef all the macros defined in libsecp256k1-config.h. Moreover,
it meant that basic-config.h cannot define ECMULT_GEN_PREC_BITS,
essentially making this file specific for use in gen_context.c.
After this commit, gen_context.c does not include any configuration
file. Now, ECMULT_GEN_PREC_BITS is expected to be passed via the
command line and make will do this. Moreover, basic-config.h is not
necessary anymore for the modules used in gen_context.c because
79f1f7a made the preprocessor detect
all the relevant config options.
On the way, we remove an unused #define in basic-config.h.
0 commit comments