This PR is a continuation of #23962 and it:
- gets rid of two static casts,
- addresses #23962 (comment),
- is useful for #25972, see the failed ARM and multiprocess CI jobs.
This PR is a continuation of #23962 and it:
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
See the guideline for information on the review process.
Type | Reviewers |
---|---|
ACK | MarcoFalke, glozow |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Not sure. The other types are 64 bit, so this will overflow eventually
Are you still working on this?
Since the recent push, the totalSizeWithAncestors
is int64_t
.
This change gets rid of `static_cast`s and compiler warnings.
154@@ -155,12 +155,12 @@ void CTxMemPool::UpdateTransactionsFromBlock(const std::vector<uint256>& vHashes
155 }
156
157 util::Result<CTxMemPool::setEntries> CTxMemPool::CalculateAncestorsAndCheckLimits(
158- size_t entry_size,
159+ int32_t entry_size,
lgtm ACK 92de74ef181b42d774bc6b12329bc0c27caf0081 🥔
Signature:
0untrusted comment: signature from minisign secret key on empty file; verify via: minisign -Vm "${path_to_any_empty_file}" -P RWTRmVTMeKV5noAMqVlsMugDDCyyTSbA3Re5AkUrhvLVln0tSaFWglOw -x "${path_to_this_whole_four_line_signature_blob}"
1RUTRmVTMeKV5npGrKx1nqXCw5zeVHdtdYURB/KlyA/LMFgpNCs+SkW9a8N95d+U4AP1RJMi+krxU1A3Yux4bpwZNLvVBKy0wLgM=
2trusted comment: lgtm ACK 92de74ef181b42d774bc6b12329bc0c27caf0081 🥔
30ZbMecPPNsqm48/rdeMDLieCAN7U9sumAkW0RxVcIcITZiQOe2nPM1mEeI1s9L8p25tLucM8vrLa+nu2sfmGBg==
hebasto
DrahtBot
maflcko
glozow
Labels
Refactoring