Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MetaProtocol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
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
Nebula
MetaProtocol
Commits
085af494
Commit
085af494
authored
Nov 03, 2022
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tx
parent
a5b55c73
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
18 deletions
+31
-18
request_response.proto
crypterapi/crypter/v1/request_response.proto
+20
-18
resource.proto
crypterapi/crypter/v1/resource.proto
+9
-0
service.proto
crypterapi/crypter/v1/service.proto
+1
-0
resource.proto
txcheckerapi/txchecker/v1/resource.proto
+1
-0
No files found.
crypterapi/crypter/v1/request_response.proto
View file @
085af494
...
...
@@ -8,38 +8,40 @@ import "crypter/v1/resource.proto";
message
BatchSignRequest
{
string
id
=
1
;
repeated
bytes
privk
=
2
;
repeated
bytes
data
=
3
;
CryptType
crypt_type
=
4
;
repeated
bytes
privk
=
1
;
repeated
bytes
data
=
2
;
CryptType
crypt_type
=
3
;
}
message
BatchSignResponse
{
string
id
=
1
;
repeated
bytes
signature
=
2
;
repeated
bytes
signature
=
1
;
}
message
BatchVerifyRequest
{
string
id
=
1
;
repeated
bytes
pubkey
=
2
;
repeated
bytes
signature
=
3
;
CryptType
crypt_type
=
4
;
repeated
bytes
pubkey
=
1
;
repeated
bytes
signature
=
2
;
CryptType
crypt_type
=
3
;
}
message
BatchVerifyResponse
{
string
id
=
1
;
repeated
bool
verified
=
2
;
repeated
bool
verified
=
1
;
}
message
BatchRecoverRequest
{
string
id
=
1
;
repeated
bytes
data
=
2
;
repeated
bytes
signature
=
3
;
CryptType
crypt_type
=
4
;
repeated
bytes
data
=
1
;
repeated
bytes
signature
=
2
;
CryptType
crypt_type
=
3
;
}
message
BatchRecoverResponse
{
string
id
=
1
;
repeated
bytes
pubkey
=
2
;
repeated
bytes
pubkey
=
1
;
}
message
BatchRecoverTxRequest
{
repeated
EthTx
raw_tx
=
1
;
}
message
BatchRecoverTxResponse
{
repeated
RethTx
recover_tx
=
1
;
}
crypterapi/crypter/v1/resource.proto
View file @
085af494
...
...
@@ -5,4 +5,13 @@ package crypter.v1;
enum
CryptType
{
CRYPT_TYPE_INVALID
=
0
;
CRYPT_TYPE_SECP256K1
=
1
;
}
message
EthTx
{
bytes
rlp_data
=
1
;
}
message
RethTx
{
bytes
from
=
1
;
bytes
rlp_data
=
2
;
}
\ No newline at end of file
crypterapi/crypter/v1/service.proto
View file @
085af494
...
...
@@ -11,4 +11,5 @@ service CrypterService {
rpc
BatchSign
(
BatchSignRequest
)
returns
(
BatchSignResponse
)
{}
rpc
BatchVerify
(
BatchVerifyRequest
)
returns
(
BatchVerifyResponse
)
{}
rpc
BatchRecover
(
BatchRecoverRequest
)
returns
(
BatchRecoverResponse
)
{}
rpc
BatchRecoverTx
(
BatchRecoverTxRequest
)
returns
(
BatchRecoverTxResponse
)
{}
}
txcheckerapi/txchecker/v1/resource.proto
View file @
085af494
syntax
=
"proto3"
;
package
txchecker
.
v1
;
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