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
404c530 key: use secp256k1_schnorrsig_sign32 over deprecated secp256k1_schnorrsig_sign (fanquake)
ee30bf7 build: remove some no-longer-needed var unexporting from configure (fanquake)
2656629 build: remove --enable-experimental from libsecp256k1 configure (fanquake)
d960d4f build: fix MSVC build after subtree update (dhruv)
afb7a6f Squashed 'src/secp256k1/' changes from 0559fc6e41..8746600eec (fanquake)
Pull request description:
The motivation for this bump is some small build cleanups, including [dropping the `--enable-experimental`](bitcoin-core/secp256k1@80cf4ee) flag from the libsecp configure invocation, as well as some [now-redundant](bitcoin-core/secp256k1#1090) `pkg-config` variable exporting from our own configure. We also get the benefit of a slightly more efficient libsecp configure due to bitcoin-core/secp256k1#1088.
This also includes a change in our code to migrate from using the [now deprecated](bitcoin-core/secp256k1@99e6568) `secp256k1_schnorrsig_sign` to `secp256k1_schnorrsig_sign32`.
Guix Build (on x86_64):
```bash
b9f6ad90c75f7edd7c4444c6c3401d8b6ab29a8da22ae22ddaedd94688227b5d guix-build-404c53062bb8/output/aarch64-linux-gnu/SHA256SUMS.part
250d47ae299d8385d5590518fa2adaabde76e2566fd27e12bf36b62663d13e13 guix-build-404c53062bb8/output/aarch64-linux-gnu/bitcoin-404c53062bb8-aarch64-linux-gnu-debug.tar.gz
48d610dc6f5169f925f782571dac2f082695f89008beadad4adef4c1b583a612 guix-build-404c53062bb8/output/aarch64-linux-gnu/bitcoin-404c53062bb8-aarch64-linux-gnu.tar.gz
8f04ee26e4079719e3935bd0e4287cc11a2a16875bf01e2a63d67492a1fa5367 guix-build-404c53062bb8/output/arm-linux-gnueabihf/SHA256SUMS.part
7d7d7fcfb032bda92e53abd8d608257f0ef17b1e3e52a1414260b896786fb2dc guix-build-404c53062bb8/output/arm-linux-gnueabihf/bitcoin-404c53062bb8-arm-linux-gnueabihf-debug.tar.gz
30bae2ff3d044f4e39f992a68f6b296b7be2aea350bca4a0415c739a32c20bd9 guix-build-404c53062bb8/output/arm-linux-gnueabihf/bitcoin-404c53062bb8-arm-linux-gnueabihf.tar.gz
5f550fb0b950250eeffce3480ec6403530b0880570a5860ef6c32a3e92eac92f guix-build-404c53062bb8/output/arm64-apple-darwin/SHA256SUMS.part
c10664d13aeec8c860bf72be833c738973ae18e4d28cdf08b2f9bee960ebff1d guix-build-404c53062bb8/output/arm64-apple-darwin/bitcoin-404c53062bb8-arm64-apple-darwin-unsigned.dmg
becab75b11cf4ca6f559f8eef835f3574629f6eb932ac716ed4f8c044a85831f guix-build-404c53062bb8/output/arm64-apple-darwin/bitcoin-404c53062bb8-arm64-apple-darwin-unsigned.tar.gz
bc86433652fe3552f6a13088191364ae7514c9fe3a244da86a6db096bb4922fc guix-build-404c53062bb8/output/arm64-apple-darwin/bitcoin-404c53062bb8-arm64-apple-darwin.tar.gz
1f585cb9a1356343df4b2726ecfe2598c9903304afb047c047c2cef318555dd3 guix-build-404c53062bb8/output/dist-archive/bitcoin-404c53062bb8.tar.gz
9ede534ba2c6cecb550473eead195627327e826ebb0118e23d60ab482d40e241 guix-build-404c53062bb8/output/powerpc64-linux-gnu/SHA256SUMS.part
77ddb7d7d639b1dd4508468a8ef27e45b35c8b2f8624584a70e6b64798a4ea7a guix-build-404c53062bb8/output/powerpc64-linux-gnu/bitcoin-404c53062bb8-powerpc64-linux-gnu-debug.tar.gz
36178c1f1c12942ff05275daa3570f8b45419ee8d9f391d750afb405219986f0 guix-build-404c53062bb8/output/powerpc64-linux-gnu/bitcoin-404c53062bb8-powerpc64-linux-gnu.tar.gz
8a15a4da7a9a5e00c49d9aeedf3c6fc666c0d230be1369eac7caf4571d5905e0 guix-build-404c53062bb8/output/powerpc64le-linux-gnu/SHA256SUMS.part
400c58113f2d07c87e03c8528b292c6aca808a2bccae4b041cad3a26a05b6aad guix-build-404c53062bb8/output/powerpc64le-linux-gnu/bitcoin-404c53062bb8-powerpc64le-linux-gnu-debug.tar.gz
3b9f9d8614ac3a27416e53354b2b0a64d364f91493e9d0f41583a6f492546824 guix-build-404c53062bb8/output/powerpc64le-linux-gnu/bitcoin-404c53062bb8-powerpc64le-linux-gnu.tar.gz
98506b23ee08ad8af958f816da2e4518d661e88d5c6308de1f5e3b2fc787b86c guix-build-404c53062bb8/output/riscv64-linux-gnu/SHA256SUMS.part
c701a7b77cea4fdc2588b511f1b2c71b89c83bfba19fdb2ac113a5a4b14ac392 guix-build-404c53062bb8/output/riscv64-linux-gnu/bitcoin-404c53062bb8-riscv64-linux-gnu-debug.tar.gz
34d58e6392cd58b3c76e30cd8600c0dbefba7e9c6d5df78c3ef23e81c4e4d26a guix-build-404c53062bb8/output/riscv64-linux-gnu/bitcoin-404c53062bb8-riscv64-linux-gnu.tar.gz
92fa30e9c6d81dd1e1514b65d3e1abe68ded897237cd99f66aa760d445109c04 guix-build-404c53062bb8/output/x86_64-apple-darwin/SHA256SUMS.part
bee180b02f178ae9980ef159f65913a71cbd037c4aff5f2906af5f174a677da3 guix-build-404c53062bb8/output/x86_64-apple-darwin/bitcoin-404c53062bb8-x86_64-apple-darwin-unsigned.dmg
ad7d18d779ab7a7944817d1f368d0a6bdd174bf1211b0f90180c8ccf04ec4062 guix-build-404c53062bb8/output/x86_64-apple-darwin/bitcoin-404c53062bb8-x86_64-apple-darwin-unsigned.tar.gz
7489d1d5d48ad95cf58bb11b5fdeccadac6fa758784fb498529fca2330abe069 guix-build-404c53062bb8/output/x86_64-apple-darwin/bitcoin-404c53062bb8-x86_64-apple-darwin.tar.gz
74660fb0ebce2a08b03980a57bffcad62e078dc967a74d2395660ff51c019640 guix-build-404c53062bb8/output/x86_64-linux-gnu/SHA256SUMS.part
cd377fa6b46276c2f8a32e199e6f9adf6aa67315688656709d6dc0744d54a837 guix-build-404c53062bb8/output/x86_64-linux-gnu/bitcoin-404c53062bb8-x86_64-linux-gnu-debug.tar.gz
919c521950369d8ad46db2d15b00abb488abfb080d157a41b2db429122a428ed guix-build-404c53062bb8/output/x86_64-linux-gnu/bitcoin-404c53062bb8-x86_64-linux-gnu.tar.gz
2debca995d432965a8786b6ff74aed42e9e2f1cb0fecbe2d9fc5b850c192fcff guix-build-404c53062bb8/output/x86_64-w64-mingw32/SHA256SUMS.part
e33169f684fb031ec18ed39812617d3eb263257f6c7564b8f4c974ad05fe672c guix-build-404c53062bb8/output/x86_64-w64-mingw32/bitcoin-404c53062bb8-win64-debug.zip
029d0a4180cb908d517fcf689dcf46d42fbf383e11dc609711617066ae039ab0 guix-build-404c53062bb8/output/x86_64-w64-mingw32/bitcoin-404c53062bb8-win64-setup-unsigned.exe
7e349c688cac66436562c4805f420b0536db5a3b3abf54d0e8c7752f59874a5c guix-build-404c53062bb8/output/x86_64-w64-mingw32/bitcoin-404c53062bb8-win64-unsigned.tar.gz
1bff98e82e95c93d6060227408502f5e2d8597d526b912cb6dc0a90ae3094a8f guix-build-404c53062bb8/output/x86_64-w64-mingw32/bitcoin-404c53062bb8-win64.zip
```
ACKs for top commit:
laanwj:
Code review ACK 404c530, I checked the changes to our tree thoroughly but didn't review all upstream secp256k1 changes in detail.
gruve-p:
ACK bitcoin/bitcoin@404c530
real-or-random:
utACK 404c530 I reviewed the diff to Core, I'm with updating to libsecp256k1 master, but I haven't verified that the libsecp256k1 tree here has been updated correctly
Tree-SHA512: e6a6db93ea60ed500df5065178784a915da94adfa7bd45fdbd7b19d701154987ff38c1df7f318119e6c2cb98e28e1ea2eb725bef93d4088403e14537ebffb032
name: "s390x (big-endian): Linux (Debian stable, QEMU)"
168
-
container:
169
-
dockerfile: ci/linux-debian.Dockerfile
170
-
cpu: 1
171
-
memory: 1G
172
+
<< : *LINUX_CONTAINER
172
173
env:
173
174
WRAPPER_CMD: qemu-s390x
174
175
SECP256K1_TEST_ITERS: 16
175
176
HOST: s390x-linux-gnu
176
177
WITH_VALGRIND: no
177
178
ECDH: yes
178
179
RECOVERY: yes
179
-
EXPERIMENTAL: yes
180
180
SCHNORRSIG: yes
181
181
CTIMETEST: no
182
182
<< : *MERGE_BASE
@@ -188,42 +188,34 @@ task:
188
188
189
189
task:
190
190
name: "ARM32: Linux (Debian stable, QEMU)"
191
-
container:
192
-
dockerfile: ci/linux-debian.Dockerfile
193
-
cpu: 1
194
-
memory: 1G
191
+
<< : *LINUX_CONTAINER
195
192
env:
196
193
WRAPPER_CMD: qemu-arm
197
194
SECP256K1_TEST_ITERS: 16
198
195
HOST: arm-linux-gnueabihf
199
196
WITH_VALGRIND: no
200
197
ECDH: yes
201
198
RECOVERY: yes
202
-
EXPERIMENTAL: yes
203
199
SCHNORRSIG: yes
204
200
CTIMETEST: no
205
201
matrix:
206
202
- env: {}
207
-
- env: {ASM: arm}
203
+
- env: {EXPERIMENTAL: yes, ASM: arm}
208
204
<< : *MERGE_BASE
209
205
test_script:
210
206
- ./ci/cirrus.sh
211
207
<< : *CAT_LOGS
212
208
213
209
task:
214
210
name: "ARM64: Linux (Debian stable, QEMU)"
215
-
container:
216
-
dockerfile: ci/linux-debian.Dockerfile
217
-
cpu: 1
218
-
memory: 1G
211
+
<< : *LINUX_CONTAINER
219
212
env:
220
213
WRAPPER_CMD: qemu-aarch64
221
214
SECP256K1_TEST_ITERS: 16
222
215
HOST: aarch64-linux-gnu
223
216
WITH_VALGRIND: no
224
217
ECDH: yes
225
218
RECOVERY: yes
226
-
EXPERIMENTAL: yes
227
219
SCHNORRSIG: yes
228
220
CTIMETEST: no
229
221
<< : *MERGE_BASE
@@ -233,18 +225,14 @@ task:
233
225
234
226
task:
235
227
name: "ppc64le: Linux (Debian stable, QEMU)"
236
-
container:
237
-
dockerfile: ci/linux-debian.Dockerfile
238
-
cpu: 1
239
-
memory: 1G
228
+
<< : *LINUX_CONTAINER
240
229
env:
241
230
WRAPPER_CMD: qemu-ppc64le
242
231
SECP256K1_TEST_ITERS: 16
243
232
HOST: powerpc64le-linux-gnu
244
233
WITH_VALGRIND: no
245
234
ECDH: yes
246
235
RECOVERY: yes
247
-
EXPERIMENTAL: yes
248
236
SCHNORRSIG: yes
249
237
CTIMETEST: no
250
238
<< : *MERGE_BASE
@@ -254,18 +242,14 @@ task:
254
242
255
243
task:
256
244
name: "x86_64 (mingw32-w64): Windows (Debian stable, Wine)"
257
-
container:
258
-
dockerfile: ci/linux-debian.Dockerfile
259
-
cpu: 1
260
-
memory: 1G
245
+
<< : *LINUX_CONTAINER
261
246
env:
262
247
WRAPPER_CMD: wine64-stable
263
248
SECP256K1_TEST_ITERS: 16
264
249
HOST: x86_64-w64-mingw32
265
250
WITH_VALGRIND: no
266
251
ECDH: yes
267
252
RECOVERY: yes
268
-
EXPERIMENTAL: yes
269
253
SCHNORRSIG: yes
270
254
CTIMETEST: no
271
255
<< : *MERGE_BASE
@@ -275,23 +259,23 @@ task:
275
259
276
260
# Sanitizers
277
261
task:
278
-
container:
279
-
dockerfile: ci/linux-debian.Dockerfile
280
-
cpu: 1
281
-
memory: 2G
262
+
<< : *LINUX_CONTAINER
282
263
env:
283
264
ECDH: yes
284
265
RECOVERY: yes
285
-
EXPERIMENTAL: yes
286
266
SCHNORRSIG: yes
287
267
CTIMETEST: no
288
268
matrix:
289
269
- name: "Valgrind (memcheck)"
270
+
container:
271
+
cpu: 2
290
272
env:
291
273
# The `--error-exitcode` is required to make the test fail if valgrind found errors, otherwise it'll return 0 (https://www.valgrind.org/docs/manual/manual-core.html)
0 commit comments