mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 05:57:59 +01:00
Remove txmempool implicit-integer-sign-change sanitizer suppressions
This commit is contained in:
@@ -370,7 +370,7 @@ void CTxMemPoolEntry::UpdateDescendantState(int32_t modifySize, CAmount modifyFe
|
|||||||
nSizeWithDescendants += modifySize;
|
nSizeWithDescendants += modifySize;
|
||||||
assert(nSizeWithDescendants > 0);
|
assert(nSizeWithDescendants > 0);
|
||||||
nModFeesWithDescendants = SaturatingAdd(nModFeesWithDescendants, modifyFee);
|
nModFeesWithDescendants = SaturatingAdd(nModFeesWithDescendants, modifyFee);
|
||||||
nCountWithDescendants += modifyCount;
|
nCountWithDescendants += uint64_t(modifyCount);
|
||||||
assert(int64_t(nCountWithDescendants) > 0);
|
assert(int64_t(nCountWithDescendants) > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -379,7 +379,7 @@ void CTxMemPoolEntry::UpdateAncestorState(int32_t modifySize, CAmount modifyFee,
|
|||||||
nSizeWithAncestors += modifySize;
|
nSizeWithAncestors += modifySize;
|
||||||
assert(nSizeWithAncestors > 0);
|
assert(nSizeWithAncestors > 0);
|
||||||
nModFeesWithAncestors = SaturatingAdd(nModFeesWithAncestors, modifyFee);
|
nModFeesWithAncestors = SaturatingAdd(nModFeesWithAncestors, modifyFee);
|
||||||
nCountWithAncestors += modifyCount;
|
nCountWithAncestors += uint64_t(modifyCount);
|
||||||
assert(int64_t(nCountWithAncestors) > 0);
|
assert(int64_t(nCountWithAncestors) > 0);
|
||||||
nSigOpCostWithAncestors += modifySigOps;
|
nSigOpCostWithAncestors += modifySigOps;
|
||||||
assert(int(nSigOpCostWithAncestors) >= 0);
|
assert(int(nSigOpCostWithAncestors) >= 0);
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ implicit-integer-sign-change:prevector.h
|
|||||||
implicit-integer-sign-change:script/bitcoinconsensus.cpp
|
implicit-integer-sign-change:script/bitcoinconsensus.cpp
|
||||||
implicit-integer-sign-change:script/interpreter.cpp
|
implicit-integer-sign-change:script/interpreter.cpp
|
||||||
implicit-integer-sign-change:serialize.h
|
implicit-integer-sign-change:serialize.h
|
||||||
implicit-integer-sign-change:txmempool.cpp
|
|
||||||
implicit-signed-integer-truncation:crypto/
|
implicit-signed-integer-truncation:crypto/
|
||||||
implicit-unsigned-integer-truncation:crypto/
|
implicit-unsigned-integer-truncation:crypto/
|
||||||
shift-base:arith_uint256.cpp
|
shift-base:arith_uint256.cpp
|
||||||
|
|||||||
Reference in New Issue
Block a user