aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorMartin Leitner-Ankerl <martin.ankerl@gmail.com>2023-11-19 18:43:15 +0100
committerMartin Leitner-Ankerl <martin.ankerl@gmail.com>2023-11-20 17:10:34 +0100
commitd5b4c0b69e543de51bb37d602d488ee0949ba185 (patch)
tree115cc3fa3b36931a05c18f17407478fbec9b6b1a /src/validation.cpp
parentce881bf9fcb7c30bb1fafd6ce38844f4f829452a (diff)
pool: change memusage_test to use int64_t, add allocation check
If alignment of the PoolAllocator would be insufficient, then the test would fail. This also catches the issue with ARM 32bit, where int64_t is aligned to 8 bytes but void* is aligned to 4 bytes. The test adds a check to ensure the pool has allocated a minimum number of chunks
Diffstat (limited to 'src/validation.cpp')
0 files changed, 0 insertions, 0 deletions