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
5bedef2f
Commit
5bedef2f
authored
May 08, 2020
by
whisker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update proto version
parent
6c47d5e7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
19 deletions
+25
-19
oracle.pb.go
plugin/dapp/x2Ethereum/types/oracle.pb.go
+25
-19
x2ethereum.pb.go
plugin/dapp/x2Ethereum/types/x2ethereum.pb.go
+0
-0
No files found.
plugin/dapp/x2Ethereum/types/oracle.pb.go
View file @
5bedef2f
...
...
@@ -3,9 +3,11 @@
package
types
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
math
"math"
import
(
fmt
"fmt"
proto
"github.com/golang/protobuf/proto"
math
"math"
)
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
...
...
@@ -16,13 +18,13 @@ var _ = math.Inf
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion
2
// please upgrade the proto package
const
_
=
proto
.
ProtoPackageIsVersion
3
// please upgrade the proto package
// EthBridgeClaim is a structure that contains all the data for a particular bridge claim
type
OracleClaim
struct
{
ID
string
`protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
ValidatorAddress
string
`protobuf:"bytes,2,opt,name=ValidatorAddress" json:"ValidatorAddress,omitempty"`
Content
string
`protobuf:"bytes,3,opt,name=Content" json:"Content,omitempty"`
ID
string
`protobuf:"bytes,1,opt,name=ID
,proto3
" json:"ID,omitempty"`
ValidatorAddress
string
`protobuf:"bytes,2,opt,name=ValidatorAddress
,proto3
" json:"ValidatorAddress,omitempty"`
Content
string
`protobuf:"bytes,3,opt,name=Content
,proto3
" json:"Content,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
...
...
@@ -32,16 +34,17 @@ func (m *OracleClaim) Reset() { *m = OracleClaim{} }
func
(
m
*
OracleClaim
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
OracleClaim
)
ProtoMessage
()
{}
func
(
*
OracleClaim
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
oracle_d47c1d4d25d51c76
,
[]
int
{
0
}
return
fileDescriptor_
b544994cdab50f02
,
[]
int
{
0
}
}
func
(
m
*
OracleClaim
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_OracleClaim
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
OracleClaim
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_OracleClaim
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
OracleClaim
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_OracleClaim
.
Merge
(
dst
,
src
)
func
(
m
*
OracleClaim
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_OracleClaim
.
Merge
(
m
,
src
)
}
func
(
m
*
OracleClaim
)
XXX_Size
()
int
{
return
xxx_messageInfo_OracleClaim
.
Size
(
m
)
...
...
@@ -74,10 +77,10 @@ func (m *OracleClaim) GetContent() string {
}
type
Prophecy
struct
{
ID
string
`protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
Status
*
ProphecyStatus
`protobuf:"bytes,2,opt,name=Status" json:"Status,omitempty"`
ClaimValidators
[]
*
ClaimValidators
`protobuf:"bytes,3,rep,name=ClaimValidators" json:"ClaimValidators,omitempty"`
ValidatorClaims
[]
*
ValidatorClaims
`protobuf:"bytes,4,rep,name=ValidatorClaims" json:"ValidatorClaims,omitempty"`
ID
string
`protobuf:"bytes,1,opt,name=ID
,proto3
" json:"ID,omitempty"`
Status
*
ProphecyStatus
`protobuf:"bytes,2,opt,name=Status
,proto3
" json:"Status,omitempty"`
ClaimValidators
[]
*
ClaimValidators
`protobuf:"bytes,3,rep,name=ClaimValidators
,proto3
" json:"ClaimValidators,omitempty"`
ValidatorClaims
[]
*
ValidatorClaims
`protobuf:"bytes,4,rep,name=ValidatorClaims
,proto3
" json:"ValidatorClaims,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
...
...
@@ -87,16 +90,17 @@ func (m *Prophecy) Reset() { *m = Prophecy{} }
func
(
m
*
Prophecy
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Prophecy
)
ProtoMessage
()
{}
func
(
*
Prophecy
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
oracle_d47c1d4d25d51c76
,
[]
int
{
1
}
return
fileDescriptor_
b544994cdab50f02
,
[]
int
{
1
}
}
func
(
m
*
Prophecy
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Prophecy
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Prophecy
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Prophecy
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Prophecy
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Prophecy
.
Merge
(
dst
,
src
)
func
(
m
*
Prophecy
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Prophecy
.
Merge
(
m
,
src
)
}
func
(
m
*
Prophecy
)
XXX_Size
()
int
{
return
xxx_messageInfo_Prophecy
.
Size
(
m
)
...
...
@@ -140,9 +144,11 @@ func init() {
proto
.
RegisterType
((
*
Prophecy
)(
nil
),
"types.Prophecy"
)
}
func
init
()
{
proto
.
RegisterFile
(
"oracle.proto"
,
fileDescriptor_oracle_d47c1d4d25d51c76
)
}
func
init
()
{
proto
.
RegisterFile
(
"oracle.proto"
,
fileDescriptor_b544994cdab50f02
)
}
var
fileDescriptor_
oracle_d47c1d4d25d51c76
=
[]
byte
{
var
fileDescriptor_
b544994cdab50f02
=
[]
byte
{
// 215 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0xc9
,
0x2f
,
0x4a
,
0x4c
,
0xce
,
0x49
,
0xd5
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x2d
,
0xa9
,
0x2c
,
0x48
,
0x2d
,
0x96
,
...
...
plugin/dapp/x2Ethereum/types/x2ethereum.pb.go
View file @
5bedef2f
This diff is collapsed.
Click to expand it.
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