lbcd/claimtrie/temporal/repo.go
Roy Lee 6828cf5e36 [lbry] claimtrie: import current snapshot
Sync to tip

Co-authored-by: Brannon King <countprimes@gmail.com>
2022-05-23 23:53:30 -07:00

9 lines
227 B
Go

package temporal
// Repo defines APIs for Temporal to access persistence layer.
type Repo interface {
SetNodesAt(names [][]byte, heights []int32) error
NodesAt(height int32) ([][]byte, error)
Close() error
Flush() error
}