From 9c315e92d76c5c2771c9936ced8617c4f9b3f7f9 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Fri, 5 Jun 2026 02:23:56 -0400 Subject: [PATCH] Disable asserts. --- include/bitcoin/database/tables/caches/ecdsa.hpp | 8 ++++---- include/bitcoin/database/tables/caches/multisig.hpp | 12 ++++++------ include/bitcoin/database/tables/caches/schnorr.hpp | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/include/bitcoin/database/tables/caches/ecdsa.hpp b/include/bitcoin/database/tables/caches/ecdsa.hpp index 6624700d..e21f45ea 100644 --- a/include/bitcoin/database/tables/caches/ecdsa.hpp +++ b/include/bitcoin/database/tables/caches/ecdsa.hpp @@ -72,10 +72,10 @@ struct ecdsa }; }; -static_assert(offsetof(system::ecdsa::triple, digest) == 0); -static_assert(offsetof(system::ecdsa::triple, point) == 32); -static_assert(offsetof(system::ecdsa::triple, signature) == 65); -static_assert(offsetof(system::ecdsa::triple, identifier) == 129); +////static_assert(offsetof(system::ecdsa::triple, digest) == 0); +////static_assert(offsetof(system::ecdsa::triple, point) == 32); +////static_assert(offsetof(system::ecdsa::triple, signature) == 65); +////static_assert(offsetof(system::ecdsa::triple, identifier) == 129); static_assert(sizeof(system::ecdsa::triple) == schema::ecdsa::minrow); } // namespace table diff --git a/include/bitcoin/database/tables/caches/multisig.hpp b/include/bitcoin/database/tables/caches/multisig.hpp index 0896d7ad..c709b66a 100644 --- a/include/bitcoin/database/tables/caches/multisig.hpp +++ b/include/bitcoin/database/tables/caches/multisig.hpp @@ -80,12 +80,12 @@ struct multisig }; }; -static_assert(offsetof(system::multisig::triple, digest) == 0); -static_assert(offsetof(system::multisig::triple, point) == 32); -static_assert(offsetof(system::multisig::triple, signature) == 65); -static_assert(offsetof(system::multisig::triple, pair) == 129); -static_assert(offsetof(system::multisig::triple, set) == 130); -static_assert(offsetof(system::multisig::triple, identifier) == 132); +////static_assert(offsetof(system::multisig::triple, digest) == 0); +////static_assert(offsetof(system::multisig::triple, point) == 32); +////static_assert(offsetof(system::multisig::triple, signature) == 65); +////static_assert(offsetof(system::multisig::triple, pair) == 129); +////static_assert(offsetof(system::multisig::triple, set) == 130); +////static_assert(offsetof(system::multisig::triple, identifier) == 132); static_assert(sizeof(system::multisig::triple) == schema::multisig::minrow); } // namespace table diff --git a/include/bitcoin/database/tables/caches/schnorr.hpp b/include/bitcoin/database/tables/caches/schnorr.hpp index 11f9d379..022fffeb 100644 --- a/include/bitcoin/database/tables/caches/schnorr.hpp +++ b/include/bitcoin/database/tables/caches/schnorr.hpp @@ -72,10 +72,10 @@ struct schnorr }; }; -static_assert(offsetof(system::schnorr::triple, digest) == 0); -static_assert(offsetof(system::schnorr::triple, point) == 32); -static_assert(offsetof(system::schnorr::triple, signature) == 64); -static_assert(offsetof(system::schnorr::triple, identifier) == 128); +////static_assert(offsetof(system::schnorr::triple, digest) == 0); +////static_assert(offsetof(system::schnorr::triple, point) == 32); +////static_assert(offsetof(system::schnorr::triple, signature) == 64); +////static_assert(offsetof(system::schnorr::triple, identifier) == 128); static_assert(sizeof(system::schnorr::triple) == schema::schnorr::minrow); } // namespace table