1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 01:43:29 +01:00

More accurate free space required for reindexing

The free space required peaks higher than the final size before and during compaction.

Final size is ~40G, peak was ~60G on my machine.
This commit is contained in:
brandonblack 2022-01-25 16:04:48 -08:00 committed by GitHub
parent 5eb07017dd
commit 40ba05a47c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,9 +26,9 @@ Upgrading checklist:
Because of reindex electrs will be unable to serve your requests for a few hours.
(The exact time depends on your hardware.)
If you wish to check the database without reindexing run electrs with `--no-auto-reindex`.
* If you have less than 40 GB of free space delete `mainnet` subdirectory inside your `db_dir` *before* running the new version.
Note however if you have less than 40 GB of free space you should consider extending your storage soon
since in the worst case scenario you will run out of space in ~69 days.
* If you have less than 60 GB of free space delete `mainnet` subdirectory inside your `db_dir` *before* running the new version.
Note however if you have less than 60 GB of free space you should consider extending your storage soon
since in the worst case scenario you will run out of space in ~100 days.
* Make sure to allow accesses to bitcoind from local address, ideally whitelist it using `whitelist=download@127.0.0.1` bitcoind option.
Either don't use `maxconnections` bitcoind option or set it to 12 or more.
* If you use non-default P2P port (or address) for bitcoind adjust `electrs` configuration.