8c920d75a6
This commits adds container id and neo 3 wallet id, that is used as owner id for object and container. Version is set out outside of refs packages since it store global version of SDK. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
15 lines
183 B
Go
15 lines
183 B
Go
package refs
|
|
|
|
import (
|
|
"crypto/sha256"
|
|
|
|
"github.com/mr-tron/base58"
|
|
)
|
|
|
|
type (
|
|
ContainerID [sha256.Size]byte
|
|
)
|
|
|
|
func (c ContainerID) String() string {
|
|
return base58.Encode(c[:])
|
|
}
|