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
d982018f
Unverified
Commit
d982018f
authored
Nov 24, 2020
by
Stan Kladko
Committed by
GitHub
Nov 24, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #234 from skalenetwork/develop
Intel submission 3
parents
75fa12ed
0f286868
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
20 deletions
+28
-20
dockerimage.yml
.github/workflows/dockerimage.yml
+11
-1
dockerimagesim.yml
.github/workflows/dockerimagesim.yml
+1
-11
README.md
README.md
+9
-1
SGXWalletServer.cpp
SGXWalletServer.cpp
+1
-1
secure_enclave.config.xml
secure_enclave/secure_enclave.config.xml
+3
-3
secure_enclave.config.xml.release
secure_enclave/secure_enclave.config.xml.release
+3
-3
No files found.
.github/workflows/dockerimage.yml
View file @
d982018f
...
...
@@ -38,6 +38,16 @@ jobs:
bash ./scripts/publish_image.sh sgxwallet
env
:
ACTIONS_ALLOW_UNSECURE_COMMANDS
:
true
-
name
:
Create Release
if
:
contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
id
:
create_release
uses
:
actions/create-release@latest
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
tag_name
:
${{ env.VERSION }}
release_name
:
${{ env.VERSION }}
draft
:
false
prerelease
:
true
.github/workflows/dockerimagesim.yml
View file @
d982018f
...
...
@@ -41,16 +41,6 @@ jobs:
bash ./scripts/publish_image.sh sgxwallet_sim
env
:
ACTIONS_ALLOW_UNSECURE_COMMANDS
:
true
-
name
:
Create Release
if
:
contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
id
:
create_release
uses
:
actions/create-release@latest
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
tag_name
:
${{ env.VERSION }}
release_name
:
${{ env.VERSION }}
draft
:
false
prerelease
:
true
README.md
View file @
d982018f
...
...
@@ -51,10 +51,18 @@ Then run sgxwallet using docker-compose
cd
run_sgx_sim
;
sudo
docker-compose up
```
Note: you need a machine that supports Intel AVX512 instruction set. Most modern Intel CPUs support it. To verify you machine supports AVX512, run
```
cat /proc/cpuinfo | grep avx512
```
Note: sgxwallet requires docker-compose for correct operation. You must always use
docker-compose and avoid using raw docker tools.
Note: simulation mode is only t
ry
try sgxwallet.
Note: simulation mode is only t
o
try sgxwallet.
In production, you need to run sgxwallet on a server that supports SGX.
Never run a production sgxserver in simulation mode.
...
...
SGXWalletServer.cpp
View file @
d982018f
...
...
@@ -115,7 +115,7 @@ void SGXWalletServer::printDB() {
#ifdef SGX_HW_SIM
#define NUM_THREADS 16
#else
#define NUM_THREADS
64
#define NUM_THREADS
200
#endif
...
...
secure_enclave/secure_enclave.config.xml
View file @
d982018f
...
...
@@ -3,9 +3,9 @@
<ISVSVN>
2
</ISVSVN>
<StackMaxSize>
0x200000
</StackMaxSize>
<HeapMaxSize>
0x200000
</HeapMaxSize>
<TCSNum>
1
6
</TCSNum>
<TCSMaxNum>
1
6
</TCSMaxNum>
<TCSMinPool>
1
6
</TCSMinPool>
<TCSNum>
25
6
</TCSNum>
<TCSMaxNum>
25
6
</TCSMaxNum>
<TCSMinPool>
25
6
</TCSMinPool>
<TCSPolicy>
0
</TCSPolicy>
<!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
<DisableDebug>
0
</DisableDebug>
...
...
secure_enclave/secure_enclave.config.xml.release
View file @
d982018f
...
...
@@ -3,9 +3,9 @@
<ISVSVN>2</ISVSVN>
<StackMaxSize>0x1000000</StackMaxSize>
<HeapMaxSize>0x100000000</HeapMaxSize>
<TCSNum>
128
</TCSNum>
<TCSMaxNum>
128
</TCSMaxNum>
<TCSMinPool>
128
</TCSMinPool>
<TCSNum>
256
</TCSNum>
<TCSMaxNum>
256
</TCSMaxNum>
<TCSMinPool>
256
</TCSMinPool>
<TCSPolicy>0</TCSPolicy>
<!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
<DisableDebug>1</DisableDebug>
...
...
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