lbcd/claimtrie/merkletrie/repo.go
Roy Lee ccaa6dd816 [lbry] claimtrie: import current snapshot
Sync to tip

Co-authored-by: Brannon King <countprimes@gmail.com>
2021-07-08 10:41:12 -07:00

12 lines
216 B
Go

package merkletrie
import (
"io"
)
// Repo defines APIs for MerkleTrie to access persistence layer.
type Repo interface {
Get(key []byte) ([]byte, io.Closer, error)
Set(key, value []byte) error
Close() error
}