diff --git a/builds/msvc/properties/Release.props b/builds/msvc/properties/Release.props index 5c827fc38..05e34a281 100644 --- a/builds/msvc/properties/Release.props +++ b/builds/msvc/properties/Release.props @@ -8,7 +8,7 @@ <_PropertySheetDisplayName>Release Settings Release - false + diff --git a/include/bitcoin/database/query.hpp b/include/bitcoin/database/query.hpp index a1fbadf21..8e420d475 100644 --- a/include/bitcoin/database/query.hpp +++ b/include/bitcoin/database/query.hpp @@ -845,14 +845,14 @@ class query /// merkle /// ----------------------------------------------------------------------- - // merkle related utilities + /// merkle related utilities static hash_digest partial_subroot(hashes&& tree, size_t span) NOEXCEPT; static void merge_merkle(hashes& path, hashes&& leaves, size_t first, size_t lift) NOEXCEPT; static positions merkle_branch(size_t leaf, size_t leaves, bool compress=false) NOEXCEPT; - // merkle related configuration + /// merkle related configuration size_t interval_depth() const NOEXCEPT; size_t initialize_span() const NOEXCEPT; diff --git a/include/bitcoin/database/tables/caches/ecdsa.hpp b/include/bitcoin/database/tables/caches/ecdsa.hpp index e21f45eaa..f0c3ab450 100644 --- a/include/bitcoin/database/tables/caches/ecdsa.hpp +++ b/include/bitcoin/database/tables/caches/ecdsa.hpp @@ -72,10 +72,6 @@ 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(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 c709b66a9..2fe2c5455 100644 --- a/include/bitcoin/database/tables/caches/multisig.hpp +++ b/include/bitcoin/database/tables/caches/multisig.hpp @@ -80,12 +80,6 @@ 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(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 022fffeb5..3ec478bd5 100644 --- a/include/bitcoin/database/tables/caches/schnorr.hpp +++ b/include/bitcoin/database/tables/caches/schnorr.hpp @@ -72,10 +72,6 @@ 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(sizeof(system::schnorr::triple) == schema::schnorr::minrow); } // namespace table