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

     1  package temporal
     2  
     3  // Repo defines APIs for Temporal to access persistence layer.
     4  type Repo interface {
     5  	SetNodesAt(names [][]byte, heights []int32) error
     6  	NodesAt(height int32) ([][]byte, error)
     7  	Close() error
     8  	Flush() error
     9  }