mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-28 18:23:38 +00:00
Update slasher DB size and Lighthouse book (#5934)
* Update book * Fix * mdlint * Revise * Update slasher doc * Revise max db size * change blob to file * Add checkpoint-blobs * Thanks Jimmy for the command * Update schema docs
This commit is contained in:
@@ -146,8 +146,19 @@ For more information on historic state storage see the
|
||||
|
||||
To manually specify a checkpoint use the following two flags:
|
||||
|
||||
* `--checkpoint-state`: accepts an SSZ-encoded `BeaconState` blob
|
||||
* `--checkpoint-block`: accepts an SSZ-encoded `SignedBeaconBlock` blob
|
||||
* `--checkpoint-state`: accepts an SSZ-encoded `BeaconState` file
|
||||
* `--checkpoint-block`: accepts an SSZ-encoded `SignedBeaconBlock` file
|
||||
* `--checkpoint-blobs`: accepts an SSZ-encoded `Blobs` file
|
||||
|
||||
The command is as following:
|
||||
|
||||
```bash
|
||||
curl -H "Accept: application/octet-stream" "http://localhost:5052/eth/v2/debug/beacon/states/$SLOT" > state.ssz
|
||||
curl -H "Accept: application/octet-stream" "http://localhost:5052/eth/v2/beacon/blocks/$SLOT" > block.ssz
|
||||
curl -H "Accept: application/octet-stream" "http://localhost:5052/eth/v1/beacon/blob_sidecars/$SLOT" > blobs.ssz
|
||||
```
|
||||
|
||||
where `$SLOT` is the slot number. It can be specified as `head` or `finalized` as well.
|
||||
|
||||
_Both_ the state and block must be provided and the state **must** match the block. The
|
||||
state may be from the same slot as the block (unadvanced), or advanced to an epoch boundary,
|
||||
|
||||
Reference in New Issue
Block a user