mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 03:41:34 +00:00
28908aa3cf
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
11 lines
326 B
Go
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
|
|
}
|