From 2879f89337baa883a47a369fd2ee60b9ee469181 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 13 Apr 2020 13:33:48 +0300 Subject: [PATCH] crypto: declare Verifiable and ScriptContainer interfaces --- pkg/crypto/verifiable.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 pkg/crypto/verifiable.go diff --git a/pkg/crypto/verifiable.go b/pkg/crypto/verifiable.go new file mode 100644 index 000000000..6dc643c1d --- /dev/null +++ b/pkg/crypto/verifiable.go @@ -0,0 +1,6 @@ +package crypto + +// Verifiable represents an object which can be verified. +type Verifiable interface { + GetSignedPart() []byte +}