https://github.com/dappnode/prune-slashing
https://github.com/dappnode/prune-slashing
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dappnode/prune-slashing
- Owner: dappnode
- Created: 2022-07-06T13:11:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T14:34:52.000Z (almost 4 years ago)
- Last Synced: 2025-02-07T12:45:42.309Z (over 1 year ago)
- Language: Go
- Size: 1.29 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prune slashing protection on demmand
Prune a given slashing database by taking the latest 10 `signed_blocks` and `signed_attestations` for each `pubkey`
### Instructions of use
**Compile**: should be compiled with golang version 1.17
```
go build -o slashing-prune slashing-prune.go
```
The output will be an executable named `slashing-prune`
**Run**:
```
./slashing-prune --source-path --target-path
```