neoneo-go/pkg/crypto/verifiable.go
Elizaveta Chichindaeva 28908aa3cf [#2442] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-04 19:48:27 +03:00

11 lines
326 B
Go

package crypto
import "github.com/nspcc-dev/neo-go/pkg/crypto/hash"
// VerifiableDecodable represents an object which can be verified and
// those hashable part of which can be encoded/decoded.
type VerifiableDecodable interface {
hash.Hashable
EncodeHashableFields() ([]byte, error)
DecodeHashableFields([]byte) error
}