Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
bb105b36
Commit
bb105b36
authored
Sep 02, 2019
by
linj
Committed by
vipwzw
Sep 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix create_protobuf.sh
parent
093e15cd
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
71 additions
and
34 deletions
+71
-34
create_protobuf.sh
plugin/dapp/autonomy/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/blackwhite/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/cert/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/evm/proto/create_protobuf.sh
+2
-1
create_protobuf.sh
plugin/dapp/game/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/guess/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/hashlock/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/lottery/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/multisig/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/norm/proto/create_protobuf.sh
+3
-1
norm.pb.go
plugin/dapp/norm/types/norm.pb.go
+9
-13
create_protobuf.sh
plugin/dapp/oracle/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/paracross/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/pokerbull/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/privacy/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/relay/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/retrieve/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/ticket/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/token/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/trade/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/unfreeze/proto/create_protobuf.sh
+3
-1
create_protobuf.sh
plugin/dapp/valnode/proto/create_protobuf.sh
+3
-1
No files found.
plugin/dapp/autonomy/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
$GOPATH
/src/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/blackwhite/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/cert/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/evm/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/game/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/guess/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/hashlock/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/lottery/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/multisig/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/norm/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/norm/types/norm.pb.go
View file @
bb105b36
...
@@ -3,13 +3,9 @@
...
@@ -3,13 +3,9 @@
package
types
package
types
import
(
import
proto
"github.com/golang/protobuf/proto"
fmt
"fmt"
import
fmt
"fmt"
import
math
"math"
proto
"github.com/golang/protobuf/proto"
math
"math"
)
// Reference imports to suppress errors if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
proto
.
Marshal
...
@@ -36,7 +32,7 @@ func (m *Norm) Reset() { *m = Norm{} }
...
@@ -36,7 +32,7 @@ func (m *Norm) Reset() { *m = Norm{} }
func
(
m
*
Norm
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
Norm
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Norm
)
ProtoMessage
()
{}
func
(
*
Norm
)
ProtoMessage
()
{}
func
(
*
Norm
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
Norm
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_norm_
f2aed6c5a9608057
,
[]
int
{
0
}
return
fileDescriptor_norm_
5c11b861b8e3252c
,
[]
int
{
0
}
}
}
func
(
m
*
Norm
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
Norm
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Norm
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_Norm
.
Unmarshal
(
m
,
b
)
...
@@ -98,7 +94,7 @@ func (m *NormAction) Reset() { *m = NormAction{} }
...
@@ -98,7 +94,7 @@ func (m *NormAction) Reset() { *m = NormAction{} }
func
(
m
*
NormAction
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
NormAction
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
NormAction
)
ProtoMessage
()
{}
func
(
*
NormAction
)
ProtoMessage
()
{}
func
(
*
NormAction
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
NormAction
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_norm_
f2aed6c5a9608057
,
[]
int
{
1
}
return
fileDescriptor_norm_
5c11b861b8e3252c
,
[]
int
{
1
}
}
}
func
(
m
*
NormAction
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
NormAction
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_NormAction
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_NormAction
.
Unmarshal
(
m
,
b
)
...
@@ -216,7 +212,7 @@ func (m *NormPut) Reset() { *m = NormPut{} }
...
@@ -216,7 +212,7 @@ func (m *NormPut) Reset() { *m = NormPut{} }
func
(
m
*
NormPut
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
NormPut
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
NormPut
)
ProtoMessage
()
{}
func
(
*
NormPut
)
ProtoMessage
()
{}
func
(
*
NormPut
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
NormPut
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_norm_
f2aed6c5a9608057
,
[]
int
{
2
}
return
fileDescriptor_norm_
5c11b861b8e3252c
,
[]
int
{
2
}
}
}
func
(
m
*
NormPut
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
NormPut
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_NormPut
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_NormPut
.
Unmarshal
(
m
,
b
)
...
@@ -261,7 +257,7 @@ func (m *NormGetKey) Reset() { *m = NormGetKey{} }
...
@@ -261,7 +257,7 @@ func (m *NormGetKey) Reset() { *m = NormGetKey{} }
func
(
m
*
NormGetKey
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
NormGetKey
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
NormGetKey
)
ProtoMessage
()
{}
func
(
*
NormGetKey
)
ProtoMessage
()
{}
func
(
*
NormGetKey
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
NormGetKey
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_norm_
f2aed6c5a9608057
,
[]
int
{
3
}
return
fileDescriptor_norm_
5c11b861b8e3252c
,
[]
int
{
3
}
}
}
func
(
m
*
NormGetKey
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
NormGetKey
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_NormGetKey
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_NormGetKey
.
Unmarshal
(
m
,
b
)
...
@@ -295,9 +291,9 @@ func init() {
...
@@ -295,9 +291,9 @@ func init() {
proto
.
RegisterType
((
*
NormGetKey
)(
nil
),
"types.NormGetKey"
)
proto
.
RegisterType
((
*
NormGetKey
)(
nil
),
"types.NormGetKey"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"norm.proto"
,
fileDescriptor_norm_
f2aed6c5a9608057
)
}
func
init
()
{
proto
.
RegisterFile
(
"norm.proto"
,
fileDescriptor_norm_
5c11b861b8e3252c
)
}
var
fileDescriptor_norm_
f2aed6c5a9608057
=
[]
byte
{
var
fileDescriptor_norm_
5c11b861b8e3252c
=
[]
byte
{
// 209 bytes of a gzipped FileDescriptorProto
// 209 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0xca
,
0xcb
,
0x2f
,
0xca
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0xca
,
0xcb
,
0x2f
,
0xca
,
0xd5
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x2d
,
0xa9
,
0x2c
,
0x48
,
0x2d
,
0x56
,
0x4a
,
0xe3
,
0xd5
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x2d
,
0xa9
,
0x2c
,
0x48
,
0x2d
,
0x56
,
0x4a
,
0xe3
,
...
...
plugin/dapp/oracle/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/paracross/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/pokerbull/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/privacy/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/relay/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/retrieve/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/ticket/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/token/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/trade/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/unfreeze/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
$GOPATH
/src/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
plugin/dapp/valnode/proto/create_protobuf.sh
View file @
bb105b36
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"../../../../vendor/github.com/33cn/chain33/types/proto/"
chain33_path
=
$(
go list
-f
'{{.Dir}}'
"github.com/33cn/chain33"
)
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
${
chain33_path
}
/types/proto/"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment