Hennadii Stepanov
bdb8eadcdc
refactor: Fix includes in crypto directory
...
IWYU issue #1763 appears to be a corner case, so it has been addressed
using a local pragma rather than a global mapping.
2025-09-09 11:25:55 +01:00
MarcoFalke
fa942332b4
scripted-diff: Bump copyright headers after std::span changes
...
Historically, the headers have been bumped some time after a file has
been touched. Do it now to avoid having to touch them again in the
future for that reason.
-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended 's;( 20[0-2][0-9])(-20[0-2][0-9])? The Bitcoin Core developers;\1-present The Bitcoin Core developers;g' $( git show --pretty="" --name-only HEAD~1 )
-END VERIFY SCRIPT-
2025-03-12 19:46:54 +01:00
MarcoFalke
fade0b5e5e
scripted-diff: Use std::span over Span
...
-BEGIN VERIFY SCRIPT-
ren() { sed -i "s!\<$1\>!$2!g" $( git grep -l "$1" -- "./src" ":(exclude)src/span.h" ":(exclude)src/leveldb/db/log_test.cc" ) ; }
ren Span std::span
ren AsBytes std::as_bytes
ren AsWritableBytes std::as_writable_bytes
sed -i 's!SpanPopBack(Span!SpanPopBack(std::span!g' ./src/span.h
-END VERIFY SCRIPT-
2025-03-12 19:45:37 +01:00
Fabian Jahr
6044628543
crypto, hash: replace custom rotl32 with std::rotl
2024-01-05 17:12:38 +01:00
Sebastian Falbesoner
7d92b1430a
refactor: use Span for SipHash::Write
...
Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
2023-07-17 13:27:46 +02:00
Pasta
f2fc03ec85
refactor: use braced init for integer constants instead of c style casts
2023-01-03 19:31:29 -06:00
MarcoFalke
fa0074e2d8
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
2020-12-31 09:45:41 +01:00
Pieter Wuille
812037cb80
Change CSipHasher's count variable to uint8_t
2020-09-10 09:04:53 -07:00
Jim Posen
4fb789e9b2
Extract CSipHasher to it's own file in crypto/ directory.
...
This is a move-only commit with the exception of changes to includes.
2018-11-05 09:25:15 -08:00