Results 90 issues of l0rinc

Split out of https://github.com/bitcoin/bitcoin/pull/32296#issuecomment-2813590511 since this needed more complicated production code changes. The changes ensure `cachedCoinsUsage` remains balanced throughout all coin operations and that the sanitizers will catch future violations....

UTXO Db and Indexes

To help with to debugging and traceability (in alignment with displaying other non-default args such as `Command-line arg: dbcache="10000"`) we can extend the LevelDB opening log with the used settings....

During the last Core Dev meeting, it was proposed to create a tracking PR aggregating the individual IBD optimizations - to illustrate how these changes contribute to the broader performance...

P2P
Block storage

### Summary We already hard‑code the AssumeUTXO height/UTXO-snapshot-hash/tx-count pairs (e.g. for mainnet we have heights **840,000** and **880,000**) in https://github.com/bitcoin/bitcoin/blob/master/src/kernel/chainparams.cpp#L170-L183. Currently, this commitment is enforced only when a node explicitly...

This change is part of [[IBD] - Tracking PR for speeding up Initial Block Download](https://github.com/bitcoin/bitcoin/pull/32043) ### Summary When the in-memory UTXO set is [flushed](https://github.com/bitcoin/bitcoin/blob/master/src/txdb.cpp#L130-L133) to LevelDB (after IBD or AssumeUTXO...

UTXO Db and Indexes
CI failed

This change is part of [[IBD] - Tracking PR for speeding up Initial Block Download](https://github.com/bitcoin/bitcoin/pull/32043) --- This PR is drafted until I remeasure everything after the recent merges and I...

This PR addresses a few leftover nits found while reviewing https://github.com/bitcoin/bitcoin/pull/30611#pullrequestreview-2809508852. This was also needed to validate its behavior properly, because currently there's no way to visualize how often (and...

Tests
Utils/log/libs

Running the test with an emulated big-endian system (via `docker run --platform linux/s390x -it ubuntu:24.10 /bin/bash`, as described in https://github.com/bitcoin/bitcoin/issues/31344#issuecomment-2493612110), I'm seeing mismatched byte orders in IP address representations. I've...

macOS
CI failed

Cherry-picking https://github.com/bitcoin-core/leveldb-subtree/commit/92ae82c78f225de84040c51e07fd0b4a61caed99 and revives https://github.com/google/leveldb/pull/613

Cherry-pick of https://github.com/bitcoin-core/leveldb-subtree/commit/d42e63d49d9df05b12cd00af4ffc5f2b3edf7e21