github.com/sunriselayer/sunrise-da@v0.13.1-sr3/pruner/pruner.go (about) 1 package pruner 2 3 import ( 4 "context" 5 6 "github.com/sunriselayer/sunrise-da/header" 7 ) 8 9 // Pruner contains methods necessary to prune data 10 // from the node's datastore. 11 type Pruner interface { 12 Prune(context.Context, ...*header.ExtendedHeader) error 13 }