lighthouse/beacon_node
Michael Sproul 375e2b49b3 Conserve disk space by raising default SPRP (#3137)
## Proposed Changes

Increase the default `--slots-per-restore-point` to 8192 for a 4x reduction in freezer DB disk usage.

Existing nodes that use the previous default of 2048 will be left unchanged. Newly synced nodes (with or without checkpoint sync) will use the new 8192 default. 

Long-term we could do away with the freezer DB entirely for validator-only nodes, but this change is much simpler and grants us some extra space in the short term. We can also roll it out gradually across our nodes by purging databases one by one, while keeping the Ansible config the same.

## Additional Info

We ignore a change from 2048 to 8192 if the user hasn't set the 8192 explicitly. We fire a debug log in the case where we do ignore:

```
DEBG Ignoring slots-per-restore-point config in favour of on-disk value, on_disk: 2048, config: 8192
```
2022-04-01 07:16:25 +00:00
..
beacon_chain Add lighthouse db command (#3129) 2022-04-01 00:58:59 +00:00
client Add lighthouse db command (#3129) 2022-04-01 00:58:59 +00:00
eth1 Update to Rust 1.59 and 2021 edition (#3038) 2022-02-25 00:10:17 +00:00
execution_layer Strip newline from jwt secrets (#3132) 2022-04-01 00:59:00 +00:00
genesis Updates to tests and local testnet for Ganache 7 (#3056) 2022-03-20 22:48:14 +00:00
http_api Conserve disk space by raising default SPRP (#3137) 2022-04-01 07:16:25 +00:00
http_metrics Support IPv6 in BN and VC HTTP APIs (#3104) 2022-03-24 00:04:49 +00:00
lighthouse_network Add lighthouse db command (#3129) 2022-04-01 00:58:59 +00:00
network Add lighthouse db command (#3129) 2022-04-01 00:58:59 +00:00
operation_pool Update to Rust 1.59 and 2021 edition (#3038) 2022-02-25 00:10:17 +00:00
src Conserve disk space by raising default SPRP (#3137) 2022-04-01 07:16:25 +00:00
store Conserve disk space by raising default SPRP (#3137) 2022-04-01 07:16:25 +00:00
tests Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
timer Update to Rust 1.59 and 2021 edition (#3038) 2022-02-25 00:10:17 +00:00
Cargo.toml v2.1.5 (#3096) 2022-03-17 23:13:46 +00:00