Pieter Wuille
ddc184d999
random: get rid of GetRand by inlining
2024-07-01 12:39:53 -04:00
Sebastian Falbesoner
7d92b1430a
refactor: use Span for SipHash::Write
...
Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
2023-07-17 13:27:46 +02:00
Pieter Wuille
59e6828bb5
Add deterministic mode to CCoinsViewCache
2023-02-02 09:00:15 -05:00
Hennadii Stepanov
306ccd4927
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
- 2021: f47dda2c58b5d8d623e0e7ff4e74bc352dfa83d7
- 2020: fa0074e2d82928016a43ca408717154a1c70a4db
- 2019: aaaaad6ac95b402fe18d019d67897ced6b316ee0
2022-12-24 23:49:50 +00:00
fanquake
07f2c25d04
refactor: add most of src/util to iwyu
...
These files change infrequently, and not much header shuffling is required.
We don't add everything in src/util/ yet, because IWYU makes some
dubious suggestions, which I'm going to follow up with upstream.
2022-07-08 11:06:01 +01:00
pasta
ab1ea29ba1
refactor: make GetRand a template, remove GetRandInt
2022-04-22 09:04:39 -05:00
Andrew Chow
210b693db6
Add generic SaltedSipHasher
...
SaltedSipHasher is a generic hasher that can be used with most things we
would hash in an unordered container.
2020-11-10 14:33:37 -05:00
Andrew Chow
95e61c1cf2
Move Hashers to util/hasher.{cpp/h}
...
Move the hashers that we use for hash tables to a common place.
Moved hashers:
- SaltedTxidHasher
- SaltedOutpointHasher
- FilterHeaderHasher
- SignatureCacheHasher
- BlockHasher
2020-11-10 14:33:37 -05:00