Merge pull request #40 from nspcc-dev/prepare-for-separated-proto-lib

Use separated proto repository
This commit is contained in:
Evgeniy Kulikov 2020-02-03 11:25:50 +03:00 committed by GitHub
commit 048cd413cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
72 changed files with 599 additions and 572 deletions

View file

@ -111,16 +111,16 @@ associated with owner id
Initial public release Initial public release
[0.2.0]: https://github.com/nspcc-dev/neofs-proto/compare/v0.1.0...v0.2.0 [0.2.0]: https://github.com/nspcc-dev/neofs-api/compare/v0.1.0...v0.2.0
[0.2.1]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.0...v0.2.1 [0.2.1]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.0...v0.2.1
[0.2.2]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.1...v0.2.2 [0.2.2]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.1...v0.2.2
[0.2.3]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.2...v0.2.3 [0.2.3]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.2...v0.2.3
[0.2.4]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.3...v0.2.4 [0.2.4]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.3...v0.2.4
[0.2.5]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.4...v0.2.5 [0.2.5]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.4...v0.2.5
[0.2.6]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.5...v0.2.6 [0.2.6]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.5...v0.2.6
[0.2.7]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.6...v0.2.7 [0.2.7]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.6...v0.2.7
[0.2.8]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.7...v0.2.8 [0.2.8]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.7...v0.2.8
[0.2.9]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.8...v0.2.9 [0.2.9]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.8...v0.2.9
[0.2.10]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.9...v0.2.10 [0.2.10]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.9...v0.2.10
[0.2.11]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.10...v0.2.11 [0.2.11]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.10...v0.2.11
[0.2.12]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.11...v0.2.12 [0.2.12]: https://github.com/nspcc-dev/neofs-api/compare/v0.2.11...v0.2.12

View file

@ -1,7 +1,34 @@
PROTO_VERSION=master
PROTO_URL=https://bitbucket.org/nspcc-dev/neofs-proto/get/$(PROTO_VERSION).tar.gz
B=\033[0;1m B=\033[0;1m
G=\033[0;92m G=\033[0;92m
R=\033[0m R=\033[0m
.PHONY: deps format docgen protoc
# Dependencies
deps:
@echo "${B}${G}=> Golang modules ${R}"
@go mod tidy -v
@go mod vendor
@echo "${B}${G}=> Cleanup old files ${R}"
@find . -type f -name '*.pb.go' -not -path './vendor/*' -exec rm {} \;
@find . -type f -name '*.proto' -not -path './vendor/*' -not -name '*_test.proto' -exec rm {} \;
@echo "${B}${G}=> NeoFS Proto files ${R}"
@mkdir -p ./vendor/proto
@curl -sL -o ./vendor/proto.tar.gz $(PROTO_URL)
@tar -xzf ./vendor/proto.tar.gz --strip-components 1 -C ./vendor/proto
@for f in `find ./vendor/proto -type f -name '*.proto' -exec dirname {} \; | sort -u `; do \
cp $$f/*.proto ./$$(basename $$f); \
done
@echo "${B}${G}=> Cleanup ${R}"
@rm -rf ./vendor/proto
@rm -rf ./vendor/proto.tar.gz
# Reformat code # Reformat code
format: format:
@[ ! -z `which goimports` ] || (echo "install goimports" && exit 2) @[ ! -z `which goimports` ] || (echo "install goimports" && exit 2)
@ -11,7 +38,7 @@ format:
done done
# Regenerate documentation for protot files: # Regenerate documentation for protot files:
docgen: docgen: deps
@for f in `find . -type f -name '*.proto' -not -path './vendor/*' -exec dirname {} \; | sort -u `; do \ @for f in `find . -type f -name '*.proto' -not -path './vendor/*' -exec dirname {} \; | sort -u `; do \
echo "${B}${G}⇒ Documentation for $$(basename $$f) ${R}"; \ echo "${B}${G}⇒ Documentation for $$(basename $$f) ${R}"; \
protoc \ protoc \
@ -21,14 +48,12 @@ docgen:
done done
# Regenerate proto files: # Regenerate proto files:
protoc: protoc: deps
@go mod tidy -v @echo "${B}${G}=> Install specific version for gogo-proto ${R}"
@go mod vendor
# Install specific version for gogo-proto
@go list -f '{{.Path}}/...@{{.Version}}' -m github.com/gogo/protobuf | xargs go get -v @go list -f '{{.Path}}/...@{{.Version}}' -m github.com/gogo/protobuf | xargs go get -v
# Install specific version for protobuf lib @echo "${B}${G}=> Install specific version for protobuf lib ${R}"
@go list -f '{{.Path}}/...@{{.Version}}' -m github.com/golang/protobuf | xargs go get -v @go list -f '{{.Path}}/...@{{.Version}}' -m github.com/golang/protobuf | xargs go get -v
# Protoc generate @echo "${B}${G}=> Protoc generate ${R}"
@for f in `find . -type f -name '*.proto' -not -path './vendor/*'`; do \ @for f in `find . -type f -name '*.proto' -not -path './vendor/*'`; do \
echo "${B}${G}⇒ Processing $$f ${R}"; \ echo "${B}${G}⇒ Processing $$f ${R}"; \
protoc \ protoc \

View file

@ -1,9 +1,9 @@
package accounting package accounting
import ( import (
"github.com/nspcc-dev/neofs-proto/decimal" "github.com/nspcc-dev/neofs-api/decimal"
"github.com/nspcc-dev/neofs-proto/internal" "github.com/nspcc-dev/neofs-api/internal"
"github.com/nspcc-dev/neofs-proto/refs" "github.com/nspcc-dev/neofs-api/refs"
) )
type ( type (

View file

@ -8,8 +8,8 @@ import (
fmt "fmt" fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto" _ "github.com/gogo/protobuf/gogoproto"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
decimal "github.com/nspcc-dev/neofs-proto/decimal" decimal "github.com/nspcc-dev/neofs-api/decimal"
service "github.com/nspcc-dev/neofs-proto/service" service "github.com/nspcc-dev/neofs-api/service"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
@ -132,31 +132,31 @@ func init() {
func init() { proto.RegisterFile("accounting/service.proto", fileDescriptor_7f9514b8f1d4c7fe) } func init() { proto.RegisterFile("accounting/service.proto", fileDescriptor_7f9514b8f1d4c7fe) }
var fileDescriptor_7f9514b8f1d4c7fe = []byte{ var fileDescriptor_7f9514b8f1d4c7fe = []byte{
// 381 bytes of a gzipped FileDescriptorProto // 379 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xbd, 0x6e, 0xdb, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x51, 0xbb, 0xae, 0xd3, 0x30,
0x14, 0x85, 0xcd, 0xb6, 0xb0, 0x0b, 0xda, 0xa8, 0x0b, 0xf6, 0x07, 0x82, 0x0a, 0xc8, 0x86, 0x27, 0x18, 0xae, 0x01, 0xb5, 0xc8, 0xad, 0x28, 0x32, 0x17, 0x45, 0x41, 0x4a, 0xab, 0x4e, 0x2d, 0x52,
0xb7, 0x85, 0x25, 0x40, 0x1d, 0xda, 0xd5, 0x82, 0x87, 0x16, 0x68, 0xd1, 0x40, 0x43, 0x86, 0x6c, 0x13, 0x29, 0x0c, 0xb0, 0xa1, 0x46, 0x1d, 0x40, 0x02, 0x81, 0x32, 0x30, 0xb0, 0x39, 0xee, 0xdf,
0x14, 0x7d, 0xad, 0x08, 0xb1, 0x49, 0x45, 0xa4, 0x14, 0xf8, 0x4d, 0xf2, 0x2e, 0x79, 0x01, 0x8f, 0x60, 0xd1, 0xda, 0x21, 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 0x3c, 0xf4, 0xaf, 0xf2, 0xd0, 0x55, 0xe5, 0xa1,
0xee, 0x4b, 0x07, 0x5d, 0x3f, 0x38, 0x8d, 0xb3, 0xef, 0x07, 0x9f, 0xc9, 0x65, 0xca, 0xd8, 0x68, 0x3f, 0xd7, 0x5e, 0xeb, 0xfb, 0xe4, 0xec, 0x33, 0x85, 0xca, 0x18, 0x9b, 0x2e, 0xa0, 0x0c, 0x04,
0x0a, 0x85, 0xc7, 0x41, 0xcc, 0xe4, 0xa8, 0xfa, 0xca, 0x7d, 0xcb, 0xa8, 0xa9, 0xc9, 0x8f, 0xc7, 0xc8, 0xa5, 0x9a, 0xd2, 0x8c, 0x07, 0xa7, 0xc0, 0xa4, 0x6d, 0xfe, 0xf3, 0xcd, 0x4d, 0x00, 0x00,
0x00, 0x00, 0x00, 0xff, 0xff, 0xf9, 0xca, 0x86, 0x87, 0x81, 0x02, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x3c, 0xca, 0x62, 0x7f, 0x02, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package accounting; package accounting;
option go_package = "github.com/nspcc-dev/neofs-proto/accounting"; option go_package = "github.com/nspcc-dev/neofs-api/accounting";
import "service/meta.proto"; import "service/meta.proto";
import "service/verify.proto"; import "service/verify.proto";

View file

@ -7,11 +7,11 @@ import (
"reflect" "reflect"
"github.com/mr-tron/base58" "github.com/mr-tron/base58"
"github.com/nspcc-dev/neofs-api/chain"
"github.com/nspcc-dev/neofs-api/decimal"
"github.com/nspcc-dev/neofs-api/internal"
"github.com/nspcc-dev/neofs-api/refs"
crypto "github.com/nspcc-dev/neofs-crypto" crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-proto/chain"
"github.com/nspcc-dev/neofs-proto/decimal"
"github.com/nspcc-dev/neofs-proto/internal"
"github.com/nspcc-dev/neofs-proto/refs"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View file

@ -7,7 +7,7 @@ import (
fmt "fmt" fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto" _ "github.com/gogo/protobuf/gogoproto"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
decimal "github.com/nspcc-dev/neofs-proto/decimal" decimal "github.com/nspcc-dev/neofs-api/decimal"
io "io" io "io"
math "math" math "math"
math_bits "math/bits" math_bits "math/bits"
@ -801,59 +801,59 @@ func init() {
func init() { proto.RegisterFile("accounting/types.proto", fileDescriptor_437c556d7375b726) } func init() { proto.RegisterFile("accounting/types.proto", fileDescriptor_437c556d7375b726) }
var fileDescriptor_437c556d7375b726 = []byte{ var fileDescriptor_437c556d7375b726 = []byte{
// 821 bytes of a gzipped FileDescriptorProto // 823 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0x4d, 0x6f, 0xe3, 0x44, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0x4d, 0x6f, 0xe3, 0x44,
0x18, 0xce, 0x38, 0x69, 0x3e, 0xde, 0x64, 0x83, 0x35, 0xbb, 0x5b, 0x85, 0x48, 0xa4, 0xc1, 0xe2, 0x18, 0xce, 0x38, 0x69, 0x3e, 0xde, 0x64, 0x43, 0x34, 0xbb, 0x5b, 0x85, 0x48, 0xa4, 0xc1, 0xe2,
0x10, 0x84, 0xea, 0x88, 0xae, 0x68, 0xb9, 0x70, 0x88, 0x13, 0xca, 0x56, 0xac, 0xba, 0xd5, 0xd4, 0x90, 0x3d, 0x34, 0x11, 0x5d, 0xd1, 0x72, 0x41, 0x28, 0x4e, 0x28, 0x5b, 0xb1, 0xea, 0x56, 0x53,
0x05, 0x01, 0x27, 0xd7, 0x99, 0xa6, 0x56, 0x93, 0x99, 0x60, 0x8f, 0xfb, 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x3e, 0x32, 0xcf, 0x0c, 0x0f, 0x97, 0xbe, 0xbf, 0x3f, 0xa5, 0xb7, 0x43, 0x4e, 0xc5, 0x55, 0xb8, 0xef, 0x2d,
0xeb, 0x4a, 0x2e, 0xab, 0xca, 0xf2, 0xea, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x2d, 0x7e, 0xd9, 0x70, 0x5d, 0xc7, 0x65, 0x59, 0x7f, 0x69, 0x5e, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x8f,
0x6b, 0xd7, 0x06, 0x00, 0x00, 0x4d, 0xeb, 0x13, 0xd5, 0x06, 0x00, 0x00,
} }
func (m *Account) Marshal() (dAtA []byte, err error) { func (m *Account) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package accounting; package accounting;
option go_package = "github.com/nspcc-dev/neofs-proto/accounting"; option go_package = "github.com/nspcc-dev/neofs-api/accounting";
import "decimal/decimal.proto"; import "decimal/decimal.proto";
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";

View file

@ -5,10 +5,10 @@ import (
"testing" "testing"
"github.com/mr-tron/base58" "github.com/mr-tron/base58"
"github.com/nspcc-dev/neofs-api/chain"
"github.com/nspcc-dev/neofs-api/decimal"
"github.com/nspcc-dev/neofs-api/refs"
"github.com/nspcc-dev/neofs-crypto/test" "github.com/nspcc-dev/neofs-crypto/test"
"github.com/nspcc-dev/neofs-proto/chain"
"github.com/nspcc-dev/neofs-proto/decimal"
"github.com/nspcc-dev/neofs-proto/refs"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )
@ -34,7 +34,7 @@ func TestCheque(t *testing.T) {
}) })
t.Run("marshal/unmarshal", func(t *testing.T) { t.Run("marshal/unmarshal", func(t *testing.T) {
var b2 = new(Cheque) b2 := new(Cheque)
key1 := test.DecodeKey(0) key1 := test.DecodeKey(0)
key2 := test.DecodeKey(1) key2 := test.DecodeKey(1)
@ -67,7 +67,7 @@ func TestCheque(t *testing.T) {
}) })
t.Run("example from SC", func(t *testing.T) { t.Run("example from SC", func(t *testing.T) {
var pathToCheque = "fixtures/cheque_data" pathToCheque := "fixtures/cheque_data"
expect, err := ioutil.ReadFile(pathToCheque) expect, err := ioutil.ReadFile(pathToCheque)
require.NoError(t, err) require.NoError(t, err)

View file

@ -3,7 +3,7 @@ package accounting
import ( import (
"encoding/binary" "encoding/binary"
"github.com/nspcc-dev/neofs-proto/refs" "github.com/nspcc-dev/neofs-api/refs"
) )
type ( type (

View file

@ -8,8 +8,8 @@ import (
fmt "fmt" fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto" _ "github.com/gogo/protobuf/gogoproto"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
decimal "github.com/nspcc-dev/neofs-proto/decimal" decimal "github.com/nspcc-dev/neofs-api/decimal"
service "github.com/nspcc-dev/neofs-proto/service" service "github.com/nspcc-dev/neofs-api/service"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
@ -461,45 +461,45 @@ func init() {
func init() { proto.RegisterFile("accounting/withdraw.proto", fileDescriptor_b3a38a4dc2575267) } func init() { proto.RegisterFile("accounting/withdraw.proto", fileDescriptor_b3a38a4dc2575267) }
var fileDescriptor_b3a38a4dc2575267 = []byte{ var fileDescriptor_b3a38a4dc2575267 = []byte{
// 600 bytes of a gzipped FileDescriptorProto // 602 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x55, 0xc1, 0x6e, 0xd3, 0x4c, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x55, 0xc1, 0x6e, 0xd3, 0x4c,
0x10, 0xee, 0xda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 0xe2, 0xba, 0xad, 0x3e, 0x4e, 0x8d, 0x00, 0xc3, 0x41,
0xdc, 0xca, 0xbe, 0x3c, 0xc5, 0x89, 0xbd, 0x2a, 0x8f, 0x3c, 0xfa, 0x19, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x72, 0x26, 0xbe, 0x51, 0x9c, 0xd7, 0xab, 0xf2, 0xcf, 0xcf, 0xa3, 0x9f, 0x01, 0x00, 0x00,
0x39, 0x77, 0x4b, 0x08, 0x19, 0x07, 0x00, 0x00, 0xff, 0xff, 0xe2, 0xb5, 0x2a, 0x26, 0x17, 0x07, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package accounting; package accounting;
option go_package = "github.com/nspcc-dev/neofs-proto/accounting"; option go_package = "github.com/nspcc-dev/neofs-api/accounting";
import "service/meta.proto"; import "service/meta.proto";
import "service/verify.proto"; import "service/verify.proto";

View file

@ -1,7 +1,7 @@
package bootstrap package bootstrap
import ( import (
"github.com/nspcc-dev/neofs-proto/service" "github.com/nspcc-dev/neofs-api/service"
) )
// NodeType type alias. // NodeType type alias.

View file

@ -8,7 +8,7 @@ import (
fmt "fmt" fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto" _ "github.com/gogo/protobuf/gogoproto"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
service "github.com/nspcc-dev/neofs-proto/service" service "github.com/nspcc-dev/neofs-api/service"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
@ -86,28 +86,28 @@ func init() { proto.RegisterFile("bootstrap/service.proto", fileDescriptor_21bce
var fileDescriptor_21bce759c9d8eb63 = []byte{ var fileDescriptor_21bce759c9d8eb63 = []byte{
// 342 bytes of a gzipped FileDescriptorProto // 342 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x50, 0xbd, 0x4e, 0xeb, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x50, 0xbb, 0x4e, 0xf3, 0x30,
0x14, 0xae, 0xaf, 0x72, 0xfb, 0xe3, 0xbb, 0xf9, 0x16, 0x11, 0x65, 0x48, 0xaa, 0x4e, 0x15, 0x22, 0x14, 0xae, 0x7f, 0xe5, 0xef, 0xc5, 0x6c, 0xa6, 0x88, 0x28, 0x43, 0x52, 0x75, 0xea, 0x40, 0x12,
0x89, 0xd4, 0x2e, 0x8c, 0x55, 0xc4, 0x00, 0x43, 0x11, 0x0a, 0x88, 0x81, 0xcd, 0x71, 0x4e, 0x4a, 0xa9, 0x5d, 0x98, 0x10, 0x8a, 0x18, 0x60, 0x28, 0x42, 0x01, 0x31, 0xb0, 0x39, 0xc9, 0x49, 0xf1,
0x86, 0xc6, 0xc6, 0x76, 0x2b, 0xf5, 0x4d, 0x78, 0xa4, 0x8e, 0x1d, 0x11, 0x43, 0x84, 0x82, 0xc4, 0xd0, 0xd8, 0xd8, 0x6e, 0xa5, 0xbe, 0x09, 0x8f, 0xd4, 0xb1, 0x23, 0x62, 0x88, 0x50, 0x90, 0x78,
0x73, 0xa0, 0xb8, 0x69, 0xa9, 0x60, 0xb2, 0xcf, 0xf7, 0xe7, 0xe3, 0x0f, 0x9f, 0x26, 0x9c, 0x6b, 0x0e, 0x14, 0x37, 0x2d, 0x15, 0x4c, 0xf6, 0xf9, 0x6e, 0x3e, 0xfe, 0xf0, 0x69, 0xc2, 0xb9, 0x56,
0xa5, 0x25, 0x15, 0xa1, 0x02, 0xb9, 0xca, 0x19, 0x04, 0x42, 0x72, 0xcd, 0x49, 0xef, 0x40, 0x38, 0x5a, 0x52, 0x11, 0x2a, 0x90, 0x4b, 0x96, 0x42, 0x20,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0xdd, 0x09, 0x09, 0x34, 0x9d, 0x51, 0x11, 0x42, 0x0e, 0x16, 0x6f, 0xf2, 0x9c, 0xfe, 0x01, 0x76, 0x2f, 0x24, 0xd0, 0x6c, 0x4a, 0x45, 0x74,
0x4d, 0x37, 0x95, 0x8b, 0xb6, 0x95, 0x8b, 0x5e, 0x2b, 0x17, 0xbd, 0x57, 0x2e, 0x7a, 0xf9, 0x70, 0xb1, 0xae, 0x5c, 0xb4, 0xa9, 0x5c, 0xf4, 0x56, 0xb9, 0xe8, 0xa3, 0x72, 0xd1, 0xeb, 0xa7, 0xdb,
0x5b, 0x8f, 0x67, 0x47, 0x7d, 0x17, 0x4a, 0x30, 0xe6, 0xa7, 0xb0, 0x0a, 0x0b, 0xe0, 0x99, 0xf2, 0x7a, 0x1a, 0x1d, 0xf4, 0x5d, 0x28, 0x91, 0xa6, 0x7e, 0x06, 0xcb, 0xb0, 0x00, 0x9e, 0x2b, 0x9f,
0x77, 0x6d, 0x1f, 0xb2, 0x92, 0xb6, 0x01, 0x26, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xfe, 0xcb, 0x0a, 0x16, 0xee, 0x93, 0x92, 0xb6, 0x69, 0x7c, 0xf2, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xa2,
0xf7, 0x92, 0x09, 0x02, 0x00, 0x00, 0x5a, 0xfd, 0x07, 0x02, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package bootstrap; package bootstrap;
option go_package = "github.com/nspcc-dev/neofs-proto/bootstrap"; option go_package = "github.com/nspcc-dev/neofs-api/bootstrap";
import "service/meta.proto"; import "service/meta.proto";
import "service/verify.proto"; import "service/verify.proto";

View file

@ -7,7 +7,7 @@ import (
"strings" "strings"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
"github.com/nspcc-dev/neofs-proto/object" "github.com/nspcc-dev/neofs-api/object"
) )
type ( type (

View file

@ -146,29 +146,29 @@ func init() {
func init() { proto.RegisterFile("bootstrap/types.proto", fileDescriptor_423083266369adee) } func init() { proto.RegisterFile("bootstrap/types.proto", fileDescriptor_423083266369adee) }
var fileDescriptor_423083266369adee = []byte{ var fileDescriptor_423083266369adee = []byte{
// 345 bytes of a gzipped FileDescriptorProto // 348 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xcb, 0x4a, 0xc3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xcd, 0x4a, 0xfb, 0x40,
0x18, 0x85, 0x33, 0x6d, 0x4d, 0xcd, 0xd4, 0x85, 0xc6, 0x16, 0x82, 0x48, 0x12, 0x0a, 0x42, 0x90, 0x14, 0xc5, 0x33, 0x6d, 0xff, 0xe9, 0x3f, 0x53, 0x17, 0x1a, 0x5b, 0x08, 0x22, 0x49, 0x28, 0x08,
0x36, 0xc1, 0xcb, 0x0b, 0x18, 0x10, 0x14, 0x69, 0x95, 0xd4, 0x95, 0xbb, 0x5c, 0xa6, 0x17, 0xa4, 0x59, 0xb4, 0x09, 0x7e, 0xbc, 0x80, 0x01, 0x05, 0x91, 0x56, 0x49, 0x5d, 0xb9, 0xcb, 0xc7, 0xb4,
0xf9, 0x87, 0xcc, 0x44, 0xc8, 0xce, 0xc7, 0xf0, 0x89, 0xa4, 0x4b, 0x97, 0xc5, 0x45, 0xd0, 0xb8, 0x0d, 0xd2, 0xdc, 0x21, 0x33, 0x11, 0xb2, 0xf3, 0x31, 0x7c, 0x22, 0xe9, 0xd2, 0x65, 0x71, 0x11,
0xcb, 0x53, 0x48, 0x27, 0x6d, 0xe9, 0xee, 0x3f, 0xe7, 0x7c, 0x33, 0xf3, 0xcf, 0xc1, 0x9d, 0x00, 0x34, 0xee, 0xf2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0x94, 0x69, 0x8d, 0xd5, 0xe7, 0xdc, 0xd3, 0xd5, 0xc2, 0xdf, 0xb9, 0x81, 0xaf, 0xb0, 0x3c, 0xe1, 0x3e, 0xcf, 0x98, 0xd6, 0x5a, 0x7f, 0xce, 0x3d, 0x5d, 0x2f, 0xfc, 0x55,
0x57, 0x7b, 0x56, 0x49, 0x99, 0x1b, 0x32, 0x13, 0x93, 0xb7, 0x66, 0xdd, 0xbb, 0xe5, 0xaf, 0x2e, 0x18, 0x78, 0xbd, 0x67, 0x9d, 0x54, 0x85, 0x21, 0x33, 0x31, 0x79, 0x1b, 0xd6, 0xbd, 0x5d, 0xfd,
0xbd, 0x17, 0xba, 0xb4, 0x28, 0x74, 0xf4, 0x55, 0xe8, 0x68, 0x59, 0xe8, 0xe8, 0xa7, 0xd0, 0xd1, 0xe8, 0xd2, 0x5b, 0xa9, 0x4b, 0xcb, 0x52, 0x47, 0x9f, 0xa5, 0x8e, 0x56, 0xa5, 0x8e, 0xbe, 0x4b,
0xc7, 0x9f, 0x2e, 0xbd, 0x9c, 0xef, 0x74, 0x1d, 0x33, 0x1a, 0x86, 0xfd, 0x88, 0xbc, 0x39, 0x31, 0x1d, 0xbd, 0xff, 0xea, 0xd2, 0xb3, 0xb5, 0xd7, 0x75, 0xc2, 0x68, 0x18, 0x0e, 0x23, 0xf2, 0xea,
0x81, 0x31, 0xeb, 0x57, 0x4d, 0x6f, 0x9b, 0x0a, 0x64, 0x61, 0x5c, 0xfd, 0x07, 0x00, 0x00, 0xff, 0x24, 0x04, 0xa6, 0x6c, 0xe8, 0xd3, 0xd8, 0xd9, 0xf5, 0x14, 0xc8, 0xa2, 0xed, 0xcb, 0xbf, 0x00,
0xff, 0x71, 0xeb, 0x37, 0x57, 0xc2, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc2, 0x29, 0x27, 0x0e, 0xc0, 0x01, 0x00, 0x00,
} }
func (m *SpreadMap) Marshal() (dAtA []byte, err error) { func (m *SpreadMap) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package bootstrap; package bootstrap;
option go_package = "github.com/nspcc-dev/neofs-proto/bootstrap"; option go_package = "github.com/nspcc-dev/neofs-api/bootstrap";
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";

View file

@ -7,8 +7,8 @@ import (
"encoding/hex" "encoding/hex"
"github.com/mr-tron/base58" "github.com/mr-tron/base58"
"github.com/nspcc-dev/neofs-api/internal"
crypto "github.com/nspcc-dev/neofs-crypto" crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-proto/internal"
"github.com/pkg/errors" "github.com/pkg/errors"
"golang.org/x/crypto/ripemd160" "golang.org/x/crypto/ripemd160"
) )

View file

@ -4,8 +4,8 @@ import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"github.com/nspcc-dev/neofs-proto/internal" "github.com/nspcc-dev/neofs-api/internal"
"github.com/nspcc-dev/neofs-proto/refs" "github.com/nspcc-dev/neofs-api/refs"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View file

@ -8,7 +8,7 @@ import (
fmt "fmt" fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto" _ "github.com/gogo/protobuf/gogoproto"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
service "github.com/nspcc-dev/neofs-proto/service" service "github.com/nspcc-dev/neofs-api/service"
netmap "github.com/nspcc-dev/netmap" netmap "github.com/nspcc-dev/netmap"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
@ -391,10 +391,10 @@ func init() {
func init() { proto.RegisterFile("container/service.proto", fileDescriptor_e1fa9d7ab2e7ae06) } func init() { proto.RegisterFile("container/service.proto", fileDescriptor_e1fa9d7ab2e7ae06) }
var fileDescriptor_e1fa9d7ab2e7ae06 = []byte{ var fileDescriptor_e1fa9d7ab2e7ae06 = []byte{
// 580 bytes of a gzipped FileDescriptorProto // 582 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x54, 0xcb, 0x6e, 0xd3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x54, 0xcb, 0x6e, 0xd3, 0x40,
0x14, 0xed, 0x34, 0xe9, 0x23, 0xd7, 0xe5, 0x35, 0x6a, 0x5a, 0x63, 0x89, 0x24, 0xf2, 0x2a, 0x20, 0x14, 0xed, 0x34, 0xe9, 0x23, 0xd7, 0xe5, 0x35, 0x6a, 0x5a, 0x63, 0x89, 0x24, 0xf2, 0x2a, 0x20,
0x62, 0x8b, 0x50, 0x09, 0x36, 0x48, 0x34, 0x89, 0x14, 0x2a, 0x51, 0x11, 0x19, 0x89, 0x05, 0x3b, 0x62, 0x8b, 0x50, 0x09, 0x36, 0x20, 0x35, 0x89, 0x14, 0x2a, 0x51, 0x11, 0x19, 0x89, 0x05, 0x3b,
0x67, 0x7a, 0x13, 0x2c, 0x25, 0xb6, 0xf1, 0x8c, 0x83, 0xf2, 0x27, 0xfc, 0x03, 0x12, 0x6b, 0x3e, 0x67, 0x7a, 0x13, 0x2c, 0x25, 0xb6, 0xf1, 0x8c, 0x83, 0xf2, 0x27, 0xfc, 0x03, 0x12, 0x6b, 0x3e,
0xa1, 0xcb, 0x2e, 0x11, 0x8b, 0x08, 0x85, 0x25, 0xe2, 0x1f, 0x90, 0xc7, 0xcf, 0xa4, 0x05, 0x96, 0xa1, 0xcb, 0x2e, 0x11, 0x8b, 0x08, 0x85, 0x25, 0xe2, 0x1f, 0x90, 0xc7, 0xcf, 0xa4, 0x05, 0x96,
0x15, 0x1b, 0x6b, 0xe6, 0x9c, 0x7b, 0xee, 0xdb, 0x03, 0x87, 0xcc, 0x73, 0x85, 0xed, 0xb8, 0x18, 0x15, 0x1b, 0x6b, 0xe6, 0x9c, 0x7b, 0xee, 0xdb, 0x03, 0x87, 0xcc, 0x73, 0x85, 0xed, 0xb8, 0x18,
@ -426,9 +426,9 @@ var fileDescriptor_e1fa9d7ab2e7ae06 = []byte{
0xd9, 0x78, 0xed, 0xee, 0x15, 0x4c, 0x22, 0x3f, 0x82, 0x52, 0x1f, 0x57, 0x83, 0xe6, 0xab, 0xb6, 0xd9, 0x78, 0xed, 0xee, 0x15, 0x4c, 0x22, 0x3f, 0x82, 0x52, 0x1f, 0x57, 0x83, 0xe6, 0xab, 0xb6,
0x12, 0xb4, 0x38, 0xd4, 0x27, 0x50, 0x8e, 0xaa, 0xa4, 0x45, 0xbe, 0x30, 0x30, 0xed, 0xf0, 0x12, 0x12, 0xb4, 0x38, 0xd4, 0x27, 0x50, 0x8e, 0xaa, 0xa4, 0x45, 0xbe, 0x30, 0x30, 0xed, 0xf0, 0x12,
0x1e, 0x0b, 0x3b, 0xcf, 0xcf, 0x97, 0x35, 0x72, 0xb1, 0xac, 0x91, 0xaf, 0xcb, 0x1a, 0xf9, 0xbe, 0x1e, 0x0b, 0x3b, 0xcf, 0xcf, 0x97, 0x35, 0x72, 0xb1, 0xac, 0x91, 0xaf, 0xcb, 0x1a, 0xf9, 0xbe,
0xac, 0x91, 0x8f, 0x3f, 0x6a, 0x1b, 0x6f, 0xff, 0xf4, 0x34, 0x7b, 0x23, 0xde, 0x8a, 0x1f, 0xdb, 0xac, 0x91, 0x8f, 0x3f, 0x6a, 0x1b, 0x6f, 0x9b, 0x7f, 0x78, 0x9a, 0xbd, 0x11, 0x6f, 0xd9, 0xbe,
0xcc, 0xdd, 0x70, 0x5b, 0x02, 0x8f, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x31, 0xf8, 0x4f, 0x34, 0x63, 0x66, 0xce, 0x86, 0xdb, 0xf2, 0xc1, 0x7d, 0xfc, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x31, 0xf8,
0x34, 0x06, 0x00, 0x00, 0x12, 0xa0, 0x32, 0x06, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package container; package container;
option go_package = "github.com/nspcc-dev/neofs-proto/container"; option go_package = "github.com/nspcc-dev/neofs-api/container";
import "service/meta.proto"; import "service/meta.proto";
import "service/verify.proto"; import "service/verify.proto";

View file

@ -4,9 +4,9 @@ import (
"bytes" "bytes"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/nspcc-dev/neofs-api/internal"
"github.com/nspcc-dev/neofs-api/refs"
"github.com/nspcc-dev/neofs-crypto/test" "github.com/nspcc-dev/neofs-crypto/test"
"github.com/nspcc-dev/neofs-proto/internal"
"github.com/nspcc-dev/neofs-proto/refs"
"github.com/nspcc-dev/netmap" "github.com/nspcc-dev/netmap"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View file

@ -190,30 +190,31 @@ func init() {
func init() { proto.RegisterFile("container/types.proto", fileDescriptor_1432e52ab0b53e3e) } func init() { proto.RegisterFile("container/types.proto", fileDescriptor_1432e52ab0b53e3e) }
var fileDescriptor_1432e52ab0b53e3e = []byte{ var fileDescriptor_1432e52ab0b53e3e = []byte{
// 368 bytes of a gzipped FileDescriptorProto // 371 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x4f, 0x4b, 0xfb, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x4f, 0x4b, 0xfb, 0x30,
0x1c, 0xc6, 0x97, 0xad, 0xfb, 0xfd, 0x5c, 0x36, 0x11, 0x03, 0x93, 0x32, 0xa4, 0x2b, 0x3b, 0x55, 0x1c, 0xc6, 0x97, 0xad, 0xfb, 0xfd, 0x5c, 0x36, 0x11, 0x03, 0x93, 0x32, 0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0xd5, 0xf6, 0xde, 0x46, 0xa9, 0x32, 0xba, 0xbb, 0xf1, 0x3d, 0x3a, 0x5a, 0x96, 0x0a, 0xcc, 0x92, 0x55, 0x6d, 0xef, 0x6d, 0x94, 0xaa, 0xa2,
0x5e, 0x64, 0xe7, 0x6c, 0x9e, 0x1a, 0xe0, 0x35, 0x35, 0xc0, 0x5b, 0x6a, 0x80, 0xcf, 0xd4, 0x00, 0xeb, 0x45, 0x76, 0xce, 0xe6, 0x89, 0x01, 0x5e, 0x13, 0x03, 0xbc, 0x25, 0x06, 0xf8, 0x4c, 0x0c,
0x2f, 0x5f, 0x46, 0xe1, 0xfe, 0xaf, 0xbd, 0xd3, 0x31, 0xb7, 0xd5, 0x26, 0xf3, 0x97, 0x87, 0xff, 0xf0, 0xf2, 0x65, 0x14, 0xee, 0xad, 0x3f, 0xf6, 0x4e, 0xc7, 0xc2, 0xf6, 0x59, 0xe0, 0xe6, 0xef,
0xa4, 0x71, 0xf2, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x13, 0x1b, 0x01, 0x24, 0x4e, 0x02, 0x00, 0x00, 0x0e, 0xff, 0xa9, 0x6d, 0x9e, 0x7c, 0x07, 0x00, 0x00, 0xff, 0xff, 0xb8, 0xe6, 0x51, 0x5d, 0x4c,
0x02, 0x00, 0x00,
} }
func (m *Container) Marshal() (dAtA []byte, err error) { func (m *Container) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package container; package container;
option go_package = "github.com/nspcc-dev/neofs-proto/container"; option go_package = "github.com/nspcc-dev/neofs-api/container";
import "github.com/nspcc-dev/netmap/selector.proto"; import "github.com/nspcc-dev/netmap/selector.proto";
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";

View file

@ -4,8 +4,8 @@ import (
"testing" "testing"
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"
"github.com/nspcc-dev/neofs-api/refs"
"github.com/nspcc-dev/neofs-crypto/test" "github.com/nspcc-dev/neofs-crypto/test"
"github.com/nspcc-dev/neofs-proto/refs"
"github.com/nspcc-dev/netmap" "github.com/nspcc-dev/netmap"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -83,7 +83,7 @@ func init() {
func init() { proto.RegisterFile("decimal/decimal.proto", fileDescriptor_e7e70e1773836c80) } func init() { proto.RegisterFile("decimal/decimal.proto", fileDescriptor_e7e70e1773836c80) }
var fileDescriptor_e7e70e1773836c80 = []byte{ var fileDescriptor_e7e70e1773836c80 = []byte{
// 181 bytes of a gzipped FileDescriptorProto // 183 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0x49, 0x4d, 0xce, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0x49, 0x4d, 0xce,
0xcc, 0x4d, 0xcc, 0xd1, 0x87, 0xd2, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0xec, 0x50, 0xae, 0xcc, 0x4d, 0xcc, 0xd1, 0x87, 0xd2, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0xec, 0x50, 0xae,
0x94, 0x6e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x7a, 0x7e, 0x7a, 0x94, 0x6e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x7a, 0x7e, 0x7a,
@ -91,11 +91,11 @@ var fileDescriptor_e7e70e1773836c80 = []byte{
0x2e, 0x76, 0x17, 0x88, 0x4e, 0x21, 0x11, 0x2e, 0xd6, 0xb0, 0xc4, 0x9c, 0xd2, 0x54, 0x09, 0x46, 0x2e, 0x76, 0x17, 0x88,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21, 0xc8, 0x84, 0x79, 0x20, 0x89, 0x0d, 0xec, 0x12, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8d,
0x20, 0xdc, 0x00, 0x00, 0x00, 0xc1, 0x18, 0x3c, 0xda, 0x00, 0x00, 0x00,
} }
func (m *Decimal) Marshal() (dAtA []byte, err error) { func (m *Decimal) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package decimal; package decimal;
option go_package = "github.com/nspcc-dev/neofs-proto/decimal"; option go_package = "github.com/nspcc-dev/neofs-api/decimal";
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/nspcc-dev/neofs-proto module github.com/nspcc-dev/neofs-api
go 1.13 go 1.13

View file

@ -4,7 +4,7 @@ import (
"bytes" "bytes"
"github.com/mr-tron/base58" "github.com/mr-tron/base58"
"github.com/nspcc-dev/neofs-proto/internal" "github.com/nspcc-dev/neofs-api/internal"
"github.com/nspcc-dev/tzhash/tz" "github.com/nspcc-dev/tzhash/tz"
"github.com/pkg/errors" "github.com/pkg/errors"
) )
@ -70,7 +70,7 @@ func (h Hash) Verify(data []byte) bool { return h.Equal(Sum(data)) }
// Validate checks if combined hashes are equal to current Hash. // Validate checks if combined hashes are equal to current Hash.
func (h Hash) Validate(hashes []Hash) bool { func (h Hash) Validate(hashes []Hash) bool {
var hashBytes = make([][]byte, 0, len(hashes)) hashBytes := make([][]byte, 0, len(hashes))
for i := range hashes { for i := range hashes {
hashBytes = append(hashBytes, hashes[i].Bytes()) hashBytes = append(hashBytes, hashes[i].Bytes())
} }

View file

@ -1,7 +1,8 @@
package object package object
// todo: all extensions must be transferred to the separate util library // todo: all extensions must be transferred to the separate util library
import "github.com/nspcc-dev/neofs-proto/storagegroup" import "github.com/nspcc-dev/neofs-api/storagegroup"
// IsLinking checks if object has children links to another objects. // IsLinking checks if object has children links to another objects.
// We have to check payload size because zero-object must have zero // We have to check payload size because zero-object must have zero

View file

@ -1,11 +1,11 @@
package object package object
import ( import (
"github.com/nspcc-dev/neofs-proto/hash" "github.com/nspcc-dev/neofs-api/hash"
"github.com/nspcc-dev/neofs-proto/internal" "github.com/nspcc-dev/neofs-api/internal"
"github.com/nspcc-dev/neofs-proto/refs" "github.com/nspcc-dev/neofs-api/refs"
"github.com/nspcc-dev/neofs-proto/service" "github.com/nspcc-dev/neofs-api/service"
"github.com/nspcc-dev/neofs-proto/session" "github.com/nspcc-dev/neofs-api/session"
) )
type ( type (

View file

@ -8,9 +8,9 @@ import (
fmt "fmt" fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto" _ "github.com/gogo/protobuf/gogoproto"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
refs "github.com/nspcc-dev/neofs-proto/refs" refs "github.com/nspcc-dev/neofs-api/refs"
service "github.com/nspcc-dev/neofs-proto/service" service "github.com/nspcc-dev/neofs-api/service"
session "github.com/nspcc-dev/neofs-proto/session" session "github.com/nspcc-dev/neofs-api/session"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
@ -883,60 +883,60 @@ func init() {
func init() { proto.RegisterFile("object/service.proto", fileDescriptor_dfcdf610ade6a9ce) } func init() { proto.RegisterFile("object/service.proto", fileDescriptor_dfcdf610ade6a9ce) }
var fileDescriptor_dfcdf610ade6a9ce = []byte{ var fileDescriptor_dfcdf610ade6a9ce = []byte{
// 842 bytes of a gzipped FileDescriptorProto // 843 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4b, 0x4f, 0xe3, 0x56, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 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,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package object; package object;
option go_package = "github.com/nspcc-dev/neofs-proto/object"; option go_package = "github.com/nspcc-dev/neofs-api/object";
import "refs/types.proto"; import "refs/types.proto";
import "object/types.proto"; import "object/types.proto";

View file

@ -3,8 +3,8 @@ package object
import ( import (
"sort" "sort"
"github.com/nspcc-dev/neofs-proto/refs" "github.com/nspcc-dev/neofs-api/refs"
"github.com/nspcc-dev/neofs-proto/storagegroup" "github.com/nspcc-dev/neofs-api/storagegroup"
) )
// Here are defined getter functions for objects that contain storage group // Here are defined getter functions for objects that contain storage group

View file

@ -5,8 +5,8 @@ import (
"sort" "sort"
"testing" "testing"
"github.com/nspcc-dev/neofs-proto/hash" "github.com/nspcc-dev/neofs-api/hash"
"github.com/nspcc-dev/neofs-proto/storagegroup" "github.com/nspcc-dev/neofs-api/storagegroup"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -5,9 +5,9 @@ import (
"context" "context"
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"
"github.com/nspcc-dev/neofs-proto/internal" "github.com/nspcc-dev/neofs-api/internal"
"github.com/nspcc-dev/neofs-proto/refs" "github.com/nspcc-dev/neofs-api/refs"
"github.com/nspcc-dev/neofs-proto/session" "github.com/nspcc-dev/neofs-api/session"
) )
type ( type (

View file

@ -7,9 +7,9 @@ import (
fmt "fmt" fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto" _ "github.com/gogo/protobuf/gogoproto"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
refs "github.com/nspcc-dev/neofs-proto/refs" refs "github.com/nspcc-dev/neofs-api/refs"
session "github.com/nspcc-dev/neofs-proto/session" session "github.com/nspcc-dev/neofs-api/session"
storagegroup "github.com/nspcc-dev/neofs-proto/storagegroup" storagegroup "github.com/nspcc-dev/neofs-api/storagegroup"
io "io" io "io"
math "math" math "math"
math_bits "math/bits" math_bits "math/bits"
@ -826,63 +826,63 @@ func init() {
func init() { proto.RegisterFile("object/types.proto", fileDescriptor_02021a1d39b1aee0) } func init() { proto.RegisterFile("object/types.proto", fileDescriptor_02021a1d39b1aee0) }
var fileDescriptor_02021a1d39b1aee0 = []byte{ var fileDescriptor_02021a1d39b1aee0 = []byte{
// 892 bytes of a gzipped FileDescriptorProto // 893 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x55, 0xcb, 0x72, 0x1b, 0x45, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x55, 0xdd, 0x6e, 0x1b, 0x45,
0x14, 0xd5, 0x48, 0xa3, 0xd7, 0xd5, 0x38, 0x9e, 0x34, 0x21, 0x4c, 0x89, 0x42, 0x36, 0x53, 0x3c, 0x14, 0xf6, 0xda, 0xeb, 0xbf, 0xe3, 0x4d, 0xb3, 0x1d, 0x4a, 0x59, 0x05, 0xe1, 0x84, 0x15, 0x45,
0x4c, 0xc0, 0xe3, 0xc2, 0x81, 0x4a, 0xb1, 0x80, 0xc2, 0xb2, 0x28, 0xa4, 0x22, 0x60, 0x55, 0xfb, 0xa1, 0x90, 0xb5, 0x48, 0x41, 0x15, 0x42, 0x42, 0xc4, 0x31, 0xc2, 0x16, 0x85, 0x58, 0x93, 0x9f,
0xb1, 0x60, 0x37, 0x92, 0x5a, 0xa3, 0xc6, 0x52, 0xb7, 0xaa, 0xbb, 0x27, 0x89, 0x7e, 0x83, 0x15, 0x0b, 0xee, 0xd6, 0xf6, 0x78, 0x3d, 0xc4, 0x9e, 0xb1, 0x66, 0x66, 0xdb, 0xfa, 0x35, 0xb8, 0xe2,
0x3b, 0x3e, 0x83, 0x5f, 0xc8, 0x92, 0x25, 0x95, 0x85, 0x8b, 0x32, 0x1f, 0xc0, 0x2f, 0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xf7, 0x32, 0x69, 0x49, 0x94, 0x91, 0xf4, 0x64, 0xa4, 0x56, 0x4f, 0xec,
0x71, 0x06, 0xfd, 0x0f, 0x0b, 0xb7, 0x71, 0xfb, 0xba, 0x4e, 0xce, 0x3f, 0x01, 0xfd, 0x6f, 0x5f, 0x8d, 0xb3, 0xd0, 0xff, 0xb8, 0x30, 0x8d, 0xdb, 0xe7, 0x3a, 0xb9, 0xff, 0x24, 0xe8, 0x7f, 0xfb,
0xde, 0xf6, 0xac, 0xbf, 0x6f, 0x7b, 0xd6, 0x3f, 0xb7, 0x3d, 0xeb, 0xdf, 0xdb, 0x9e, 0xf5, 0xc7, 0xea, 0xb6, 0x6b, 0xfd, 0x7d, 0xdb, 0xb5, 0xfe, 0xb9, 0xed, 0x5a, 0xff, 0xde, 0x76, 0xad, 0x3f,
0x7f, 0xbd, 0xca, 0xaf, 0x9f, 0x16, 0x3e, 0x31, 0x4c, 0xae, 0xa7, 0xd3, 0xc3, 0x19, 0x79, 0x76, 0xfe, 0xeb, 0x56, 0x7e, 0x7d, 0x54, 0xf8, 0xc4, 0x30, 0xb9, 0x9e, 0x4e, 0x8f, 0x66, 0xe4, 0x79,
0xc4, 0x08, 0x9f, 0xcb, 0xc3, 0xe4, 0x03, 0x93, 0x74, 0x34, 0x69, 0x18, 0xf4, 0xf8, 0x75, 0x00, 0x8f, 0x11, 0x3e, 0x97, 0x47, 0xe1, 0x9a, 0xf6, 0x92, 0x7a, 0x26, 0x0d, 0xf3, 0x85, 0x79, 0xf2,
0x00, 0x00, 0xff, 0xff, 0x95, 0x5d, 0xc3, 0x1e, 0xf1, 0x06, 0x00, 0x00, 0x26, 0x00, 0x00, 0xff, 0xff, 0xf4, 0x71, 0x76, 0x6c, 0xef, 0x06, 0x00, 0x00,
} }
func (m *Range) Marshal() (dAtA []byte, err error) { func (m *Range) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package object; package object;
option go_package = "github.com/nspcc-dev/neofs-proto/object"; option go_package = "github.com/nspcc-dev/neofs-api/object";
import "refs/types.proto"; import "refs/types.proto";
import "session/types.proto"; import "session/types.proto";

View file

@ -4,7 +4,7 @@ import (
"io" "io"
"strconv" "strconv"
"github.com/nspcc-dev/neofs-proto/session" "github.com/nspcc-dev/neofs-api/session"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View file

@ -4,11 +4,11 @@ import (
"testing" "testing"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/nspcc-dev/neofs-api/container"
"github.com/nspcc-dev/neofs-api/refs"
"github.com/nspcc-dev/neofs-api/session"
crypto "github.com/nspcc-dev/neofs-crypto" crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-crypto/test" "github.com/nspcc-dev/neofs-crypto/test"
"github.com/nspcc-dev/neofs-proto/container"
"github.com/nspcc-dev/neofs-proto/refs"
"github.com/nspcc-dev/neofs-proto/session"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )
@ -128,7 +128,6 @@ func TestObject_Verify(t *testing.T) {
// re-sign object // re-sign object
obj.Sign(sessionkey) obj.Sign(sessionkey)
t.Run("incorrect with bad public key", func(t *testing.T) { t.Run("incorrect with bad public key", func(t *testing.T) {
err = obj.Verify() err = obj.Verify()
require.Error(t, err) require.Error(t, err)

View file

@ -163,7 +163,7 @@ func init() {
func init() { proto.RegisterFile("query/types.proto", fileDescriptor_c682aeaf51d46f4d) } func init() { proto.RegisterFile("query/types.proto", fileDescriptor_c682aeaf51d46f4d) }
var fileDescriptor_c682aeaf51d46f4d = []byte{ var fileDescriptor_c682aeaf51d46f4d = []byte{
// 275 bytes of a gzipped FileDescriptorProto // 278 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2c, 0x2c, 0x4d, 0x2d, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2c, 0x2c, 0x4d, 0x2d,
0xaa, 0xd4, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0xaa, 0xd4, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05,
0x0b, 0x49, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0x0b, 0x49, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7,
@ -177,11 +177,11 @@ var fileDescriptor_c682aeaf51d46f4d = []byte{
0x28, 0x35, 0x3d, 0xb5, 0x42, 0x80, 0xd1, 0x8a, 0x65, 0xc6, 0x02, 0x79, 0x06, 0x25, 0x1b, 0x2e, 0x28, 0x35, 0x3d, 0xb5, 0x42, 0x80, 0xd1, 0x8a, 0x65, 0xc6, 0x02, 0x79, 0x06, 0x25, 0x1b, 0x2e,
0xd6, 0x40, 0x90, 0x95, 0x42, 0xba, 0x5c, 0xec, 0x10, 0x5b, 0x8b, 0x25, 0x18, 0x15, 0x98, 0x35, 0xd6, 0x40, 0x90, 0x95, 0x42, 0xba, 0x5c, 0xec, 0x10, 0x5b, 0x8b, 0x25, 0x18, 0x15, 0x98, 0x35,
0xb8, 0x8d, 0x78, 0x51, 0xdc, 0xe2, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, 0x4c, 0x0d, 0x44, 0xb8, 0x8d, 0x78, 0x51, 0xdc, 0xe2, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, 0x4c, 0x0d, 0x44,
0xb7, 0x93, 0xcd, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0xde, 0x78, 0x24, 0xc7, 0xf8, 0xb7, 0x93, 0xd5, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0xde, 0x78, 0x24, 0xc7, 0xf8,
0xe0, 0x91, 0x1c, 0xe3, 0x8c, 0xc7, 0x72, 0x0c, 0x51, 0x6a, 0x48, 0xa1, 0x91, 0x57, 0x5c, 0x90, 0xe0, 0x91, 0x1c, 0xe3, 0x8c, 0xc7, 0x72, 0x0c, 0x51, 0x2a, 0x48, 0xa1, 0x91, 0x57, 0x5c, 0x90,
0x9c, 0xac, 0x9b, 0x92, 0x5a, 0xa6, 0x9f, 0x97, 0x9a, 0x9f, 0x56, 0xac, 0x0b, 0x09, 0x0b, 0xb0, 0x9c, 0xac, 0x9b, 0x92, 0x5a, 0xa6, 0x9f, 0x97, 0x9a, 0x9f, 0x56, 0xac, 0x9b, 0x58, 0x90, 0xa9,
0xc9, 0x49, 0x6c, 0x60, 0x8e, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xcd, 0xeb, 0xf6, 0x58, 0x0f, 0x36, 0x37, 0x89, 0x0d, 0x1c, 0x16, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x7c,
0x01, 0x00, 0x00, 0x6b, 0x50, 0x56, 0x01, 0x00, 0x00,
} }
func (m *Filter) Marshal() (dAtA []byte, err error) { func (m *Filter) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package query; package query;
option go_package = "github.com/nspcc-dev/neofs-proto/query"; option go_package = "github.com/nspcc-dev/neofs-api/query";
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";

View file

@ -4,7 +4,7 @@ import (
"crypto/sha256" "crypto/sha256"
"strings" "strings"
"github.com/nspcc-dev/neofs-proto/internal" "github.com/nspcc-dev/neofs-api/internal"
) )
const ( const (

View file

@ -5,7 +5,7 @@ import (
"crypto/ecdsa" "crypto/ecdsa"
"github.com/mr-tron/base58" "github.com/mr-tron/base58"
"github.com/nspcc-dev/neofs-proto/chain" "github.com/nspcc-dev/neofs-api/chain"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View file

@ -13,8 +13,8 @@ import (
"crypto/sha256" "crypto/sha256"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/nspcc-dev/neofs-proto/chain" "github.com/nspcc-dev/neofs-api/chain"
"github.com/nspcc-dev/neofs-proto/internal" "github.com/nspcc-dev/neofs-api/internal"
) )
type ( type (

View file

@ -69,7 +69,7 @@ func init() {
func init() { proto.RegisterFile("refs/types.proto", fileDescriptor_063a64a96d952d31) } func init() { proto.RegisterFile("refs/types.proto", fileDescriptor_063a64a96d952d31) }
var fileDescriptor_063a64a96d952d31 = []byte{ var fileDescriptor_063a64a96d952d31 = []byte{
// 199 bytes of a gzipped FileDescriptorProto // 201 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x28, 0x4a, 0x4d, 0x2b, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x28, 0x4a, 0x4d, 0x2b,
0xd6, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x01, 0x89, 0xd6, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x01, 0x89,
0x48, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xa7, 0x48, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xa7,
@ -77,12 +77,12 @@ var fileDescriptor_063a64a96d952d31 = []byte{
0xe3, 0x62, 0x77, 0x4c, 0x49, 0x29, 0x4a, 0x2d, 0x2e, 0x16, 0xd2, 0xe1, 0xe2, 0xf0, 0x4f, 0xca, 0xe3, 0x62, 0x77, 0x4c, 0x49, 0x29, 0x4a, 0x2d, 0x2e, 0x16, 0xd2, 0xe1, 0xe2, 0xf0, 0x4f, 0xca,
0x4a, 0x4d, 0x2e, 0xf1, 0x74, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x71, 0x12, 0x38, 0x71, 0x4f, 0x4a, 0x4d, 0x2e, 0xf1, 0x74, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x71, 0x12, 0x38, 0x71, 0x4f,
0x9e, 0xe1, 0xd6, 0x3d, 0x79, 0xb8, 0x78, 0x10, 0x9c, 0x25, 0x24, 0xcb, 0xc5, 0xec, 0xec, 0xe9, 0x9e, 0xe1, 0xd6, 0x3d, 0x79, 0xb8, 0x78, 0x10, 0x9c, 0x25, 0x24, 0xcb, 0xc5, 0xec, 0xec, 0xe9,
0x22, 0xc1, 0x04, 0x56, 0xc8, 0x0d, 0x55, 0x08, 0x12, 0x0a, 0x02, 0x11, 0x4e, 0xce, 0x37, 0x1e, 0x22, 0xc1, 0x04, 0x56, 0xc8, 0x0d, 0x55, 0x08, 0x12, 0x0a, 0x02, 0x11, 0x4e, 0x8e, 0x37, 0x1e,
0xca, 0x31, 0x34, 0x3c, 0x92, 0x63, 0x38, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x1b, 0xca, 0x31, 0x34, 0x3c, 0x92, 0x63, 0x38, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x1b,
0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x15, 0xc9, 0x91, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x19, 0xc9, 0x91,
0x79, 0xc5, 0x05, 0xc9, 0xc9, 0xba, 0x29, 0xa9, 0x65, 0xfa, 0x79, 0xa9, 0xf9, 0x69, 0xc5, 0xba, 0x79, 0xc5, 0x05, 0xc9, 0xc9, 0xba, 0x29, 0xa9, 0x65, 0xfa, 0x79, 0xa9, 0xf9, 0x69, 0xc5, 0xba,
0x10, 0x27, 0x82, 0xfc, 0x92, 0xc4, 0x06, 0x66, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x89, 0x05, 0x99, 0xfa, 0x20, 0x9f, 0x24, 0xb1, 0x81, 0x5d, 0x68, 0x0c, 0x08, 0x00, 0x00, 0xff,
0xb6, 0x0b, 0x68, 0xec, 0x00, 0x00, 0x00, 0xff, 0x50, 0xaf, 0xc5, 0x62, 0xea, 0x00, 0x00, 0x00,
} }
func (m *Address) Marshal() (dAtA []byte, err error) { func (m *Address) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package refs; package refs;
option go_package = "github.com/nspcc-dev/neofs-proto/refs"; option go_package = "github.com/nspcc-dev/neofs-api/refs";
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";

View file

@ -1,7 +1,7 @@
package service package service
import ( import (
"github.com/nspcc-dev/neofs-proto/internal" "github.com/nspcc-dev/neofs-api/internal"
"github.com/pkg/errors" "github.com/pkg/errors"
"google.golang.org/grpc/codes" "google.golang.org/grpc/codes"
"google.golang.org/grpc/status" "google.golang.org/grpc/status"
@ -94,7 +94,7 @@ func IRNonForwarding(role NodeRole) TTLCondition {
// ProcessRequestTTL validates and update ttl requests. // ProcessRequestTTL validates and update ttl requests.
func ProcessRequestTTL(req MetaHeader, cond ...TTLCondition) error { func ProcessRequestTTL(req MetaHeader, cond ...TTLCondition) error {
var ttl = req.GetTTL() ttl := req.GetTTL()
if ttl == ZeroTTL { if ttl == ZeroTTL {
return status.New(codes.InvalidArgument, ErrZeroTTL.Error()).Err() return status.New(codes.InvalidArgument, ErrZeroTTL.Error()).Err()

View file

@ -95,7 +95,7 @@ func init() {
func init() { proto.RegisterFile("service/meta.proto", fileDescriptor_a638867e7b43457c) } func init() { proto.RegisterFile("service/meta.proto", fileDescriptor_a638867e7b43457c) }
var fileDescriptor_a638867e7b43457c = []byte{ var fileDescriptor_a638867e7b43457c = []byte{
// 202 bytes of a gzipped FileDescriptorProto // 204 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2a, 0x4e, 0x2d, 0x2a, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2a, 0x4e, 0x2d, 0x2a,
0xcb, 0x4c, 0x4e, 0xd5, 0xcf, 0x4d, 0x2d, 0x49, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xcb, 0x4c, 0x4e, 0xd5, 0xcf, 0x4d, 0x2d, 0x49, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62,
0x87, 0x8a, 0x49, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0x87, 0x8a, 0x49, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7,
@ -104,11 +104,11 @@ var fileDescriptor_a638867e7b43457c = []byte{
0x48, 0x4d, 0x4c, 0x49, 0x2d, 0x12, 0x12, 0xe0, 0x62, 0x0e, 0x09, 0xf1, 0x91, 0x60, 0x54, 0x60, 0x48, 0x4d, 0x4c, 0x49, 0x2d, 0x12, 0x12, 0xe0, 0x62, 0x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x26, 0x16, 0x64, 0xea, 0x43, 0xfd, 0x90, 0xc4, 0x06, 0x76, 0x9b, 0x31, 0x20,
0xff, 0xff, 0x6b, 0x83, 0x1d, 0xcf, 0xeb, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x4d, 0x59, 0x8e, 0xe9, 0x00, 0x00, 0x00,
} }
func (m *RequestMetaHeader) Marshal() (dAtA []byte, err error) { func (m *RequestMetaHeader) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package service; package service;
option go_package = "github.com/nspcc-dev/neofs-proto/service"; option go_package = "github.com/nspcc-dev/neofs-api/service";
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";

View file

@ -4,9 +4,9 @@ import (
"crypto/ecdsa" "crypto/ecdsa"
"sync" "sync"
"github.com/nspcc-dev/neofs-api/internal"
"github.com/nspcc-dev/neofs-api/refs"
crypto "github.com/nspcc-dev/neofs-crypto" crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-proto/internal"
"github.com/nspcc-dev/neofs-proto/refs"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View file

@ -179,7 +179,7 @@ func init() {
func init() { proto.RegisterFile("service/verify.proto", fileDescriptor_4bdd5bc50ec96238) } func init() { proto.RegisterFile("service/verify.proto", fileDescriptor_4bdd5bc50ec96238) }
var fileDescriptor_4bdd5bc50ec96238 = []byte{ var fileDescriptor_4bdd5bc50ec96238 = []byte{
// 270 bytes of a gzipped FileDescriptorProto // 272 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x29, 0x4e, 0x2d, 0x2a, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x29, 0x4e, 0x2d, 0x2a,
0xcb, 0x4c, 0x4e, 0xd5, 0x2f, 0x4b, 0x2d, 0xca, 0x4c, 0xab, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0xcb, 0x4c, 0x4e, 0xd5, 0x2f, 0x4b, 0x2d, 0xca, 0x4c, 0xab, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9,
0x17, 0x62, 0x87, 0x8a, 0x4a, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0x17, 0x62, 0x87, 0x8a, 0x4a, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7,
@ -192,11 +192,11 @@ var fileDescriptor_4bdd5bc50ec96238 = []byte{
0x13, 0x04, 0x17, 0x0b, 0x48, 0x4d, 0x2d, 0x92, 0x60, 0x82, 0x88, 0x81, 0xd8, 0x52, 0x93, 0x19, 0x13, 0x04, 0x17, 0x0b, 0x48, 0x4d, 0x2d, 0x92, 0x60, 0x82, 0x88, 0x81, 0xd8, 0x52, 0x93, 0x19,
0xb9, 0x38, 0xe1, 0xda, 0x85, 0x5c, 0x91, 0x74, 0x71, 0x1b, 0xa9, 0x13, 0xe9, 0x0a, 0x27, 0x8e, 0xb9, 0x38, 0xe1, 0xda, 0x85, 0x5c, 0x91, 0x74, 0x71, 0x1b, 0xa9, 0x13, 0xe9, 0x0a, 0x27, 0x8e,
0x13, 0xf7, 0xe4, 0x19, 0x2e, 0xdc, 0x93, 0x67, 0x84, 0x5a, 0x64, 0xcf, 0xc5, 0xe6, 0x5f, 0x94, 0x13, 0xf7, 0xe4, 0x19, 0x2e, 0xdc, 0x93, 0x67, 0x84, 0x5a, 0x64, 0xcf, 0xc5, 0xe6, 0x5f, 0x94,
0x99, 0x9e, 0x99, 0x07, 0xb6, 0x8a, 0x78, 0x83, 0x82, 0xa0, 0xda, 0x9c, 0xec, 0x4e, 0x3c, 0x92, 0x99, 0x9e, 0x99, 0x07, 0xb6, 0x8a, 0x78, 0x83, 0x82, 0xa0, 0xda, 0x9c, 0x6c, 0x4e, 0x3c, 0x92,
0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc6, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x67, 0x3c, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc6, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x67, 0x3c,
0x96, 0x63, 0x88, 0xd2, 0x40, 0x0a, 0xf6, 0xbc, 0xe2, 0x82, 0xe4, 0x64, 0xdd, 0x94, 0xd4, 0x32, 0x96, 0x63, 0x88, 0x52, 0x43, 0x0a, 0xf6, 0xbc, 0xe2, 0x82, 0xe4, 0x64, 0xdd, 0x94, 0xd4, 0x32,
0xfd, 0xbc, 0xd4, 0xfc, 0xb4, 0x62, 0x5d, 0x48, 0xa0, 0x43, 0xad, 0x49, 0x62, 0x03, 0x73, 0x8d, 0xfd, 0xbc, 0xd4, 0xfc, 0xb4, 0x62, 0xdd, 0xc4, 0x82, 0x4c, 0x7d, 0xa8, 0x25, 0x49, 0x6c, 0xe0,
0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x15, 0xf6, 0x5e, 0xc8, 0x01, 0x00, 0x00, 0x60, 0x37, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x7a, 0xfc, 0xec, 0x11, 0xc6, 0x01, 0x00, 0x00,
} }
func (m *RequestVerificationHeader) Marshal() (dAtA []byte, err error) { func (m *RequestVerificationHeader) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package service; package service;
option go_package = "github.com/nspcc-dev/neofs-proto/service"; option go_package = "github.com/nspcc-dev/neofs-api/service";
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";

View file

@ -7,9 +7,9 @@ import (
"testing" "testing"
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"
"github.com/nspcc-dev/neofs-api/refs"
crypto "github.com/nspcc-dev/neofs-crypto" crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-crypto/test" "github.com/nspcc-dev/neofs-crypto/test"
"github.com/nspcc-dev/neofs-proto/refs"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -92,28 +92,28 @@ func init() {
func init() { proto.RegisterFile("service/verify_test.proto", fileDescriptor_1effa83201a30d75) } func init() { proto.RegisterFile("service/verify_test.proto", fileDescriptor_1effa83201a30d75) }
var fileDescriptor_1effa83201a30d75 = []byte{ var fileDescriptor_1effa83201a30d75 = []byte{
// 322 bytes of a gzipped FileDescriptorProto // 326 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x31, 0x4f, 0xc3, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xb1, 0x4e, 0xf3, 0x30,
0x10, 0x85, 0xeb, 0x52, 0x4a, 0x71, 0x90, 0x90, 0x0c, 0x43, 0xc9, 0x90, 0x46, 0x9d, 0xb2, 0x34, 0x14, 0x85, 0xeb, 0xfe, 0xfd, 0x4b, 0x71, 0x90, 0x90, 0x0c, 0x43, 0xc9, 0x90, 0x46, 0x1d, 0x50,
0x91, 0x40, 0x48, 0x4c, 0x0c, 0x01, 0x21, 0x18, 0x58, 0x02, 0x62, 0x60, 0x41, 0x49, 0x7a, 0x0d, 0x96, 0x26, 0x12, 0x08, 0x89, 0x81, 0x29, 0x20, 0x04, 0x03, 0x4b, 0x40, 0x0c, 0x2c, 0x28, 0x49,
0x96, 0x68, 0x5c, 0xe2, 0x4b, 0xa5, 0xfe, 0x13, 0x66, 0x7e, 0x4d, 0xc7, 0x8e, 0x88, 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x6a, 0x3d, 0x20, 0x91, 0x6a, 0xb0, 0x73, 0xda, 0xd5, 0x49, 0x3f, 0x55, 0xdd, 0xe1, 0xdf, 0xee, 0x1e, 0xb4, 0x56, 0xeb, 0x01, 0x89, 0x54, 0x82, 0x9d, 0xd1, 0xae, 0x76, 0xfa, 0xa9, 0xca, 0x0e,
0x5d, 0xbd, 0x3b, 0x9e, 0xc6, 0xc8, 0x45, 0xfe, 0xef, 0x0e, 0xd3, 0x0d, 0x4f, 0x97, 0x95, 0x43, 0x7f, 0x67, 0x6f, 0xeb, 0xee, 0x78, 0x1a, 0x23, 0x17, 0xf9, 0x9f, 0x3b, 0x4c, 0x36, 0x3c, 0x59,
0x56, 0x95, 0x43, 0xde, 0x2a, 0x87, 0x7c, 0x54, 0x0e, 0x79, 0xf9, 0x74, 0x5a, 0xf7, 0x5e, 0x63, 0x56, 0x0e, 0x59, 0x55, 0x0e, 0x79, 0xad, 0x1c, 0xf2, 0x5e, 0x39, 0xe4, 0xf9, 0xc3, 0x69, 0xdd,
0xd3, 0xb9, 0x9c, 0xa5, 0xe9, 0x68, 0x0c, 0xf3, 0x20, 0x07, 0x31, 0x91, 0x23, 0xbd, 0x67, 0xf3, 0xed, 0x37, 0x9a, 0xce, 0xe5, 0x2c, 0x4d, 0x47, 0x63, 0x98, 0x07, 0x39, 0x88, 0x89, 0x1c, 0xc5,
0x56, 0xd2, 0x55, 0xf2, 0xe8, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x37, 0x92, 0xd2, 0xea, 0x01, 0x33, 0x1e, 0x98, 0x97, 0x92, 0xae, 0x6a, 0xfa, 0xf0, 0x33, 0x00, 0x00, 0xff, 0xff, 0x04, 0x99,
0x00, 0x00, 0x63, 0xf2, 0xe8, 0x01, 0x00, 0x00,
} }
func (m *TestRequest) Marshal() (dAtA []byte, err error) { func (m *TestRequest) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package service; package service;
option go_package = "github.com/nspcc-dev/neofs-proto/service"; option go_package = "github.com/nspcc-dev/neofs-api/service";
import "service/meta.proto"; import "service/meta.proto";
import "service/verify.proto"; import "service/verify.proto";

View file

@ -4,8 +4,8 @@ import (
"context" "context"
"crypto/ecdsa" "crypto/ecdsa"
"github.com/nspcc-dev/neofs-api/refs"
crypto "github.com/nspcc-dev/neofs-crypto" crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-proto/refs"
) )
type ( type (

View file

@ -8,7 +8,7 @@ import (
fmt "fmt" fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto" _ "github.com/gogo/protobuf/gogoproto"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
service "github.com/nspcc-dev/neofs-proto/service" service "github.com/nspcc-dev/neofs-api/service"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
@ -210,30 +210,30 @@ func init() {
func init() { proto.RegisterFile("session/service.proto", fileDescriptor_b329bee0fd1148e0) } func init() { proto.RegisterFile("session/service.proto", fileDescriptor_b329bee0fd1148e0) }
var fileDescriptor_b329bee0fd1148e0 = []byte{ var fileDescriptor_b329bee0fd1148e0 = []byte{
// 364 bytes of a gzipped FileDescriptorProto // 367 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x51, 0xbd, 0x4e, 0xeb, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x51, 0xbd, 0x6e, 0xe2, 0x40,
0x14, 0xae, 0xaf, 0xaa, 0xb4, 0xd7, 0x57, 0xb7, 0x83, 0xef, 0x0f, 0x51, 0x86, 0x14, 0x55, 0x0c, 0x10, 0x66, 0x4f, 0xc8, 0x70, 0x7b, 0x3a, 0x8a, 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 0xfa, 0x17, 0x8b, 0xd2, 0x45, 0xcb, 0xd2, 0x45, 0xaf, 0xa5, 0x8b, 0xe1, 0xe5, 0xa2, 0x5d, 0xf2, 0x9f, 0x0c, 0x4e, 0x96, 0x85, 0x4b, 0x56, 0x85, 0x4b, 0x9e, 0x0a,
0xde, 0x4a, 0x17, 0xbd, 0xbc, 0xbb, 0xb5, 0x7b, 0x6f, 0xeb, 0xe0, 0x4c, 0x64, 0x49, 0xd2, 0x1d, 0x97, 0x3c, 0x17, 0x2e, 0x79, 0x7c, 0x71, 0x6b, 0x37, 0x7f, 0x77, 0x0e, 0x2e, 0x30, 0x8d, 0xe3,
0xc3, 0x2c, 0x60, 0xc0, 0x27, 0xa2, 0xab, 0xcf, 0x6d, 0x5a, 0xc6, 0x96, 0x2a, 0x4f, 0x3f, 0x03, 0xde, 0x04, 0xe6, 0xbe, 0x00, 0x39, 0xc5, 0x5e, 0x98, 0x72, 0xdf, 0x34, 0x8c, 0x2c, 0x7d, 0xf0,
0x00, 0x00, 0xff, 0xff, 0xf6, 0xdd, 0x2a, 0xdb, 0x82, 0x02, 0x00, 0x00, 0xa3, 0xb7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfb, 0x22, 0x92, 0x20, 0x80, 0x02, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package session; package session;
option go_package = "github.com/nspcc-dev/neofs-proto/session"; option go_package = "github.com/nspcc-dev/neofs-api/session";
import "session/types.proto"; import "session/types.proto";
import "service/meta.proto"; import "service/meta.proto";

View file

@ -6,8 +6,8 @@ import (
"crypto/rand" "crypto/rand"
"sync" "sync"
"github.com/nspcc-dev/neofs-api/refs"
crypto "github.com/nspcc-dev/neofs-crypto" crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-proto/refs"
) )
type simpleStore struct { type simpleStore struct {

View file

@ -5,8 +5,8 @@ import (
"crypto/rand" "crypto/rand"
"testing" "testing"
"github.com/nspcc-dev/neofs-api/refs"
crypto "github.com/nspcc-dev/neofs-crypto" crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-proto/refs"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )
@ -76,7 +76,8 @@ func TestTokenStore(t *testing.T) {
t1 = s.New(TokenParams{ t1 = s.New(TokenParams{
ObjectID: []ObjectID{oid}, ObjectID: []ObjectID{oid},
OwnerID: c.OwnerID, OwnerID: c.OwnerID,
PublicKeys: pk}) PublicKeys: pk,
})
signToken(t, t1, c) signToken(t, t1, c)

View file

@ -5,10 +5,10 @@ import (
"encoding/binary" "encoding/binary"
"sync" "sync"
"github.com/nspcc-dev/neofs-api/chain"
"github.com/nspcc-dev/neofs-api/internal"
"github.com/nspcc-dev/neofs-api/refs"
crypto "github.com/nspcc-dev/neofs-crypto" crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-proto/chain"
"github.com/nspcc-dev/neofs-proto/internal"
"github.com/nspcc-dev/neofs-proto/refs"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View file

@ -171,30 +171,30 @@ func init() {
func init() { proto.RegisterFile("session/types.proto", fileDescriptor_c0d9d9cb855cdad8) } func init() { proto.RegisterFile("session/types.proto", fileDescriptor_c0d9d9cb855cdad8) }
var fileDescriptor_c0d9d9cb855cdad8 = []byte{ var fileDescriptor_c0d9d9cb855cdad8 = []byte{
// 358 bytes of a gzipped FileDescriptorProto // 360 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xcd, 0x4e, 0xe3, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xcf, 0x4a, 0xeb, 0x40,
0x14, 0x85, 0x9b, 0xf4, 0x77, 0x3c, 0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78, 0x2e, 0xd2, 0xf3, 0x51, 0xcb, 0x2c, 0x85, 0xd1, 0xca, 0xec, 0xd0, 0x06, 0x71, 0xce,
0xcb, 0xcc, 0xd4, 0xde, 0x32, 0x53, 0x7b, 0xcf, 0x4c, 0xed, 0x33, 0x33, 0xb5, 0x97, 0x2f, 0xb3, 0x16, 0xa9, 0xa9, 0xbd, 0xa7, 0xa6, 0xf6, 0x91, 0x9a, 0xda, 0x57, 0x6a, 0x6a, 0xaf, 0xdf, 0x66,
0x76, 0x6b, 0x6d, 0xfd, 0x2b, 0x13, 0x31, 0xc6, 0xc3, 0x29, 0x79, 0x72, 0x18, 0xe1, 0x33, 0x31, 0xe5, 0xee, 0x60, 0x63, 0xaf, 0x4c, 0x44, 0x18, 0x0f, 0x26, 0xe4, 0xd9, 0x66, 0x84, 0x4f, 0xc5,
0x2c, 0x7e, 0xb5, 0x8c, 0x35, 0x6c, 0xa9, 0xf6, 0xf8, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x33, 0xc0, 0x8f, 0xa8, 0x5d, 0x84, 0x1a, 0x34, 0xd4, 0x5e, 0x4f, 0x7e, 0x02, 0x00, 0x00, 0xff, 0xff,
0xae, 0xb5, 0x28, 0x02, 0x00, 0x00, 0xb8, 0x9f, 0x2d, 0x1d, 0x26, 0x02, 0x00, 0x00,
} }
func (m *VerificationHeader) Marshal() (dAtA []byte, err error) { func (m *VerificationHeader) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package session; package session;
option go_package = "github.com/nspcc-dev/neofs-proto/session"; option go_package = "github.com/nspcc-dev/neofs-api/session";
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";

View file

@ -8,8 +8,8 @@ import (
fmt "fmt" fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto" _ "github.com/gogo/protobuf/gogoproto"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
bootstrap "github.com/nspcc-dev/neofs-proto/bootstrap" bootstrap "github.com/nspcc-dev/neofs-api/bootstrap"
service "github.com/nspcc-dev/neofs-proto/service" service "github.com/nspcc-dev/neofs-api/service"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
@ -347,36 +347,36 @@ func init() {
func init() { proto.RegisterFile("state/service.proto", fileDescriptor_695592f6f2fc97b7) } func init() { proto.RegisterFile("state/service.proto", fileDescriptor_695592f6f2fc97b7) }
var fileDescriptor_695592f6f2fc97b7 = []byte{ var fileDescriptor_695592f6f2fc97b7 = []byte{
// 459 bytes of a gzipped FileDescriptorProto // 461 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0xbf, 0x6e, 0xdb, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0xcf, 0x6e, 0xd3, 0x40,
0x10, 0xc6, 0xc3, 0xfe, 0x51, 0xd3, 0xb3, 0x9b, 0x02, 0x8c, 0x6d, 0x08, 0x1a, 0x14, 0xc3, 0x43, 0x10, 0xc6, 0xbb, 0xfc, 0x31, 0x65, 0x12, 0x8a, 0xb4, 0x4d, 0x22, 0xcb, 0x07, 0x37, 0x8a, 0x10,
0x60, 0xa0, 0xb0, 0x04, 0xa4, 0x2d, 0x10, 0x14, 0x9d, 0x9c, 0x0c, 0x59, 0xdc, 0x41, 0x01, 0x3a, 0x8a, 0x84, 0x62, 0x4b, 0x05, 0xa4, 0xaa, 0xc7, 0xb4, 0x87, 0x5e, 0xc2, 0xc1, 0x95, 0x38, 0x70,
0x74, 0xa3, 0xe4, 0xb3, 0x2d, 0xb4, 0x16, 0x59, 0xf1, 0x64, 0xc0, 0x0f, 0x51, 0xb4, 0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 0xb8, 0xfb, 0xf9, 0x27, 0x3c, 0xf8, 0xf4, 0x6a, 0xe3, 0x49, 0x28, 0xb4, 0xca, 0xb2, 0xc1, 0x18, 0x17,
0x88, 0x0b, 0x94, 0x13, 0x3d, 0xb0, 0x0f, 0x82, 0x59, 0x2a, 0xf5, 0x8c, 0x78, 0xfd, 0x2f, 0x00, 0x71, 0x81, 0x72, 0xa2, 0x07, 0x42, 0xe5, 0xb1, 0x59, 0x28, 0xf5, 0xcc, 0x83, 0xf0, 0xf6, 0x5f,
0x00, 0xff, 0xff, 0x88, 0xd9, 0x75, 0x33, 0xa0, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x32, 0x55, 0xc1, 0x4b, 0x9e, 0x04, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package state; package state;
option go_package = "github.com/nspcc-dev/neofs-proto/state"; option go_package = "github.com/nspcc-dev/neofs-api/state";
import "service/meta.proto"; import "service/meta.proto";
import "service/verify.proto"; import "service/verify.proto";

View file

@ -3,7 +3,7 @@ package storagegroup
import ( import (
"context" "context"
"github.com/nspcc-dev/neofs-proto/refs" "github.com/nspcc-dev/neofs-api/refs"
) )
type ( type (

View file

@ -7,8 +7,8 @@ import (
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"
"github.com/mr-tron/base58" "github.com/mr-tron/base58"
"github.com/nspcc-dev/neofs-proto/hash" "github.com/nspcc-dev/neofs-api/hash"
"github.com/nspcc-dev/neofs-proto/refs" "github.com/nspcc-dev/neofs-api/refs"
) )
type ( type (

View file

@ -170,30 +170,30 @@ func init() {
func init() { proto.RegisterFile("storagegroup/types.proto", fileDescriptor_cfa54edc899249a8) } func init() { proto.RegisterFile("storagegroup/types.proto", fileDescriptor_cfa54edc899249a8) }
var fileDescriptor_cfa54edc899249a8 = []byte{ var fileDescriptor_cfa54edc899249a8 = []byte{
// 353 bytes of a gzipped FileDescriptorProto // 359 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0x31, 0x4f, 0xc2, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0xb1, 0x4e, 0xe3, 0x40,
0x18, 0xed, 0x41, 0x35, 0xf5, 0xac, 0x84, 0x5c, 0x1c, 0x1a, 0x86, 0x96, 0xe0, 0xd2, 0x85, 0x36, 0x14, 0xf4, 0x26, 0xbe, 0x93, 0x6f, 0xcf, 0x17, 0x45, 0xab, 0x2b, 0xac, 0x14, 0x76, 0x14, 0x1a,
0x01, 0x27, 0xc7, 0xaa, 0xe8, 0xa0, 0x0e, 0x45, 0x18, 0xdc, 0x8e, 0x72, 0x94, 0x4b, 0xda, 0xbb, 0x4b, 0x28, 0x6b, 0x29, 0xa1, 0xa2, 0xc3, 0x82, 0x40, 0x01, 0x14, 0x0e, 0x49, 0x41, 0xb7, 0x71,
0x86, 0x5e, 0x8d, 0xfa, 0x4b, 0x58, 0x4c, 0xfc, 0x39, 0x8c, 0x8e, 0xc6, 0xa1, 0x31, 0x75, 0xf2, 0x36, 0xce, 0x4a, 0xf6, 0xae, 0x15, 0xaf, 0x11, 0xf0, 0x25, 0x69, 0x90, 0xf8, 0x9c, 0x94, 0x94,
0x5f, 0x18, 0xae, 0x8a, 0x8d, 0x71, 0x70, 0xfb, 0xde, 0xfb, 0xde, 0xfb, 0xf2, 0xbd, 0x3c, 0x68, 0x88, 0xc2, 0x42, 0xa6, 0xe2, 0x2f, 0x50, 0x36, 0x10, 0x2c, 0x44, 0x41, 0xf7, 0x66, 0xde, 0xcc,
0xa4, 0x82, 0x2f, 0x70, 0x48, 0xc2, 0x05, 0xcf, 0x12, 0x57, 0xdc, 0x27, 0x24, 0x75, 0x92, 0x05, 0xd3, 0x3c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 0xf0, 0x34, 0xe1, 0xc1, 0xbc, 0x09, 0x90, 0x0e, 0xb5, 0x11, 0xa3, 0x77, 0x36, 0x35, 0xd4, 0x80, 0xf0, 0x9c, 0x8a, 0xc1, 0xf0, 0x28, 0x15, 0xe1, 0xbc, 0x09, 0x90, 0x09,
0xd7, 0x34, 0x26, 0xcd, 0xda, 0x91, 0xba, 0x7c, 0xb2, 0x14, 0xef, 0x78, 0x55, 0x98, 0xe0, 0xb9, 0x8d, 0x11, 0x67, 0xd7, 0x17, 0x2c, 0xa1, 0xcd, 0xda, 0xbe, 0xbe, 0xbc, 0x77, 0x34, 0xff, 0x60,
0x30, 0xc1, 0x4b, 0x61, 0x82, 0xb7, 0xc2, 0x04, 0xcb, 0x77, 0x53, 0xb9, 0xa9, 0x16, 0xc6, 0xd2, 0x55, 0xda, 0xe0, 0xa1, 0xb4, 0xc1, 0x63, 0x69, 0x83, 0xe7, 0xd2, 0x06, 0xcb, 0x17, 0x5b, 0xbb,
0x24, 0x08, 0xba, 0x53, 0x72, 0xeb, 0x32, 0xc2, 0x67, 0x69, 0xb7, 0xac, 0xab, 0x1a, 0x60, 0xb2, 0xdc, 0xad, 0x14, 0xc6, 0xb3, 0x34, 0x0c, 0xbb, 0x53, 0x7a, 0xe5, 0x71, 0x2a, 0x66, 0x59, 0x97,
0x2d, 0xb9, 0xfe, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x91, 0x55, 0xe3, 0x01, 0x10, 0x02, 0x00, 0xa4, 0xcc, 0xab, 0xc6, 0x9f, 0xfc, 0x56, 0xad, 0xf5, 0xdf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x74,
0x00, 0xed, 0x88, 0xb3, 0x0e, 0x02, 0x00, 0x00,
} }
func (m *StorageGroup) Marshal() (dAtA []byte, err error) { func (m *StorageGroup) Marshal() (dAtA []byte, err error) {

View file

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package storagegroup; package storagegroup;
option go_package = "github.com/nspcc-dev/neofs-proto/storagegroup"; option go_package = "github.com/nspcc-dev/neofs-api/storagegroup";
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";