An open API service indexing awesome lists of open source software.

https://github.com/dappnode/prune-slashing


https://github.com/dappnode/prune-slashing

Last synced: about 1 year ago
JSON representation

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
```