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
1bed9acf
Commit
1bed9acf
authored
Jun 19, 2020
by
madengji
Committed by
33cn
Jun 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ut
parent
d84308aa
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
5 deletions
+2
-5
chain33.para.toml
chain33.para.toml
+1
-3
action.go
plugin/dapp/paracross/executor/action.go
+0
-1
paracross.go
plugin/dapp/paracross/executor/paracross.go
+0
-1
plugin.go
plugin/dapp/paracross/plugin.go
+1
-0
No files found.
chain33.para.toml
View file @
1bed9acf
...
...
@@ -48,14 +48,13 @@ enablePushSubscribe=false
[p2p]
types
=
["dht"]
enable
=
tru
e
enable
=
fals
e
driver
=
"leveldb"
dbPath
=
"paradatadir/addrbook"
dbCache
=
4
grpcLogFile
=
"grpc33.log"
[p2p.sub.dht]
isSeed
=
true
DHTDataPath
=
"paradatadir/p2pstore"
[rpc]
...
...
@@ -112,7 +111,6 @@ mainForkParacrossCommitTx=2270000
mainLoopCheckCommitTxDoneForkHeight
=
4320000
#无平行链交易的主链区块间隔,平行链产生一个空块,从高度0开始,配置[blockHeight:interval],比如["0:50","1000:100"]
emptyBlockInterval
=
["0:50"]
blsSign
=
true
[store]
...
...
plugin/dapp/paracross/executor/action.go
View file @
1bed9acf
...
...
@@ -414,7 +414,6 @@ func getValidAddrs(nodes map[string]struct{}, addrs []string) []string {
//bls签名共识交易验证 大约平均耗时30ms (20~40ms)
func
(
a
*
action
)
procBlsSign
(
nodesArry
[]
string
,
commit
*
pt
.
ParacrossCommitAction
)
([]
string
,
error
)
{
signAddrs
:=
util
.
GetAddrsByBitMap
(
nodesArry
,
commit
.
Bls
.
AddrsMap
)
var
pubs
[]
string
for
_
,
addr
:=
range
signAddrs
{
...
...
plugin/dapp/paracross/executor/paracross.go
View file @
1bed9acf
...
...
@@ -21,7 +21,6 @@ var (
clog
=
log
.
New
(
"module"
,
"execs.paracross"
)
enableParacrossTransfer
=
true
driverName
=
pt
.
ParaX
blsSignName
=
"bls"
)
// Paracross exec
...
...
plugin/dapp/paracross/plugin.go
View file @
1bed9acf
...
...
@@ -6,6 +6,7 @@ package paracross
import
(
"github.com/33cn/chain33/pluginmgr"
_
"github.com/33cn/plugin/plugin/crypto/bls"
_
"github.com/33cn/plugin/plugin/dapp/paracross/autotest"
// register autotest package
"github.com/33cn/plugin/plugin/dapp/paracross/commands"
"github.com/33cn/plugin/plugin/dapp/paracross/executor"
...
...
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