Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
董子豪
sgxwallet
Commits
1c8b7056
Unverified
Commit
1c8b7056
authored
Sep 10, 2019
by
kladkogex
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes
parent
7bb4f08a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
1 deletion
+11
-1
LevelDB.cpp
LevelDB.cpp
+4
-0
LevelDB.h
LevelDB.h
+2
-0
SGXWalletServer.cpp
SGXWalletServer.cpp
+1
-0
ServerInit.cpp
ServerInit.cpp
+0
-1
testw.cpp
testw.cpp
+4
-0
No files found.
LevelDB.cpp
View file @
1c8b7056
...
@@ -39,6 +39,8 @@ static WriteOptions writeOptions;
...
@@ -39,6 +39,8 @@ static WriteOptions writeOptions;
static
ReadOptions
readOptions
;
static
ReadOptions
readOptions
;
LevelDB
*
levelDb
=
nullptr
;
std
::
shared_ptr
<
std
::
string
>
LevelDB
::
readString
(
std
::
string
&
_key
)
{
std
::
shared_ptr
<
std
::
string
>
LevelDB
::
readString
(
std
::
string
&
_key
)
{
auto
result
=
std
::
make_shared
<
std
::
string
>
();
auto
result
=
std
::
make_shared
<
std
::
string
>
();
...
@@ -130,3 +132,5 @@ LevelDB::~LevelDB() {
...
@@ -130,3 +132,5 @@ LevelDB::~LevelDB() {
delete
db
;
delete
db
;
}
}
LevelDB.h
View file @
1c8b7056
...
@@ -79,4 +79,6 @@ public:
...
@@ -79,4 +79,6 @@ public:
};
};
extern
LevelDB
*
levelDb
;
#endif
#endif
\ No newline at end of file
SGXWalletServer.cpp
View file @
1c8b7056
...
@@ -194,6 +194,7 @@ Json::Value SGXWalletServer::ecdsaSignMessageHash(const std::string& _keyShareN
...
@@ -194,6 +194,7 @@ Json::Value SGXWalletServer::ecdsaSignMessageHash(const std::string& _keyShareN
void
SGXWalletServer
::
checkKeyShareDoesExist
(
const
string
&
_keyShare
)
{
void
SGXWalletServer
::
checkKeyShareDoesExist
(
const
string
&
_keyShare
)
{
}
}
void
SGXWalletServer
::
checkKeyShareDoesNotExist
(
const
string
&
_keyShare
)
{
void
SGXWalletServer
::
checkKeyShareDoesNotExist
(
const
string
&
_keyShare
)
{
...
...
ServerInit.cpp
View file @
1c8b7056
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
LevelDB
*
levelDb
=
nullptr
;
...
...
testw.cpp
View file @
1c8b7056
...
@@ -180,6 +180,10 @@ TEST_CASE("BLS key encrypt/decrypt", "[bls-key-encrypt-decrypt]") {
...
@@ -180,6 +180,10 @@ TEST_CASE("BLS key encrypt/decrypt", "[bls-key-encrypt-decrypt]") {
}
}
}
}
TEST_CASE
(
"BLS key import"
,
"[bls-key-import]"
)
{
}
TEST_CASE
(
"BLS sign test"
,
"[bls-sign]"
)
{
TEST_CASE
(
"BLS sign test"
,
"[bls-sign]"
)
{
...
...
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