mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 05:18:30 +00:00
Revise doc API section (#4798)
## Issue Addressed Partially #4788 ## Proposed Changes Remove documentation on `/lighthouse/database/reconstruct` API to avoid confusion as the calling the API during historical block download will show an error in the beacon log Add Events API about `payload_attributes` ## Additional Info Please provide any additional information. For example, future considerations or information useful for reviewers. Co-authored-by: chonghe <44791194+chong-he@users.noreply.github.com> Co-authored-by: Michael Sproul <micsproul@gmail.com>
This commit is contained in:
@@ -547,22 +547,6 @@ reconstruction has yet to be completed. For more information
|
||||
on the specific meanings of these fields see the docs on [Checkpoint
|
||||
Sync](./checkpoint-sync.md#reconstructing-states).
|
||||
|
||||
### `/lighthouse/database/reconstruct`
|
||||
|
||||
Instruct Lighthouse to begin reconstructing historic states, see
|
||||
[Reconstructing States](./checkpoint-sync.md#reconstructing-states). This is an alternative
|
||||
to the `--reconstruct-historic-states` flag.
|
||||
|
||||
```
|
||||
curl -X POST "http://localhost:5052/lighthouse/database/reconstruct" | jq
|
||||
```
|
||||
|
||||
```json
|
||||
"success"
|
||||
```
|
||||
|
||||
The endpoint will return immediately. See the beacon node logs for an indication of progress.
|
||||
|
||||
### `/lighthouse/database/historical_blocks`
|
||||
|
||||
Manually provide `SignedBeaconBlock`s to backfill the database. This is intended
|
||||
|
||||
Reference in New Issue
Block a user