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
fb96aea5
Commit
fb96aea5
authored
Jun 28, 2020
by
madengji
Committed by
33cn
Jun 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update comments
parent
462d2009
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
action.go
plugin/dapp/paracross/executor/action.go
+1
-1
paracross.proto
plugin/dapp/paracross/proto/paracross.proto
+0
-0
No files found.
plugin/dapp/paracross/executor/action.go
View file @
fb96aea5
...
@@ -412,7 +412,7 @@ func getValidAddrs(nodes map[string]struct{}, addrs []string) []string {
...
@@ -412,7 +412,7 @@ func getValidAddrs(nodes map[string]struct{}, addrs []string) []string {
return
ret
return
ret
}
}
//bls签名共识交易验证 大约平均耗时3
0ms (20~40
ms)
//bls签名共识交易验证 大约平均耗时3
ms (2~4
ms)
func
(
a
*
action
)
procBlsSign
(
nodesArry
[]
string
,
commit
*
pt
.
ParacrossCommitAction
)
([]
string
,
error
)
{
func
(
a
*
action
)
procBlsSign
(
nodesArry
[]
string
,
commit
*
pt
.
ParacrossCommitAction
)
([]
string
,
error
)
{
signAddrs
:=
util
.
GetAddrsByBitMap
(
nodesArry
,
commit
.
Bls
.
AddrsMap
)
signAddrs
:=
util
.
GetAddrsByBitMap
(
nodesArry
,
commit
.
Bls
.
AddrsMap
)
var
pubs
[]
string
var
pubs
[]
string
...
...
plugin/dapp/paracross/proto/paracross.proto
View file @
fb96aea5
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