github.com/lbryio/lbcd@v0.22.119/claimtrie/chain/repo.go (about)

     1  package chain
     2  
     3  import "github.com/lbryio/lbcd/claimtrie/change"
     4  
     5  type Repo interface {
     6  	Save(height int32, changes []change.Change) error
     7  	Load(height int32) ([]change.Change, error)
     8  	Close() error
     9  	Flush() error
    10  }