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
0ad40117
Commit
0ad40117
authored
Mar 27, 2019
by
vipwzw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto ci
parent
603b269b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
731 additions
and
101 deletions
+731
-101
kv.go
plugin/dapp/paracross/executor/kv.go
+3
-3
query.go
plugin/dapp/paracross/executor/query.go
+0
-1
paracross.pb.go
plugin/dapp/paracross/types/paracross.pb.go
+728
-97
No files found.
plugin/dapp/paracross/executor/kv.go
View file @
0ad40117
...
...
@@ -11,9 +11,9 @@ import (
)
var
(
title
string
titleHeight
string
titleHash
string
title
string
titleHeight
string
titleHash
string
managerConfigNodes
string
//manager 合约配置的nodes
paraConfigNodes
string
//平行链自组织配置的nodes,最初是从manager同步过来
paraConfigNodeAddr
string
//平行链配置节点账户
...
...
plugin/dapp/paracross/executor/query.go
View file @
0ad40117
...
...
@@ -84,7 +84,6 @@ func (p *Paracross) Query_ListNodeStatusInfo(in *pt.ReqParacrossNodeInfo) (types
return
listLocalNodeStatus
(
p
.
GetLocalDB
(),
in
.
Title
,
in
.
Status
)
}
//Query_ListTitles query paracross titles list
func
(
p
*
Paracross
)
Query_ListTitles
(
in
*
types
.
ReqNil
)
(
types
.
Message
,
error
)
{
return
p
.
paracrossListTitles
()
...
...
plugin/dapp/paracross/types/paracross.pb.go
View file @
0ad40117
...
...
@@ -254,6 +254,479 @@ func (m *ParacrossConsensusStatus) GetConsensBlockHash() string {
return
""
}
type
ParaNodeAddrConfig
struct
{
Title
string
`protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Op
string
`protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"`
Addr
string
`protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
Value
string
`protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
ParaNodeAddrConfig
)
Reset
()
{
*
m
=
ParaNodeAddrConfig
{}
}
func
(
m
*
ParaNodeAddrConfig
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ParaNodeAddrConfig
)
ProtoMessage
()
{}
func
(
*
ParaNodeAddrConfig
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
4
}
}
func
(
m
*
ParaNodeAddrConfig
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ParaNodeAddrConfig
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ParaNodeAddrConfig
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ParaNodeAddrConfig
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
ParaNodeAddrConfig
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ParaNodeAddrConfig
.
Merge
(
m
,
src
)
}
func
(
m
*
ParaNodeAddrConfig
)
XXX_Size
()
int
{
return
xxx_messageInfo_ParaNodeAddrConfig
.
Size
(
m
)
}
func
(
m
*
ParaNodeAddrConfig
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ParaNodeAddrConfig
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_ParaNodeAddrConfig
proto
.
InternalMessageInfo
func
(
m
*
ParaNodeAddrConfig
)
GetTitle
()
string
{
if
m
!=
nil
{
return
m
.
Title
}
return
""
}
func
(
m
*
ParaNodeAddrConfig
)
GetOp
()
string
{
if
m
!=
nil
{
return
m
.
Op
}
return
""
}
func
(
m
*
ParaNodeAddrConfig
)
GetAddr
()
string
{
if
m
!=
nil
{
return
m
.
Addr
}
return
""
}
func
(
m
*
ParaNodeAddrConfig
)
GetValue
()
string
{
if
m
!=
nil
{
return
m
.
Value
}
return
""
}
type
ParaNodeVoteDetail
struct
{
Addrs
[]
string
`protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
Votes
[]
string
`protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
ParaNodeVoteDetail
)
Reset
()
{
*
m
=
ParaNodeVoteDetail
{}
}
func
(
m
*
ParaNodeVoteDetail
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ParaNodeVoteDetail
)
ProtoMessage
()
{}
func
(
*
ParaNodeVoteDetail
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
5
}
}
func
(
m
*
ParaNodeVoteDetail
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ParaNodeVoteDetail
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ParaNodeVoteDetail
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ParaNodeVoteDetail
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
ParaNodeVoteDetail
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ParaNodeVoteDetail
.
Merge
(
m
,
src
)
}
func
(
m
*
ParaNodeVoteDetail
)
XXX_Size
()
int
{
return
xxx_messageInfo_ParaNodeVoteDetail
.
Size
(
m
)
}
func
(
m
*
ParaNodeVoteDetail
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ParaNodeVoteDetail
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_ParaNodeVoteDetail
proto
.
InternalMessageInfo
func
(
m
*
ParaNodeVoteDetail
)
GetAddrs
()
[]
string
{
if
m
!=
nil
{
return
m
.
Addrs
}
return
nil
}
func
(
m
*
ParaNodeVoteDetail
)
GetVotes
()
[]
string
{
if
m
!=
nil
{
return
m
.
Votes
}
return
nil
}
type
ParaNodeAddrStatus
struct
{
Status
int32
`protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Title
string
`protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
ApplyAddr
string
`protobuf:"bytes,3,opt,name=applyAddr,proto3" json:"applyAddr,omitempty"`
Votes
*
ParaNodeVoteDetail
`protobuf:"bytes,4,opt,name=votes,proto3" json:"votes,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
ParaNodeAddrStatus
)
Reset
()
{
*
m
=
ParaNodeAddrStatus
{}
}
func
(
m
*
ParaNodeAddrStatus
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ParaNodeAddrStatus
)
ProtoMessage
()
{}
func
(
*
ParaNodeAddrStatus
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
6
}
}
func
(
m
*
ParaNodeAddrStatus
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ParaNodeAddrStatus
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ParaNodeAddrStatus
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ParaNodeAddrStatus
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
ParaNodeAddrStatus
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ParaNodeAddrStatus
.
Merge
(
m
,
src
)
}
func
(
m
*
ParaNodeAddrStatus
)
XXX_Size
()
int
{
return
xxx_messageInfo_ParaNodeAddrStatus
.
Size
(
m
)
}
func
(
m
*
ParaNodeAddrStatus
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ParaNodeAddrStatus
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_ParaNodeAddrStatus
proto
.
InternalMessageInfo
func
(
m
*
ParaNodeAddrStatus
)
GetStatus
()
int32
{
if
m
!=
nil
{
return
m
.
Status
}
return
0
}
func
(
m
*
ParaNodeAddrStatus
)
GetTitle
()
string
{
if
m
!=
nil
{
return
m
.
Title
}
return
""
}
func
(
m
*
ParaNodeAddrStatus
)
GetApplyAddr
()
string
{
if
m
!=
nil
{
return
m
.
ApplyAddr
}
return
""
}
func
(
m
*
ParaNodeAddrStatus
)
GetVotes
()
*
ParaNodeVoteDetail
{
if
m
!=
nil
{
return
m
.
Votes
}
return
nil
}
type
ReceiptParaNodeConfig
struct
{
Addr
string
`protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
Config
*
ParaNodeAddrConfig
`protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
Prev
*
ParaNodeAddrStatus
`protobuf:"bytes,3,opt,name=prev,proto3" json:"prev,omitempty"`
Current
*
ParaNodeAddrStatus
`protobuf:"bytes,4,opt,name=current,proto3" json:"current,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
ReceiptParaNodeConfig
)
Reset
()
{
*
m
=
ReceiptParaNodeConfig
{}
}
func
(
m
*
ReceiptParaNodeConfig
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReceiptParaNodeConfig
)
ProtoMessage
()
{}
func
(
*
ReceiptParaNodeConfig
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
7
}
}
func
(
m
*
ReceiptParaNodeConfig
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReceiptParaNodeConfig
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ReceiptParaNodeConfig
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReceiptParaNodeConfig
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
ReceiptParaNodeConfig
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReceiptParaNodeConfig
.
Merge
(
m
,
src
)
}
func
(
m
*
ReceiptParaNodeConfig
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReceiptParaNodeConfig
.
Size
(
m
)
}
func
(
m
*
ReceiptParaNodeConfig
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ReceiptParaNodeConfig
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_ReceiptParaNodeConfig
proto
.
InternalMessageInfo
func
(
m
*
ReceiptParaNodeConfig
)
GetAddr
()
string
{
if
m
!=
nil
{
return
m
.
Addr
}
return
""
}
func
(
m
*
ReceiptParaNodeConfig
)
GetConfig
()
*
ParaNodeAddrConfig
{
if
m
!=
nil
{
return
m
.
Config
}
return
nil
}
func
(
m
*
ReceiptParaNodeConfig
)
GetPrev
()
*
ParaNodeAddrStatus
{
if
m
!=
nil
{
return
m
.
Prev
}
return
nil
}
func
(
m
*
ReceiptParaNodeConfig
)
GetCurrent
()
*
ParaNodeAddrStatus
{
if
m
!=
nil
{
return
m
.
Current
}
return
nil
}
type
ReceiptParaNodeVoteRecord
struct
{
FromAddr
string
`protobuf:"bytes,1,opt,name=fromAddr,proto3" json:"fromAddr,omitempty"`
VoteAddr
string
`protobuf:"bytes,2,opt,name=voteAddr,proto3" json:"voteAddr,omitempty"`
Value
int32
`protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
ReceiptParaNodeVoteRecord
)
Reset
()
{
*
m
=
ReceiptParaNodeVoteRecord
{}
}
func
(
m
*
ReceiptParaNodeVoteRecord
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReceiptParaNodeVoteRecord
)
ProtoMessage
()
{}
func
(
*
ReceiptParaNodeVoteRecord
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
8
}
}
func
(
m
*
ReceiptParaNodeVoteRecord
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReceiptParaNodeVoteRecord
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ReceiptParaNodeVoteRecord
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReceiptParaNodeVoteRecord
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
ReceiptParaNodeVoteRecord
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReceiptParaNodeVoteRecord
.
Merge
(
m
,
src
)
}
func
(
m
*
ReceiptParaNodeVoteRecord
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReceiptParaNodeVoteRecord
.
Size
(
m
)
}
func
(
m
*
ReceiptParaNodeVoteRecord
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ReceiptParaNodeVoteRecord
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_ReceiptParaNodeVoteRecord
proto
.
InternalMessageInfo
func
(
m
*
ReceiptParaNodeVoteRecord
)
GetFromAddr
()
string
{
if
m
!=
nil
{
return
m
.
FromAddr
}
return
""
}
func
(
m
*
ReceiptParaNodeVoteRecord
)
GetVoteAddr
()
string
{
if
m
!=
nil
{
return
m
.
VoteAddr
}
return
""
}
func
(
m
*
ReceiptParaNodeVoteRecord
)
GetValue
()
int32
{
if
m
!=
nil
{
return
m
.
Value
}
return
0
}
type
ReceiptParaNodeVoteDone
struct
{
Title
string
`protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
TargetAddr
string
`protobuf:"bytes,2,opt,name=targetAddr,proto3" json:"targetAddr,omitempty"`
TotalNodes
int32
`protobuf:"varint,3,opt,name=totalNodes,proto3" json:"totalNodes,omitempty"`
TotalVote
int32
`protobuf:"varint,4,opt,name=totalVote,proto3" json:"totalVote,omitempty"`
MostVote
int32
`protobuf:"varint,5,opt,name=mostVote,proto3" json:"mostVote,omitempty"`
VoteRst
string
`protobuf:"bytes,6,opt,name=voteRst,proto3" json:"voteRst,omitempty"`
DoneStatus
int32
`protobuf:"varint,7,opt,name=doneStatus,proto3" json:"doneStatus,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
ReceiptParaNodeVoteDone
)
Reset
()
{
*
m
=
ReceiptParaNodeVoteDone
{}
}
func
(
m
*
ReceiptParaNodeVoteDone
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReceiptParaNodeVoteDone
)
ProtoMessage
()
{}
func
(
*
ReceiptParaNodeVoteDone
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
9
}
}
func
(
m
*
ReceiptParaNodeVoteDone
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReceiptParaNodeVoteDone
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ReceiptParaNodeVoteDone
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReceiptParaNodeVoteDone
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
ReceiptParaNodeVoteDone
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReceiptParaNodeVoteDone
.
Merge
(
m
,
src
)
}
func
(
m
*
ReceiptParaNodeVoteDone
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReceiptParaNodeVoteDone
.
Size
(
m
)
}
func
(
m
*
ReceiptParaNodeVoteDone
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ReceiptParaNodeVoteDone
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_ReceiptParaNodeVoteDone
proto
.
InternalMessageInfo
func
(
m
*
ReceiptParaNodeVoteDone
)
GetTitle
()
string
{
if
m
!=
nil
{
return
m
.
Title
}
return
""
}
func
(
m
*
ReceiptParaNodeVoteDone
)
GetTargetAddr
()
string
{
if
m
!=
nil
{
return
m
.
TargetAddr
}
return
""
}
func
(
m
*
ReceiptParaNodeVoteDone
)
GetTotalNodes
()
int32
{
if
m
!=
nil
{
return
m
.
TotalNodes
}
return
0
}
func
(
m
*
ReceiptParaNodeVoteDone
)
GetTotalVote
()
int32
{
if
m
!=
nil
{
return
m
.
TotalVote
}
return
0
}
func
(
m
*
ReceiptParaNodeVoteDone
)
GetMostVote
()
int32
{
if
m
!=
nil
{
return
m
.
MostVote
}
return
0
}
func
(
m
*
ReceiptParaNodeVoteDone
)
GetVoteRst
()
string
{
if
m
!=
nil
{
return
m
.
VoteRst
}
return
""
}
func
(
m
*
ReceiptParaNodeVoteDone
)
GetDoneStatus
()
int32
{
if
m
!=
nil
{
return
m
.
DoneStatus
}
return
0
}
// node query
type
ReqParacrossNodeInfo
struct
{
Title
string
`protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Addr
string
`protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Status
int32
`protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
ReqParacrossNodeInfo
)
Reset
()
{
*
m
=
ReqParacrossNodeInfo
{}
}
func
(
m
*
ReqParacrossNodeInfo
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReqParacrossNodeInfo
)
ProtoMessage
()
{}
func
(
*
ReqParacrossNodeInfo
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
10
}
}
func
(
m
*
ReqParacrossNodeInfo
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReqParacrossNodeInfo
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ReqParacrossNodeInfo
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReqParacrossNodeInfo
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
ReqParacrossNodeInfo
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReqParacrossNodeInfo
.
Merge
(
m
,
src
)
}
func
(
m
*
ReqParacrossNodeInfo
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReqParacrossNodeInfo
.
Size
(
m
)
}
func
(
m
*
ReqParacrossNodeInfo
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ReqParacrossNodeInfo
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_ReqParacrossNodeInfo
proto
.
InternalMessageInfo
func
(
m
*
ReqParacrossNodeInfo
)
GetTitle
()
string
{
if
m
!=
nil
{
return
m
.
Title
}
return
""
}
func
(
m
*
ReqParacrossNodeInfo
)
GetAddr
()
string
{
if
m
!=
nil
{
return
m
.
Addr
}
return
""
}
func
(
m
*
ReqParacrossNodeInfo
)
GetStatus
()
int32
{
if
m
!=
nil
{
return
m
.
Status
}
return
0
}
type
RespParacrossNodeAddrs
struct
{
Addrs
[]
*
ParaNodeAddrStatus
`protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
RespParacrossNodeAddrs
)
Reset
()
{
*
m
=
RespParacrossNodeAddrs
{}
}
func
(
m
*
RespParacrossNodeAddrs
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RespParacrossNodeAddrs
)
ProtoMessage
()
{}
func
(
*
RespParacrossNodeAddrs
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
11
}
}
func
(
m
*
RespParacrossNodeAddrs
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_RespParacrossNodeAddrs
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
RespParacrossNodeAddrs
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_RespParacrossNodeAddrs
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
RespParacrossNodeAddrs
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_RespParacrossNodeAddrs
.
Merge
(
m
,
src
)
}
func
(
m
*
RespParacrossNodeAddrs
)
XXX_Size
()
int
{
return
xxx_messageInfo_RespParacrossNodeAddrs
.
Size
(
m
)
}
func
(
m
*
RespParacrossNodeAddrs
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_RespParacrossNodeAddrs
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_RespParacrossNodeAddrs
proto
.
InternalMessageInfo
func
(
m
*
RespParacrossNodeAddrs
)
GetAddrs
()
[]
*
ParaNodeAddrStatus
{
if
m
!=
nil
{
return
m
.
Addrs
}
return
nil
}
type
ParaBlock2MainMap
struct
{
Height
int64
`protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
BlockHash
string
`protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
...
...
@@ -268,7 +741,7 @@ func (m *ParaBlock2MainMap) Reset() { *m = ParaBlock2MainMap{} }
func
(
m
*
ParaBlock2MainMap
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ParaBlock2MainMap
)
ProtoMessage
()
{}
func
(
*
ParaBlock2MainMap
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
4
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
12
}
}
func
(
m
*
ParaBlock2MainMap
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -328,7 +801,7 @@ func (m *ParaBlock2MainInfo) Reset() { *m = ParaBlock2MainInfo{} }
func
(
m
*
ParaBlock2MainInfo
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ParaBlock2MainInfo
)
ProtoMessage
()
{}
func
(
*
ParaBlock2MainInfo
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
5
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
13
}
}
func
(
m
*
ParaBlock2MainInfo
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -380,7 +853,7 @@ func (m *ParacrossNodeStatus) Reset() { *m = ParacrossNodeStatus{} }
func
(
m
*
ParacrossNodeStatus
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ParacrossNodeStatus
)
ProtoMessage
()
{}
func
(
*
ParacrossNodeStatus
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
6
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
14
}
}
func
(
m
*
ParacrossNodeStatus
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -503,7 +976,7 @@ func (m *ParacrossCommitAction) Reset() { *m = ParacrossCommitAction{} }
func
(
m
*
ParacrossCommitAction
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ParacrossCommitAction
)
ProtoMessage
()
{}
func
(
*
ParacrossCommitAction
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
7
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
15
}
}
func
(
m
*
ParacrossCommitAction
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -542,7 +1015,7 @@ func (m *ParacrossMinerAction) Reset() { *m = ParacrossMinerAction{} }
func
(
m
*
ParacrossMinerAction
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ParacrossMinerAction
)
ProtoMessage
()
{}
func
(
*
ParacrossMinerAction
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
8
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
16
}
}
func
(
m
*
ParacrossMinerAction
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -579,6 +1052,7 @@ type ParacrossAction struct {
// *ParacrossAction_Transfer
// *ParacrossAction_Withdraw
// *ParacrossAction_TransferToExec
// *ParacrossAction_NodeConfig
Value
isParacrossAction_Value
`protobuf_oneof:"value"`
Ty
int32
`protobuf:"varint,2,opt,name=ty,proto3" json:"ty,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
...
...
@@ -590,7 +1064,7 @@ func (m *ParacrossAction) Reset() { *m = ParacrossAction{} }
func
(
m
*
ParacrossAction
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ParacrossAction
)
ProtoMessage
()
{}
func
(
*
ParacrossAction
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
9
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
17
}
}
func
(
m
*
ParacrossAction
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -643,6 +1117,10 @@ type ParacrossAction_TransferToExec struct {
TransferToExec
*
types
.
AssetsTransferToExec
`protobuf:"bytes,8,opt,name=transferToExec,proto3,oneof"`
}
type
ParacrossAction_NodeConfig
struct
{
NodeConfig
*
ParaNodeAddrConfig
`protobuf:"bytes,9,opt,name=nodeConfig,proto3,oneof"`
}
func
(
*
ParacrossAction_Commit
)
isParacrossAction_Value
()
{}
func
(
*
ParacrossAction_Miner
)
isParacrossAction_Value
()
{}
...
...
@@ -657,6 +1135,8 @@ func (*ParacrossAction_Withdraw) isParacrossAction_Value() {}
func
(
*
ParacrossAction_TransferToExec
)
isParacrossAction_Value
()
{}
func
(
*
ParacrossAction_NodeConfig
)
isParacrossAction_Value
()
{}
func
(
m
*
ParacrossAction
)
GetValue
()
isParacrossAction_Value
{
if
m
!=
nil
{
return
m
.
Value
...
...
@@ -713,6 +1193,13 @@ func (m *ParacrossAction) GetTransferToExec() *types.AssetsTransferToExec {
return
nil
}
func
(
m
*
ParacrossAction
)
GetNodeConfig
()
*
ParaNodeAddrConfig
{
if
x
,
ok
:=
m
.
GetValue
()
.
(
*
ParacrossAction_NodeConfig
);
ok
{
return
x
.
NodeConfig
}
return
nil
}
func
(
m
*
ParacrossAction
)
GetTy
()
int32
{
if
m
!=
nil
{
return
m
.
Ty
...
...
@@ -730,6 +1217,7 @@ func (*ParacrossAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffe
(
*
ParacrossAction_Transfer
)(
nil
),
(
*
ParacrossAction_Withdraw
)(
nil
),
(
*
ParacrossAction_TransferToExec
)(
nil
),
(
*
ParacrossAction_NodeConfig
)(
nil
),
}
}
...
...
@@ -772,6 +1260,11 @@ func _ParacrossAction_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
if
err
:=
b
.
EncodeMessage
(
x
.
TransferToExec
);
err
!=
nil
{
return
err
}
case
*
ParacrossAction_NodeConfig
:
b
.
EncodeVarint
(
9
<<
3
|
proto
.
WireBytes
)
if
err
:=
b
.
EncodeMessage
(
x
.
NodeConfig
);
err
!=
nil
{
return
err
}
case
nil
:
default
:
return
fmt
.
Errorf
(
"ParacrossAction.Value has unexpected type %T"
,
x
)
...
...
@@ -838,6 +1331,14 @@ func _ParacrossAction_OneofUnmarshaler(msg proto.Message, tag, wire int, b *prot
err
:=
b
.
DecodeMessage
(
msg
)
m
.
Value
=
&
ParacrossAction_TransferToExec
{
msg
}
return
true
,
err
case
9
:
// value.nodeConfig
if
wire
!=
proto
.
WireBytes
{
return
true
,
proto
.
ErrInternalBadWireType
}
msg
:=
new
(
ParaNodeAddrConfig
)
err
:=
b
.
DecodeMessage
(
msg
)
m
.
Value
=
&
ParacrossAction_NodeConfig
{
msg
}
return
true
,
err
default
:
return
false
,
nil
}
...
...
@@ -882,6 +1383,11 @@ func _ParacrossAction_OneofSizer(msg proto.Message) (n int) {
n
+=
1
// tag and wire
n
+=
proto
.
SizeVarint
(
uint64
(
s
))
n
+=
s
case
*
ParacrossAction_NodeConfig
:
s
:=
proto
.
Size
(
x
.
NodeConfig
)
n
+=
1
// tag and wire
n
+=
proto
.
SizeVarint
(
uint64
(
s
))
n
+=
s
case
nil
:
default
:
panic
(
fmt
.
Sprintf
(
"proto: unexpected type %T in oneof"
,
x
))
...
...
@@ -904,7 +1410,7 @@ func (m *ReceiptParacrossCommit) Reset() { *m = ReceiptParacrossCommit{}
func
(
m
*
ReceiptParacrossCommit
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReceiptParacrossCommit
)
ProtoMessage
()
{}
func
(
*
ReceiptParacrossCommit
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
1
0
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
1
8
}
}
func
(
m
*
ReceiptParacrossCommit
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -964,7 +1470,7 @@ func (m *ReceiptParacrossMiner) Reset() { *m = ReceiptParacrossMiner{} }
func
(
m
*
ReceiptParacrossMiner
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReceiptParacrossMiner
)
ProtoMessage
()
{}
func
(
*
ReceiptParacrossMiner
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
1
1
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
1
9
}
}
func
(
m
*
ReceiptParacrossMiner
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -1010,7 +1516,7 @@ func (m *ReceiptParacrossDone) Reset() { *m = ReceiptParacrossDone{} }
func
(
m
*
ReceiptParacrossDone
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReceiptParacrossDone
)
ProtoMessage
()
{}
func
(
*
ReceiptParacrossDone
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
12
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
20
}
}
func
(
m
*
ReceiptParacrossDone
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -1099,7 +1605,7 @@ func (m *ReceiptParacrossRecord) Reset() { *m = ReceiptParacrossRecord{}
func
(
m
*
ReceiptParacrossRecord
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReceiptParacrossRecord
)
ProtoMessage
()
{}
func
(
*
ReceiptParacrossRecord
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
13
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
21
}
}
func
(
m
*
ReceiptParacrossRecord
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -1147,7 +1653,7 @@ func (m *ParacrossTx) Reset() { *m = ParacrossTx{} }
func
(
m
*
ParacrossTx
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ParacrossTx
)
ProtoMessage
()
{}
func
(
*
ParacrossTx
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
14
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
22
}
}
func
(
m
*
ParacrossTx
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -1188,7 +1694,7 @@ func (m *ReqParacrossTitleHeight) Reset() { *m = ReqParacrossTitleHeight
func
(
m
*
ReqParacrossTitleHeight
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReqParacrossTitleHeight
)
ProtoMessage
()
{}
func
(
*
ReqParacrossTitleHeight
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
15
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
23
}
}
func
(
m
*
ReqParacrossTitleHeight
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -1223,18 +1729,113 @@ func (m *ReqParacrossTitleHeight) GetHeight() int64 {
return
0
}
type
RespParacrossDone
struct
{
TotalNodes
int32
`protobuf:"varint,1,opt,name=totalNodes,proto3" json:"totalNodes,omitempty"`
TotalCommit
int32
`protobuf:"varint,2,opt,name=totalCommit,proto3" json:"totalCommit,omitempty"`
MostSameCommit
int32
`protobuf:"varint,3,opt,name=mostSameCommit,proto3" json:"mostSameCommit,omitempty"`
Title
string
`protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
Height
int64
`protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
StateHash
string
`protobuf:"bytes,6,opt,name=stateHash,proto3" json:"stateHash,omitempty"`
TxCounts
uint32
`protobuf:"varint,7,opt,name=txCounts,proto3" json:"txCounts,omitempty"`
TxResult
string
`protobuf:"bytes,8,opt,name=txResult,proto3" json:"txResult,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
RespParacrossDone
)
Reset
()
{
*
m
=
RespParacrossDone
{}
}
func
(
m
*
RespParacrossDone
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RespParacrossDone
)
ProtoMessage
()
{}
func
(
*
RespParacrossDone
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
24
}
}
func
(
m
*
RespParacrossDone
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_RespParacrossDone
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
RespParacrossDone
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_RespParacrossDone
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
RespParacrossDone
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_RespParacrossDone
.
Merge
(
m
,
src
)
}
func
(
m
*
RespParacrossDone
)
XXX_Size
()
int
{
return
xxx_messageInfo_RespParacrossDone
.
Size
(
m
)
}
func
(
m
*
RespParacrossDone
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_RespParacrossDone
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_RespParacrossDone
proto
.
InternalMessageInfo
func
(
m
*
RespParacrossDone
)
GetTotalNodes
()
int32
{
if
m
!=
nil
{
return
m
.
TotalNodes
}
return
0
}
func
(
m
*
RespParacrossDone
)
GetTotalCommit
()
int32
{
if
m
!=
nil
{
return
m
.
TotalCommit
}
return
0
}
func
(
m
*
RespParacrossDone
)
GetMostSameCommit
()
int32
{
if
m
!=
nil
{
return
m
.
MostSameCommit
}
return
0
}
func
(
m
*
RespParacrossDone
)
GetTitle
()
string
{
if
m
!=
nil
{
return
m
.
Title
}
return
""
}
func
(
m
*
RespParacrossDone
)
GetHeight
()
int64
{
if
m
!=
nil
{
return
m
.
Height
}
return
0
}
func
(
m
*
RespParacrossDone
)
GetStateHash
()
string
{
if
m
!=
nil
{
return
m
.
StateHash
}
return
""
}
func
(
m
*
RespParacrossDone
)
GetTxCounts
()
uint32
{
if
m
!=
nil
{
return
m
.
TxCounts
}
return
0
}
func
(
m
*
RespParacrossDone
)
GetTxResult
()
string
{
if
m
!=
nil
{
return
m
.
TxResult
}
return
""
}
type
RespParacrossTitles
struct
{
Titles
[]
*
Re
ceipt
ParacrossDone
`protobuf:"bytes,1,rep,name=titles,proto3" json:"titles,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
Titles
[]
*
Re
sp
ParacrossDone
`protobuf:"bytes,1,rep,name=titles,proto3" json:"titles,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
RespParacrossTitles
)
Reset
()
{
*
m
=
RespParacrossTitles
{}
}
func
(
m
*
RespParacrossTitles
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RespParacrossTitles
)
ProtoMessage
()
{}
func
(
*
RespParacrossTitles
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
16
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
25
}
}
func
(
m
*
RespParacrossTitles
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -1255,7 +1856,7 @@ func (m *RespParacrossTitles) XXX_DiscardUnknown() {
var
xxx_messageInfo_RespParacrossTitles
proto
.
InternalMessageInfo
func
(
m
*
RespParacrossTitles
)
GetTitles
()
[]
*
Re
ceipt
ParacrossDone
{
func
(
m
*
RespParacrossTitles
)
GetTitles
()
[]
*
Re
sp
ParacrossDone
{
if
m
!=
nil
{
return
m
.
Titles
}
...
...
@@ -1274,7 +1875,7 @@ func (m *ReqParacrossTitleHash) Reset() { *m = ReqParacrossTitleHash{} }
func
(
m
*
ReqParacrossTitleHash
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReqParacrossTitleHash
)
ProtoMessage
()
{}
func
(
*
ReqParacrossTitleHash
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
17
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
26
}
}
func
(
m
*
ReqParacrossTitleHash
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -1334,7 +1935,7 @@ func (m *ParacrossAsset) Reset() { *m = ParacrossAsset{} }
func
(
m
*
ParacrossAsset
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ParacrossAsset
)
ProtoMessage
()
{}
func
(
*
ParacrossAsset
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
18
}
return
fileDescriptor_6a397e38c9ea6747
,
[]
int
{
27
}
}
func
(
m
*
ParacrossAsset
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
...
@@ -1437,6 +2038,14 @@ func init() {
proto
.
RegisterType
((
*
ParacrossHeightStatus
)(
nil
),
"types.ParacrossHeightStatus"
)
proto
.
RegisterType
((
*
ParacrossStatus
)(
nil
),
"types.ParacrossStatus"
)
proto
.
RegisterType
((
*
ParacrossConsensusStatus
)(
nil
),
"types.ParacrossConsensusStatus"
)
proto
.
RegisterType
((
*
ParaNodeAddrConfig
)(
nil
),
"types.ParaNodeAddrConfig"
)
proto
.
RegisterType
((
*
ParaNodeVoteDetail
)(
nil
),
"types.ParaNodeVoteDetail"
)
proto
.
RegisterType
((
*
ParaNodeAddrStatus
)(
nil
),
"types.ParaNodeAddrStatus"
)
proto
.
RegisterType
((
*
ReceiptParaNodeConfig
)(
nil
),
"types.ReceiptParaNodeConfig"
)
proto
.
RegisterType
((
*
ReceiptParaNodeVoteRecord
)(
nil
),
"types.ReceiptParaNodeVoteRecord"
)
proto
.
RegisterType
((
*
ReceiptParaNodeVoteDone
)(
nil
),
"types.ReceiptParaNodeVoteDone"
)
proto
.
RegisterType
((
*
ReqParacrossNodeInfo
)(
nil
),
"types.ReqParacrossNodeInfo"
)
proto
.
RegisterType
((
*
RespParacrossNodeAddrs
)(
nil
),
"types.RespParacrossNodeAddrs"
)
proto
.
RegisterType
((
*
ParaBlock2MainMap
)(
nil
),
"types.ParaBlock2MainMap"
)
proto
.
RegisterType
((
*
ParaBlock2MainInfo
)(
nil
),
"types.ParaBlock2MainInfo"
)
proto
.
RegisterType
((
*
ParacrossNodeStatus
)(
nil
),
"types.ParacrossNodeStatus"
)
...
...
@@ -1449,6 +2058,7 @@ func init() {
proto
.
RegisterType
((
*
ReceiptParacrossRecord
)(
nil
),
"types.ReceiptParacrossRecord"
)
proto
.
RegisterType
((
*
ParacrossTx
)(
nil
),
"types.ParacrossTx"
)
proto
.
RegisterType
((
*
ReqParacrossTitleHeight
)(
nil
),
"types.ReqParacrossTitleHeight"
)
proto
.
RegisterType
((
*
RespParacrossDone
)(
nil
),
"types.RespParacrossDone"
)
proto
.
RegisterType
((
*
RespParacrossTitles
)(
nil
),
"types.RespParacrossTitles"
)
proto
.
RegisterType
((
*
ReqParacrossTitleHash
)(
nil
),
"types.ReqParacrossTitleHash"
)
proto
.
RegisterType
((
*
ParacrossAsset
)(
nil
),
"types.ParacrossAsset"
)
...
...
@@ -1457,79 +2067,100 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"paracross.proto"
,
fileDescriptor_6a397e38c9ea6747
)
}
var
fileDescriptor_6a397e38c9ea6747
=
[]
byte
{
// 1149 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xac
,
0x57
,
0xdd
,
0x6e
,
0x1b
,
0x45
,
0x14
,
0xf6
,
0xae
,
0x7f
,
0x73
,
0x1c
,
0xbb
,
0xc9
,
0x34
,
0x49
,
0x57
,
0xa6
,
0x80
,
0xb5
,
0x2a
,
0xc8
,
0x42
,
0x28
,
0x42
,
0x8e
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4
,
0xeb
,
0xcd
,
0xaa
,
0x05
,
0x29
,
0x1a
,
0xd4
,
0xc8
,
0x23
,
0x58
,
0x2b
,
0x6d
,
0x97
,
0x51
,
0x99
,
0xeb
,
0xb3
,
0x1e
,
0x6d
,
0x6f
,
0x6e
,
0x6d
,
0x05
,
0x35
,
0x72
,
0x17
,
0xd6
,
0x0f
,
0x29
,
0x17
,
0x15
,
0xa0
,
0x97
,
0xad
,
0x35
,
0xa3
,
0x0f
,
0xb3
,
0xd7
,
0xdb
,
0xac
,
0xc6
,
0x23
,
0xc4
,
0x83
,
0x1a
,
0x79
,
0x17
,
0xda
,
0x47
,
0xec
,
0xf8
,
0x32
,
0x8d
,
0xab
,
0x11
,
0x6c
,
0x28
,
0xf2
,
0x88
,
0x1d
,
0x44
,
0x93
,
0xb3
,
0x73
,
0xfe
,
0x45
,
0x1e
,
0xd4
,
0x9e
,
0xb6
,
0xc5
,
0xdf
,
0x41
,
0x7b
,
0xff
,
0x04
,
0x00
,
0x00
,
0xff
,
0xff
,
0x69
,
0x19
,
0xcd
,
0x46
,
0x6b
,
0x12
,
0x00
,
0x00
,
}
// Reference imports to suppress errors if they are not otherwise used.
...
...
@@ -1546,7 +2177,7 @@ const _ = grpc.SupportPackageIsVersion4
type
ParacrossClient
interface
{
GetTitle
(
ctx
context
.
Context
,
in
*
types
.
ReqString
,
opts
...
grpc
.
CallOption
)
(
*
ParacrossConsensusStatus
,
error
)
ListTitles
(
ctx
context
.
Context
,
in
*
types
.
ReqNil
,
opts
...
grpc
.
CallOption
)
(
*
RespParacrossTitles
,
error
)
GetTitleHeight
(
ctx
context
.
Context
,
in
*
ReqParacrossTitleHeight
,
opts
...
grpc
.
CallOption
)
(
*
Re
ceipt
ParacrossDone
,
error
)
GetTitleHeight
(
ctx
context
.
Context
,
in
*
ReqParacrossTitleHeight
,
opts
...
grpc
.
CallOption
)
(
*
Re
sp
ParacrossDone
,
error
)
GetAssetTxResult
(
ctx
context
.
Context
,
in
*
types
.
ReqHash
,
opts
...
grpc
.
CallOption
)
(
*
ParacrossAsset
,
error
)
IsSync
(
ctx
context
.
Context
,
in
*
types
.
ReqNil
,
opts
...
grpc
.
CallOption
)
(
*
types
.
IsCaughtUp
,
error
)
}
...
...
@@ -1577,8 +2208,8 @@ func (c *paracrossClient) ListTitles(ctx context.Context, in *types.ReqNil, opts
return
out
,
nil
}
func
(
c
*
paracrossClient
)
GetTitleHeight
(
ctx
context
.
Context
,
in
*
ReqParacrossTitleHeight
,
opts
...
grpc
.
CallOption
)
(
*
Re
ceipt
ParacrossDone
,
error
)
{
out
:=
new
(
Re
ceipt
ParacrossDone
)
func
(
c
*
paracrossClient
)
GetTitleHeight
(
ctx
context
.
Context
,
in
*
ReqParacrossTitleHeight
,
opts
...
grpc
.
CallOption
)
(
*
Re
sp
ParacrossDone
,
error
)
{
out
:=
new
(
Re
sp
ParacrossDone
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/types.paracross/GetTitleHeight"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
...
...
@@ -1608,7 +2239,7 @@ func (c *paracrossClient) IsSync(ctx context.Context, in *types.ReqNil, opts ...
type
ParacrossServer
interface
{
GetTitle
(
context
.
Context
,
*
types
.
ReqString
)
(
*
ParacrossConsensusStatus
,
error
)
ListTitles
(
context
.
Context
,
*
types
.
ReqNil
)
(
*
RespParacrossTitles
,
error
)
GetTitleHeight
(
context
.
Context
,
*
ReqParacrossTitleHeight
)
(
*
Re
ceipt
ParacrossDone
,
error
)
GetTitleHeight
(
context
.
Context
,
*
ReqParacrossTitleHeight
)
(
*
Re
sp
ParacrossDone
,
error
)
GetAssetTxResult
(
context
.
Context
,
*
types
.
ReqHash
)
(
*
ParacrossAsset
,
error
)
IsSync
(
context
.
Context
,
*
types
.
ReqNil
)
(
*
types
.
IsCaughtUp
,
error
)
}
...
...
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