Fixes #31573
Reduce memory usage during chainstate initialization on low-memory systems.
- src/txdb.h
- Reduce the default
dbcache
value to 100 MiB.
- Reduce the default
- src/validation.h
- Add a function to adjust
dbcache
to 100 MiB if the system has less than 4GB of RAM.
- Add a function to adjust
- doc/reduce-memory.md
- Update the documentation to reflect the new default
dbcache
value. - Add information about the memory check for systems with less than 4GB of RAM.
- Update the documentation to reflect the new default