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
25ef0c82
Commit
25ef0c82
authored
Apr 30, 2019
by
vipwzw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto ci
parent
a730e07f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
2 deletions
+1
-2
query.go
plugin/dapp/paracross/executor/query.go
+0
-1
superaccount.go
plugin/dapp/paracross/executor/superaccount.go
+1
-1
paracross.pb.go
plugin/dapp/paracross/types/paracross.pb.go
+0
-0
No files found.
plugin/dapp/paracross/executor/query.go
View file @
25ef0c82
...
@@ -232,7 +232,6 @@ func listNodeGroupStatus(db dbm.KVDB, prefix []byte) (types.Message, error) {
...
@@ -232,7 +232,6 @@ func listNodeGroupStatus(db dbm.KVDB, prefix []byte) (types.Message, error) {
return
&
resp
,
nil
return
&
resp
,
nil
}
}
//按状态遍历
//按状态遍历
func
listLocalNodeStatus
(
db
dbm
.
KVDB
,
title
string
,
status
int32
)
(
types
.
Message
,
error
)
{
func
listLocalNodeStatus
(
db
dbm
.
KVDB
,
title
string
,
status
int32
)
(
types
.
Message
,
error
)
{
prefix
:=
calcLocalNodeStatusPrefix
(
title
,
status
)
prefix
:=
calcLocalNodeStatusPrefix
(
title
,
status
)
...
...
plugin/dapp/paracross/executor/superaccount.go
View file @
25ef0c82
...
@@ -331,7 +331,7 @@ func (a *action) superManagerVoteProc(title string) error {
...
@@ -331,7 +331,7 @@ func (a *action) superManagerVoteProc(title string) error {
//return err to stop tx pass to para chain
//return err to stop tx pass to para chain
if
a
.
exec
.
GetMainHeight
()
<=
consensMainHeight
+
confStopBlocks
*
int64
(
status
.
EmptyBlockInterval
)
{
if
a
.
exec
.
GetMainHeight
()
<=
consensMainHeight
+
confStopBlocks
*
int64
(
status
.
EmptyBlockInterval
)
{
clog
.
Error
(
"paracross.nodeVote, super manager height not reach"
,
"currHeight"
,
a
.
exec
.
GetMainHeight
(),
clog
.
Error
(
"paracross.nodeVote, super manager height not reach"
,
"currHeight"
,
a
.
exec
.
GetMainHeight
(),
"consensHeight"
,
consensHeight
,
"mainHeight"
,
consensMainHeight
,
"confHeight"
,
confStopBlocks
,
"interval"
,
status
.
EmptyBlockInterval
)
"consensHeight"
,
consensHeight
,
"mainHeight"
,
consensMainHeight
,
"confHeight"
,
confStopBlocks
,
"interval"
,
status
.
EmptyBlockInterval
)
return
pt
.
ErrParaConsensStopBlocksNotReach
return
pt
.
ErrParaConsensStopBlocksNotReach
}
}
...
...
plugin/dapp/paracross/types/paracross.pb.go
View file @
25ef0c82
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