Skip to content

Commit 72adba9

Browse files
committed
build: stop treating schnorrsig, extrakeys modules as experimental
1 parent 64b3497 commit 72adba9

File tree

3 files changed

+8
-26
lines changed

3 files changed

+8
-26
lines changed

.cirrus.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ task:
6767
<< : *LINUX_CONTAINER
6868
matrix: &ENV_MATRIX
6969
- env: {WIDEMUL: int64, RECOVERY: yes}
70-
- env: {WIDEMUL: int64, ECDH: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes}
70+
- env: {WIDEMUL: int64, ECDH: yes, SCHNORRSIG: yes}
7171
- env: {WIDEMUL: int128}
72-
- env: {WIDEMUL: int128, RECOVERY: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes}
73-
- env: {WIDEMUL: int128, ECDH: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes}
72+
- env: {WIDEMUL: int128, RECOVERY: yes, SCHNORRSIG: yes}
73+
- env: {WIDEMUL: int128, ECDH: yes, SCHNORRSIG: yes}
7474
- env: {WIDEMUL: int128, ASM: x86_64}
75-
- env: { RECOVERY: yes, EXPERIMENTAL: yes, SCHNORRSIG: yes}
75+
- env: { RECOVERY: yes, SCHNORRSIG: yes}
7676
- env: {BUILD: distcheck, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no}
7777
- env: {CPPFLAGS: -DDETERMINISTIC}
7878
- env: {CFLAGS: -O0, CTIMETEST: no}
@@ -95,7 +95,6 @@ task:
9595
HOST: i686-linux-gnu
9696
ECDH: yes
9797
RECOVERY: yes
98-
EXPERIMENTAL: yes
9998
SCHNORRSIG: yes
10099
matrix:
101100
- env:
@@ -178,7 +177,6 @@ task:
178177
WITH_VALGRIND: no
179178
ECDH: yes
180179
RECOVERY: yes
181-
EXPERIMENTAL: yes
182180
SCHNORRSIG: yes
183181
CTIMETEST: no
184182
<< : *MERGE_BASE
@@ -198,12 +196,11 @@ task:
198196
WITH_VALGRIND: no
199197
ECDH: yes
200198
RECOVERY: yes
201-
EXPERIMENTAL: yes
202199
SCHNORRSIG: yes
203200
CTIMETEST: no
204201
matrix:
205202
- env: {}
206-
- env: {ASM: arm}
203+
- env: {EXPERIMENTAL: yes, ASM: arm}
207204
<< : *MERGE_BASE
208205
test_script:
209206
- ./ci/cirrus.sh
@@ -219,7 +216,6 @@ task:
219216
WITH_VALGRIND: no
220217
ECDH: yes
221218
RECOVERY: yes
222-
EXPERIMENTAL: yes
223219
SCHNORRSIG: yes
224220
CTIMETEST: no
225221
<< : *MERGE_BASE
@@ -237,7 +233,6 @@ task:
237233
WITH_VALGRIND: no
238234
ECDH: yes
239235
RECOVERY: yes
240-
EXPERIMENTAL: yes
241236
SCHNORRSIG: yes
242237
CTIMETEST: no
243238
<< : *MERGE_BASE
@@ -255,7 +250,6 @@ task:
255250
WITH_VALGRIND: no
256251
ECDH: yes
257252
RECOVERY: yes
258-
EXPERIMENTAL: yes
259253
SCHNORRSIG: yes
260254
CTIMETEST: no
261255
<< : *MERGE_BASE
@@ -269,7 +263,6 @@ task:
269263
env:
270264
ECDH: yes
271265
RECOVERY: yes
272-
EXPERIMENTAL: yes
273266
SCHNORRSIG: yes
274267
CTIMETEST: no
275268
matrix:
@@ -317,7 +310,6 @@ task:
317310
CC: gcc
318311
MAKEFLAGS: -j4 CC=g++ CFLAGS=-fpermissive\ -g
319312
WERROR_CFLAGS:
320-
EXPERIMENTAL: yes
321313
ECDH: yes
322314
RECOVERY: yes
323315
SCHNORRSIG: yes

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ Features:
1717
* Suitable for embedded systems.
1818
* Optional module for public key recovery.
1919
* Optional module for ECDH key exchange.
20-
* Optional module for Schnorr signatures according to [BIP-340](https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki) (experimental).
21-
22-
Experimental features have not received enough scrutiny to satisfy the standard of quality of this library but are made available for testing and review by the community. The APIs of these features should not be considered stable.
20+
* Optional module for Schnorr signatures according to [BIP-340](https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki).
2321

2422
Implementation details
2523
----------------------

configure.ac

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,12 @@ AC_ARG_ENABLE(module_recovery,
155155
[enable_module_recovery=no])
156156

157157
AC_ARG_ENABLE(module_extrakeys,
158-
AS_HELP_STRING([--enable-module-extrakeys],[enable extrakeys module (experimental)]),
158+
AS_HELP_STRING([--enable-module-extrakeys],[enable extrakeys module]),
159159
[enable_module_extrakeys=$enableval],
160160
[enable_module_extrakeys=no])
161161

162162
AC_ARG_ENABLE(module_schnorrsig,
163-
AS_HELP_STRING([--enable-module-schnorrsig],[enable schnorrsig module (experimental)]),
163+
AS_HELP_STRING([--enable-module-schnorrsig],[enable schnorrsig module]),
164164
[enable_module_schnorrsig=$enableval],
165165
[enable_module_schnorrsig=no])
166166

@@ -373,16 +373,8 @@ if test x"$enable_experimental" = x"yes"; then
373373
AC_MSG_NOTICE([******])
374374
AC_MSG_NOTICE([WARNING: experimental build])
375375
AC_MSG_NOTICE([Experimental features do not have stable APIs or properties, and may not be safe for production use.])
376-
AC_MSG_NOTICE([Building extrakeys module: $enable_module_extrakeys])
377-
AC_MSG_NOTICE([Building schnorrsig module: $enable_module_schnorrsig])
378376
AC_MSG_NOTICE([******])
379377
else
380-
if test x"$enable_module_extrakeys" = x"yes"; then
381-
AC_MSG_ERROR([extrakeys module is experimental. Use --enable-experimental to allow.])
382-
fi
383-
if test x"$enable_module_schnorrsig" = x"yes"; then
384-
AC_MSG_ERROR([schnorrsig module is experimental. Use --enable-experimental to allow.])
385-
fi
386378
if test x"$set_asm" = x"arm"; then
387379
AC_MSG_ERROR([ARM assembly optimization is experimental. Use --enable-experimental to allow.])
388380
fi

0 commit comments

Comments
 (0)