Skip to content

Commit 22f2204

Browse files
authored
Change reported file limit to 300 (#403)
* Change reported file limit to 300; Update version * Update version
1 parent 6faccbf commit 22f2204

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Please refer to [Crust sWorker docker mode](docs/Docker.md)
5353
In /opt/crust/crust-sworker/etc/Config.json file you can configure your sworker application.
5454
```
5555
{
56-
"base_path" : "/opt/crust/crust-sworker/1.1.0/sworker_base_path", # sWorker key information location, must be absolute path
56+
"base_path" : "/opt/crust/crust-sworker/1.1.1/sworker_base_path", # sWorker key information location, must be absolute path
5757
"base_url" : "http://127.0.0.1:12222/api/v0", # your sWorker node api address
5858
"data_path" : ["/data1"], # If this item is not set, srd and sealing function cannot be applied
5959
@@ -71,7 +71,7 @@ In /opt/crust/crust-sworker/etc/Config.json file you can configure your sworker
7171

7272
### Run
7373
```
74-
/opt/crust/crust-sworker/1.1.0/bin/crust-sworker -c /opt/crust/crust-sworker/1.1.0/etc/Config.json
74+
/opt/crust/crust-sworker/1.1.1/bin/crust-sworker -c /opt/crust/crust-sworker/1.1.1/etc/Config.json
7575
```
7676

7777
### Crust sWorker executable file

VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1.1.0
2-
SWORKER=1.1.0
1+
1.1.1
2+
SWORKER=1.1.1

docs/API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ Output:
7777
"account" : "5EsgXyVJGnoGQ931Vcbzhcsi64unFhCoc5GhZUJnD8qvzu9j",
7878
"mrenclave" : "cb8a24a6a971d738c6976269358e24bf2af578462fb92ead2d384b619fff6d4a",
7979
"pub_key" : "95178acfcb9f1406de8b14a5f81fa141a2934fcfc6fefa58077ff6a823711b0d5f884332b0b2a8699cd6ce901a7add1bef97365e3a73054cf383bb8bd3cc9460",
80-
"sworker_version" : "1.1.0",
81-
"version" : "1.1.0"
80+
"sworker_version" : "1.1.1",
81+
"version" : "1.1.1"
8282
}
8383
```
8484

src/app/include/Resource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <stdint.h>
55
#include "Parameter.h"
66

7-
#define VERSION "1.1.0"
7+
#define VERSION "1.1.1"
88

99
#define CRUST_INST_DIR "/opt/crust/crust-sworker/" VERSION
1010
#define ENCLAVE_FILE_PATH CRUST_INST_DIR "/etc/enclave.signed.so"

src/enclave/include/Parameter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ typedef crust_status_t (*ecall_store2_f)(const uint8_t *u, size_t s);
1010
typedef sgx_status_t (*ocall_get2_f)(crust_status_t *status, uint8_t *u, size_t s, size_t *rs);
1111

1212
// For all
13-
#define SWORKER_VERSION "1.1.0"
13+
#define SWORKER_VERSION "1.1.1"
1414
#define LEAF_SEPARATOR "+leaf+"
1515
#define EMPTY_BLOCK_CID "QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n"
1616
#define EMPTY_BLOCK_FLAG "empty"
@@ -95,7 +95,7 @@ typedef sgx_status_t (*ocall_get2_f)(crust_status_t *status, uint8_t *u, size_t
9595
#define WORKREPORT_FILES_ADDED "added_files"
9696
#define WORKREPORT_FILES_DELETED "deleted_files"
9797
#define WORKREPORT_SIG "sig"
98-
#define WORKREPORT_FILE_LIMIT 1000
98+
#define WORKREPORT_FILE_LIMIT 300
9999
#define REPORT_SLOT 600
100100
#define BLOCK_INTERVAL 6
101101
// REPORT_INTERVAL_BLCOK_NUMBER_UPPER_LIMIT < REPORT_SLOT

0 commit comments

Comments
 (0)