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
3061ce77
Commit
3061ce77
authored
Jul 24, 2019
by
yukang
Committed by
vipwzw
Aug 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Format code for ci check
parent
0415f542
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
67 deletions
+61
-67
para.go
plugin/consensus/para/para.go
+3
-1
paracommitmsg.go
plugin/consensus/para/paracommitmsg.go
+0
-1
parasync.go
plugin/consensus/para/parasync.go
+58
-65
No files found.
plugin/consensus/para/para.go
View file @
3061ce77
...
...
@@ -13,6 +13,8 @@ import (
"sync/atomic"
"time"
"github.com/33cn/chain33/client/api"
"github.com/33cn/chain33/common/crypto"
"github.com/33cn/chain33/common/merkle"
...
...
@@ -66,7 +68,7 @@ type client struct {
privateKey
crypto
.
PrivKey
wg
sync
.
WaitGroup
subCfg
*
subConfig
quitCreate
chan
struct
{}
quitCreate
chan
struct
{}
}
type
subConfig
struct
{
...
...
plugin/consensus/para/paracommitmsg.go
View file @
3061ce77
...
...
@@ -170,7 +170,6 @@ func (client *commitMsgClient) isSync() bool {
return
false
}
if
!
client
.
paraClient
.
SyncHasCaughtUp
()
{
plog
.
Info
(
"para is not Sync"
,
"syncCaughtUp"
,
client
.
paraClient
.
SyncHasCaughtUp
())
return
false
...
...
plugin/consensus/para/parasync.go
View file @
3061ce77
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