github.com/okex/exchain@v1.8.0/libs/tendermint/delta/delta.go (about)

     1  package delta
     2  
     3  type DeltaBroker interface {
     4  	GetLocker() bool
     5  	ReleaseLocker()
     6  	ResetMostRecentHeightAfterUpload(height int64, upload func(int64) bool) (bool, int64, error)
     7  	SetDeltas(height int64, bytes []byte) error
     8  	GetDeltas(height int64) ([]byte, error, int64)
     9  }