Lőrinc
|
c77e3107b8
|
refactor: rename leftover WriteBlockBench
The benchmark was referencing the old name of the method
|
2025-04-06 12:42:00 +02:00 |
|
Lőrinc
|
223081ece6
|
scripted-diff: rename block and undo functions for consistency
Co-authored-by: Ryan Ofsky <ryan@ofsky.org>
Co-authored-by: Hodlinator <172445034+hodlinator@users.noreply.github.com>
-BEGIN VERIFY SCRIPT-
grep -r -wE 'WriteBlock|ReadRawBlock|ReadBlock|WriteBlockUndo|ReadBlockUndo' $(git ls-files src/ ':!src/leveldb') && \
echo "Error: One or more target names already exist!" && exit 1
sed -i \
-e 's/\bSaveBlockToDisk/WriteBlock/g' \
-e 's/\bReadRawBlockFromDisk/ReadRawBlock/g' \
-e 's/\bReadBlockFromDisk/ReadBlock/g' \
-e 's/\bWriteUndoDataForBlock/WriteBlockUndo/g' \
-e 's/\bUndoReadFromDisk/ReadBlockUndo/g' \
$(git ls-files src/ ':!src/leveldb')
-END VERIFY SCRIPT-
|
2025-01-09 15:17:02 +01:00 |
|
Lőrinc
|
86b85bb11f
|
bench: add SaveBlockBench
|
2025-01-09 12:54:58 +01:00 |
|
Lőrinc
|
34f9a0157a
|
refactor,bench: rename bench/readblock.cpp to bench/readwriteblock.cpp
Done in separate commit to simplify review.
Also renames benchmarks, since they're not strictly tests.
Co-authored-by: Hodlinator <172445034+hodlinator@users.noreply.github.com>
|
2025-01-09 12:48:46 +01:00 |
|