github.com/nspcc-dev/neo-go@v0.105.2-0.20240517133400-6be757af3eba/pkg/crypto/verifiable.go (about)

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