Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sidecar
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
sidecar
Commits
bd39e5e0
Commit
bd39e5e0
authored
Nov 02, 2021
by
suyanlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed unit test bug
parent
a022cf95
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ibtpx.proto
model/pb/ibtpx.proto
+1
-1
bls_test.go
pkg/crypto/bls/bls_test.go
+1
-1
No files found.
model/pb/ibtpx.proto
View file @
bd39e5e0
...
...
@@ -9,7 +9,7 @@ message IBTPX {
IBTP
ibtp
=
1
;
// route mode
string
mode
=
2
;
// dirct、relay
repeated
string
routeSign
=
3
;
//路由节点签名路径,主要是对data hash签名,主要是相互校验。sidecar节点之间相互校验。sidecar 节点需要注册到中继连上。还可以过滤已经发送过的交易、也可以作恶惩罚。
repeated
string
routeSign
=
3
;
//路由节点签名路径,主要是对data hash签名,主要是相互校验。sidecar节点之间相互校验。sidecar 节点需要注册到中继连上。还可以过滤已经发送过的交易、也可以作恶惩罚。
使用bls签名算法,聚合签名。
string
routeMethod
=
4
;
// single、multicast、broadcast、
repeated
string
routeMethodArg
=
5
;
//路由节点,默认第一个节点。或者转发消息。
bool
IsValid
=
6
;
...
...
pkg/crypto/bls/bls_test.go
View file @
bd39e5e0
...
...
@@ -53,7 +53,7 @@ func ethSignOneTest(t *testing.T, secHex string, msgHex string, sigHex string) {
}
}
func
blsAggregateVerifyNoCheckTest
(
t
*
testing
.
T
)
{
func
TestBlsAggregateVerifyNoCheck
(
t
*
testing
.
T
)
{
nTbl
:=
[]
int
{
1
,
2
,
15
,
16
,
17
,
50
}
for
i
:=
0
;
i
<
len
(
nTbl
);
i
++
{
blsAggregateVerifyNoCheckTestOne
(
t
,
nTbl
[
i
])
...
...
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