This is already done in field_5x52_impl.h.
Apply Checks only in VERIFY mode. #1247
pull roconnor-blockstream wants to merge 1 commits into bitcoin-core:master from roconnor-blockstream:patch-5 changing 1 files +4 −0-
roconnor-blockstream commented at 2:07 AM on March 23, 2023: contributor
-
Apply Checks only in VERIFY mode. 4ebd82852d
-
jonasnick commented at 8:39 AM on March 23, 2023: contributor
If the goal is to make the two files consistent, wouldn't it be better to remove the
ifdeffromfield_5x52_impl.h(EDIT: because we generally don't wrap simpleVERIFY_CHECKs inVERIFYifdefs)? -
roconnor-blockstream commented at 12:29 PM on March 23, 2023: contributor
We generally do wrap non-trivial
VERIFY_CHECKs, particularly when they call functions. -
jonasnick commented at 3:58 PM on March 23, 2023: contributor
You're right.
ACK 4ebd82852d3ad00ab579b26173575a4f4642ea76
-
roconnor-blockstream commented at 6:21 PM on March 23, 2023: contributor
I do admit, with so many exceptions, the whole idea of enabling
VERIY_CHECKs in release builds feels of questionable value. -
sipa commented at 1:21 PM on March 24, 2023: contributor
ACK 4ebd82852d3ad00ab579b26173575a4f4642ea76
- sipa merged this on Mar 24, 2023
- sipa closed this on Mar 24, 2023
- roconnor-blockstream deleted the branch on Mar 24, 2023
- roconnor-blockstream referenced this in commit 1a7dfb9299 on Mar 24, 2023
- roconnor-blockstream referenced this in commit 898381f87c on Mar 24, 2023
- sipa referenced this in commit e1552d578e on Apr 11, 2023
- sipa referenced this in commit c981671e9b on Apr 14, 2023
- apoelstra referenced this in commit 0849ab161c on Apr 28, 2023
- hebasto referenced this in commit 49c52ea2b1 on May 13, 2023
- RandyMcMillan referenced this in commit 3cc75121b3 on May 27, 2023
- vmta referenced this in commit e1120c94a1 on Jun 4, 2023
- vmta referenced this in commit 8f03457eed on Jul 1, 2023
- delta1 referenced this in commit 3f32c20932 on Aug 8, 2023
- delta1 referenced this in commit 31ac0c1081 on Aug 31, 2023
- janus referenced this in commit 05145db5ff on Sep 3, 2023
- backpacker69 referenced this in commit e66b1bd882 on Mar 5, 2024
- div72 referenced this in commit af627d47c3 on Apr 12, 2025
- str4d referenced this in commit f634fc6004 on Jun 4, 2025
- eth-ravenxcb54 referenced this in commit 0147d7ab43 on Sep 29, 2025
- Fabcien referenced this in commit 4f4541d514 on Apr 16, 2026
- Fabcien referenced this in commit f6b81615cd on Apr 16, 2026
Contributors