mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Update slashing protection interchange to v5 (#1816)
## Proposed Changes Update the slashing protection interchange format to v5 in preparation for finalisation as part of an EIP. Also, add some more tests and update the commit hash for https://github.com/eth2-clients/slashing-protection-interchange-tests to include the new generated tests.
This commit is contained in:
@@ -60,11 +60,12 @@ Examples where it is **ineffective** are:
|
||||
|
||||
## Import and Export
|
||||
|
||||
Lighthouse supports v4 of the slashing protection interchange format described
|
||||
Lighthouse supports v5 of the slashing protection interchange format described
|
||||
[here][interchange-spec]. An interchange file is a record of all blocks and attestations
|
||||
signing by a set of validator keys – basically a portable slashing protection database!
|
||||
|
||||
You can import a `.json` interchange file from another client using this command:
|
||||
With your validator client stopped, you can import a `.json` interchange file from another client
|
||||
using this command:
|
||||
|
||||
```bash
|
||||
lighthouse account validator slashing-protection import <my_interchange.json>
|
||||
@@ -85,6 +86,8 @@ You can export Lighthouse's database for use with another client with this comma
|
||||
lighthouse account validator slashing-protection export <lighthouse_interchange.json>
|
||||
```
|
||||
|
||||
The validator client needs to be stopped in order to export.
|
||||
|
||||
[interchange-spec]: https://hackmd.io/@sproul/Bk0Y0qdGD
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
Reference in New Issue
Block a user