├── .gitattributes ├── .github └── workflows │ └── main.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── VERSION ├── docker ├── build.sh ├── build_env.sh ├── env │ └── Dockerfile └── runner │ ├── Dockerfile │ └── start_sworker.sh ├── docs ├── API.md ├── Docker.md └── img │ ├── sbp_grants_badge.png │ └── web3f_grants_badge.png ├── resource ├── boost_1_70_0.tar.gz ├── intel-sgx-ssl-master.zip ├── openssl-1.1.1g.tar.gz ├── sgx_linux_x64_driver_2.6.0_b0a445b.bin ├── sgx_linux_x64_sdk_2.11.100.2.bin └── toolset.tar.gz ├── scripts ├── install.sh ├── install_deps.sh ├── package.sh ├── start_sworker.sh ├── uninstall.sh └── utils.sh ├── src ├── Config.json ├── Makefile ├── app │ ├── App.cpp │ ├── App.h │ ├── chain │ │ ├── Chain.cpp │ │ └── Chain.h │ ├── config │ │ ├── Config.cpp │ │ └── Config.h │ ├── database │ │ ├── DataBase.cpp │ │ └── DataBase.h │ ├── ecalls │ │ ├── ECalls.cpp │ │ ├── ECalls.h │ │ ├── EnclaveQueue.cpp │ │ └── EnclaveQueue.h │ ├── http │ │ ├── ApiHandler.cpp │ │ ├── ApiHandler.h │ │ ├── HttpClient.cpp │ │ ├── HttpClient.h │ │ ├── WebServer.cpp │ │ ├── WebServer.h │ │ ├── WebsocketClient.cpp │ │ └── WebsocketClient.h │ ├── include │ │ └── Resource.h │ ├── ipfs │ │ ├── Ipfs.cpp │ │ └── Ipfs.h │ ├── log │ │ ├── Log.cpp │ │ └── Log.h │ ├── ocalls │ │ ├── IpfsOCalls.cpp │ │ ├── IpfsOCalls.h │ │ ├── OCalls.cpp │ │ ├── OCalls.h │ │ ├── PersistOCalls.cpp │ │ ├── PersistOCalls.h │ │ ├── StoreOCalls.cpp │ │ └── StoreOCalls.h │ ├── process │ │ ├── EnclaveData.cpp │ │ ├── EnclaveData.h │ │ ├── EntryNetwork.cpp │ │ ├── EntryNetwork.h │ │ ├── Process.cpp │ │ ├── Process.h │ │ ├── Srd.cpp │ │ ├── Srd.h │ │ ├── Validator.cpp │ │ ├── Validator.h │ │ ├── WorkReport.cpp │ │ └── WorkReport.h │ └── utils │ │ ├── Common.cpp │ │ ├── Common.h │ │ ├── Ctpl.h │ │ ├── FileUtils.cpp │ │ ├── FileUtils.h │ │ ├── FormatUtils.cpp │ │ ├── FormatUtils.h │ │ ├── SafeLock.cpp │ │ ├── SafeLock.h │ │ ├── SgxSupport.c │ │ └── SgxSupport.h ├── enclave │ ├── Enclave.config.xml │ ├── Enclave.cpp │ ├── Enclave.edl │ ├── Enclave.h │ ├── Enclave.lds │ ├── EnclavePrivate.pem │ ├── identity │ │ ├── Identity.cpp │ │ └── Identity.h │ ├── include │ │ ├── CrustStatus.h │ │ ├── IASReport.h │ │ ├── MerkleTree.h │ │ └── Parameter.h │ ├── persistence │ │ ├── Persistence.cpp │ │ └── Persistence.h │ ├── report │ │ ├── Report.cpp │ │ └── Report.h │ ├── srd │ │ ├── Srd.cpp │ │ └── Srd.h │ ├── storage │ │ ├── Storage.cpp │ │ └── Storage.h │ ├── utils │ │ ├── Defer.h │ │ ├── EUtils.cpp │ │ ├── EUtils.h │ │ ├── Json.h │ │ ├── PathHelper.cpp │ │ ├── PathHelper.h │ │ ├── SafeLock.cpp │ │ └── SafeLock.h │ ├── validator │ │ ├── Validator.cpp │ │ └── Validator.h │ └── workload │ │ ├── Workload.cpp │ │ └── Workload.h └── sgx_white_list_cert.bin └── test ├── Makefile ├── integration ├── benchmark │ ├── seal │ ├── srd │ └── validate ├── config │ └── config.json ├── functionality │ ├── 100_validate │ ├── 200_seal │ ├── 300_srd │ ├── 500_upgrade │ ├── 501_boundary │ ├── 600_delete │ ├── 700_workreport1 │ ├── 800_workreport2 │ └── 900_restart ├── performance │ └── run_test.sh └── scripts │ ├── gen_random.sh │ ├── start_test.sh │ └── utils.sh ├── src ├── Makefile ├── app │ ├── AppTest.cpp │ ├── AppTest.h │ ├── ecalls │ │ ├── ECallsTest.cpp │ │ └── ECallsTest.h │ ├── http │ │ ├── ApiHandlerTest.cpp │ │ └── ApiHandlerTest.h │ ├── ocalls │ │ ├── OCallsTest.cpp │ │ └── OCallsTest.h │ └── process │ │ ├── AsyncTest.cpp │ │ ├── AsyncTest.h │ │ ├── EnclaveDataTest.cpp │ │ ├── EnclaveDataTest.h │ │ ├── ProcessTest.cpp │ │ ├── ProcessTest.h │ │ ├── SrdTest.cpp │ │ ├── SrdTest.h │ │ ├── ValidateTest.cpp │ │ └── ValidateTest.h └── enclave │ ├── EnclaveTest.cpp │ ├── EnclaveTest.edl │ ├── identity │ ├── IdentityTest.cpp │ └── IdentityTest.h │ ├── report │ ├── ReportTest.cpp │ └── ReportTest.h │ ├── srd │ ├── SrdTest.cpp │ └── SrdTest.h │ ├── validator │ ├── ValidatorTest.cpp │ └── ValidatorTest.h │ └── workload │ ├── WorkloadTest.cpp │ └── WorkloadTest.h └── unit ├── MainTest.cpp ├── MainTest.h ├── Makefile └── enclave ├── EncalveTestEntrance.cpp ├── EncalveTestEntrance.h ├── storageTest ├── StorageTest.cpp └── StorageTest.h └── utilsTest ├── UtilsTest.cpp └── UtilsTest.h /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/README.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/VERSION -------------------------------------------------------------------------------- /docker/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/docker/build.sh -------------------------------------------------------------------------------- /docker/build_env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/docker/build_env.sh -------------------------------------------------------------------------------- /docker/env/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/docker/env/Dockerfile -------------------------------------------------------------------------------- /docker/runner/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/docker/runner/Dockerfile -------------------------------------------------------------------------------- /docker/runner/start_sworker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/docker/runner/start_sworker.sh -------------------------------------------------------------------------------- /docs/API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/docs/API.md -------------------------------------------------------------------------------- /docs/Docker.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/docs/Docker.md -------------------------------------------------------------------------------- /docs/img/sbp_grants_badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/docs/img/sbp_grants_badge.png -------------------------------------------------------------------------------- /docs/img/web3f_grants_badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/docs/img/web3f_grants_badge.png -------------------------------------------------------------------------------- /resource/boost_1_70_0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/resource/boost_1_70_0.tar.gz -------------------------------------------------------------------------------- /resource/intel-sgx-ssl-master.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/resource/intel-sgx-ssl-master.zip -------------------------------------------------------------------------------- /resource/openssl-1.1.1g.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/resource/openssl-1.1.1g.tar.gz -------------------------------------------------------------------------------- /resource/sgx_linux_x64_driver_2.6.0_b0a445b.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/resource/sgx_linux_x64_driver_2.6.0_b0a445b.bin -------------------------------------------------------------------------------- /resource/sgx_linux_x64_sdk_2.11.100.2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/resource/sgx_linux_x64_sdk_2.11.100.2.bin -------------------------------------------------------------------------------- /resource/toolset.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/resource/toolset.tar.gz -------------------------------------------------------------------------------- /scripts/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/scripts/install.sh -------------------------------------------------------------------------------- /scripts/install_deps.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/scripts/install_deps.sh -------------------------------------------------------------------------------- /scripts/package.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/scripts/package.sh -------------------------------------------------------------------------------- /scripts/start_sworker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/scripts/start_sworker.sh -------------------------------------------------------------------------------- /scripts/uninstall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/scripts/uninstall.sh -------------------------------------------------------------------------------- /scripts/utils.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/scripts/utils.sh -------------------------------------------------------------------------------- /src/Config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/Config.json -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/Makefile -------------------------------------------------------------------------------- /src/app/App.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/App.cpp -------------------------------------------------------------------------------- /src/app/App.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/App.h -------------------------------------------------------------------------------- /src/app/chain/Chain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/chain/Chain.cpp -------------------------------------------------------------------------------- /src/app/chain/Chain.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/chain/Chain.h -------------------------------------------------------------------------------- /src/app/config/Config.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/config/Config.cpp -------------------------------------------------------------------------------- /src/app/config/Config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/config/Config.h -------------------------------------------------------------------------------- /src/app/database/DataBase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/database/DataBase.cpp -------------------------------------------------------------------------------- /src/app/database/DataBase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/database/DataBase.h -------------------------------------------------------------------------------- /src/app/ecalls/ECalls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ecalls/ECalls.cpp -------------------------------------------------------------------------------- /src/app/ecalls/ECalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ecalls/ECalls.h -------------------------------------------------------------------------------- /src/app/ecalls/EnclaveQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ecalls/EnclaveQueue.cpp -------------------------------------------------------------------------------- /src/app/ecalls/EnclaveQueue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ecalls/EnclaveQueue.h -------------------------------------------------------------------------------- /src/app/http/ApiHandler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/http/ApiHandler.cpp -------------------------------------------------------------------------------- /src/app/http/ApiHandler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/http/ApiHandler.h -------------------------------------------------------------------------------- /src/app/http/HttpClient.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/http/HttpClient.cpp -------------------------------------------------------------------------------- /src/app/http/HttpClient.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/http/HttpClient.h -------------------------------------------------------------------------------- /src/app/http/WebServer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/http/WebServer.cpp -------------------------------------------------------------------------------- /src/app/http/WebServer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/http/WebServer.h -------------------------------------------------------------------------------- /src/app/http/WebsocketClient.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/http/WebsocketClient.cpp -------------------------------------------------------------------------------- /src/app/http/WebsocketClient.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/http/WebsocketClient.h -------------------------------------------------------------------------------- /src/app/include/Resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/include/Resource.h -------------------------------------------------------------------------------- /src/app/ipfs/Ipfs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ipfs/Ipfs.cpp -------------------------------------------------------------------------------- /src/app/ipfs/Ipfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ipfs/Ipfs.h -------------------------------------------------------------------------------- /src/app/log/Log.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/log/Log.cpp -------------------------------------------------------------------------------- /src/app/log/Log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/log/Log.h -------------------------------------------------------------------------------- /src/app/ocalls/IpfsOCalls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ocalls/IpfsOCalls.cpp -------------------------------------------------------------------------------- /src/app/ocalls/IpfsOCalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ocalls/IpfsOCalls.h -------------------------------------------------------------------------------- /src/app/ocalls/OCalls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ocalls/OCalls.cpp -------------------------------------------------------------------------------- /src/app/ocalls/OCalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ocalls/OCalls.h -------------------------------------------------------------------------------- /src/app/ocalls/PersistOCalls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ocalls/PersistOCalls.cpp -------------------------------------------------------------------------------- /src/app/ocalls/PersistOCalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ocalls/PersistOCalls.h -------------------------------------------------------------------------------- /src/app/ocalls/StoreOCalls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ocalls/StoreOCalls.cpp -------------------------------------------------------------------------------- /src/app/ocalls/StoreOCalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/ocalls/StoreOCalls.h -------------------------------------------------------------------------------- /src/app/process/EnclaveData.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/EnclaveData.cpp -------------------------------------------------------------------------------- /src/app/process/EnclaveData.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/EnclaveData.h -------------------------------------------------------------------------------- /src/app/process/EntryNetwork.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/EntryNetwork.cpp -------------------------------------------------------------------------------- /src/app/process/EntryNetwork.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/EntryNetwork.h -------------------------------------------------------------------------------- /src/app/process/Process.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/Process.cpp -------------------------------------------------------------------------------- /src/app/process/Process.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/Process.h -------------------------------------------------------------------------------- /src/app/process/Srd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/Srd.cpp -------------------------------------------------------------------------------- /src/app/process/Srd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/Srd.h -------------------------------------------------------------------------------- /src/app/process/Validator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/Validator.cpp -------------------------------------------------------------------------------- /src/app/process/Validator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/Validator.h -------------------------------------------------------------------------------- /src/app/process/WorkReport.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/WorkReport.cpp -------------------------------------------------------------------------------- /src/app/process/WorkReport.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/process/WorkReport.h -------------------------------------------------------------------------------- /src/app/utils/Common.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/utils/Common.cpp -------------------------------------------------------------------------------- /src/app/utils/Common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/utils/Common.h -------------------------------------------------------------------------------- /src/app/utils/Ctpl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/utils/Ctpl.h -------------------------------------------------------------------------------- /src/app/utils/FileUtils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/utils/FileUtils.cpp -------------------------------------------------------------------------------- /src/app/utils/FileUtils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/utils/FileUtils.h -------------------------------------------------------------------------------- /src/app/utils/FormatUtils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/utils/FormatUtils.cpp -------------------------------------------------------------------------------- /src/app/utils/FormatUtils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/utils/FormatUtils.h -------------------------------------------------------------------------------- /src/app/utils/SafeLock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/utils/SafeLock.cpp -------------------------------------------------------------------------------- /src/app/utils/SafeLock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/utils/SafeLock.h -------------------------------------------------------------------------------- /src/app/utils/SgxSupport.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/utils/SgxSupport.c -------------------------------------------------------------------------------- /src/app/utils/SgxSupport.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/app/utils/SgxSupport.h -------------------------------------------------------------------------------- /src/enclave/Enclave.config.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/Enclave.config.xml -------------------------------------------------------------------------------- /src/enclave/Enclave.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/Enclave.cpp -------------------------------------------------------------------------------- /src/enclave/Enclave.edl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/Enclave.edl -------------------------------------------------------------------------------- /src/enclave/Enclave.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/Enclave.h -------------------------------------------------------------------------------- /src/enclave/Enclave.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/Enclave.lds -------------------------------------------------------------------------------- /src/enclave/EnclavePrivate.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/EnclavePrivate.pem -------------------------------------------------------------------------------- /src/enclave/identity/Identity.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/identity/Identity.cpp -------------------------------------------------------------------------------- /src/enclave/identity/Identity.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/identity/Identity.h -------------------------------------------------------------------------------- /src/enclave/include/CrustStatus.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/include/CrustStatus.h -------------------------------------------------------------------------------- /src/enclave/include/IASReport.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/include/IASReport.h -------------------------------------------------------------------------------- /src/enclave/include/MerkleTree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/include/MerkleTree.h -------------------------------------------------------------------------------- /src/enclave/include/Parameter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/include/Parameter.h -------------------------------------------------------------------------------- /src/enclave/persistence/Persistence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/persistence/Persistence.cpp -------------------------------------------------------------------------------- /src/enclave/persistence/Persistence.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/persistence/Persistence.h -------------------------------------------------------------------------------- /src/enclave/report/Report.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/report/Report.cpp -------------------------------------------------------------------------------- /src/enclave/report/Report.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/report/Report.h -------------------------------------------------------------------------------- /src/enclave/srd/Srd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/srd/Srd.cpp -------------------------------------------------------------------------------- /src/enclave/srd/Srd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/srd/Srd.h -------------------------------------------------------------------------------- /src/enclave/storage/Storage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/storage/Storage.cpp -------------------------------------------------------------------------------- /src/enclave/storage/Storage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/storage/Storage.h -------------------------------------------------------------------------------- /src/enclave/utils/Defer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/utils/Defer.h -------------------------------------------------------------------------------- /src/enclave/utils/EUtils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/utils/EUtils.cpp -------------------------------------------------------------------------------- /src/enclave/utils/EUtils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/utils/EUtils.h -------------------------------------------------------------------------------- /src/enclave/utils/Json.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/utils/Json.h -------------------------------------------------------------------------------- /src/enclave/utils/PathHelper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/utils/PathHelper.cpp -------------------------------------------------------------------------------- /src/enclave/utils/PathHelper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/utils/PathHelper.h -------------------------------------------------------------------------------- /src/enclave/utils/SafeLock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/utils/SafeLock.cpp -------------------------------------------------------------------------------- /src/enclave/utils/SafeLock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/utils/SafeLock.h -------------------------------------------------------------------------------- /src/enclave/validator/Validator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/validator/Validator.cpp -------------------------------------------------------------------------------- /src/enclave/validator/Validator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/validator/Validator.h -------------------------------------------------------------------------------- /src/enclave/workload/Workload.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/workload/Workload.cpp -------------------------------------------------------------------------------- /src/enclave/workload/Workload.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/enclave/workload/Workload.h -------------------------------------------------------------------------------- /src/sgx_white_list_cert.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/src/sgx_white_list_cert.bin -------------------------------------------------------------------------------- /test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/Makefile -------------------------------------------------------------------------------- /test/integration/benchmark/seal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/benchmark/seal -------------------------------------------------------------------------------- /test/integration/benchmark/srd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/benchmark/srd -------------------------------------------------------------------------------- /test/integration/benchmark/validate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/benchmark/validate -------------------------------------------------------------------------------- /test/integration/config/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/config/config.json -------------------------------------------------------------------------------- /test/integration/functionality/100_validate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/functionality/100_validate -------------------------------------------------------------------------------- /test/integration/functionality/200_seal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/functionality/200_seal -------------------------------------------------------------------------------- /test/integration/functionality/300_srd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/functionality/300_srd -------------------------------------------------------------------------------- /test/integration/functionality/500_upgrade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/functionality/500_upgrade -------------------------------------------------------------------------------- /test/integration/functionality/501_boundary: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/functionality/501_boundary -------------------------------------------------------------------------------- /test/integration/functionality/600_delete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/functionality/600_delete -------------------------------------------------------------------------------- /test/integration/functionality/700_workreport1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/functionality/700_workreport1 -------------------------------------------------------------------------------- /test/integration/functionality/800_workreport2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/functionality/800_workreport2 -------------------------------------------------------------------------------- /test/integration/functionality/900_restart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/functionality/900_restart -------------------------------------------------------------------------------- /test/integration/performance/run_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/performance/run_test.sh -------------------------------------------------------------------------------- /test/integration/scripts/gen_random.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/scripts/gen_random.sh -------------------------------------------------------------------------------- /test/integration/scripts/start_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/scripts/start_test.sh -------------------------------------------------------------------------------- /test/integration/scripts/utils.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/integration/scripts/utils.sh -------------------------------------------------------------------------------- /test/src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/Makefile -------------------------------------------------------------------------------- /test/src/app/AppTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/AppTest.cpp -------------------------------------------------------------------------------- /test/src/app/AppTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/AppTest.h -------------------------------------------------------------------------------- /test/src/app/ecalls/ECallsTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/ecalls/ECallsTest.cpp -------------------------------------------------------------------------------- /test/src/app/ecalls/ECallsTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/ecalls/ECallsTest.h -------------------------------------------------------------------------------- /test/src/app/http/ApiHandlerTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/http/ApiHandlerTest.cpp -------------------------------------------------------------------------------- /test/src/app/http/ApiHandlerTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/http/ApiHandlerTest.h -------------------------------------------------------------------------------- /test/src/app/ocalls/OCallsTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/ocalls/OCallsTest.cpp -------------------------------------------------------------------------------- /test/src/app/ocalls/OCallsTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/ocalls/OCallsTest.h -------------------------------------------------------------------------------- /test/src/app/process/AsyncTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/process/AsyncTest.cpp -------------------------------------------------------------------------------- /test/src/app/process/AsyncTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/process/AsyncTest.h -------------------------------------------------------------------------------- /test/src/app/process/EnclaveDataTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/process/EnclaveDataTest.cpp -------------------------------------------------------------------------------- /test/src/app/process/EnclaveDataTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/process/EnclaveDataTest.h -------------------------------------------------------------------------------- /test/src/app/process/ProcessTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/process/ProcessTest.cpp -------------------------------------------------------------------------------- /test/src/app/process/ProcessTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/process/ProcessTest.h -------------------------------------------------------------------------------- /test/src/app/process/SrdTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/process/SrdTest.cpp -------------------------------------------------------------------------------- /test/src/app/process/SrdTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/process/SrdTest.h -------------------------------------------------------------------------------- /test/src/app/process/ValidateTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/process/ValidateTest.cpp -------------------------------------------------------------------------------- /test/src/app/process/ValidateTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/app/process/ValidateTest.h -------------------------------------------------------------------------------- /test/src/enclave/EnclaveTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/EnclaveTest.cpp -------------------------------------------------------------------------------- /test/src/enclave/EnclaveTest.edl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/EnclaveTest.edl -------------------------------------------------------------------------------- /test/src/enclave/identity/IdentityTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/identity/IdentityTest.cpp -------------------------------------------------------------------------------- /test/src/enclave/identity/IdentityTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/identity/IdentityTest.h -------------------------------------------------------------------------------- /test/src/enclave/report/ReportTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/report/ReportTest.cpp -------------------------------------------------------------------------------- /test/src/enclave/report/ReportTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/report/ReportTest.h -------------------------------------------------------------------------------- /test/src/enclave/srd/SrdTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/srd/SrdTest.cpp -------------------------------------------------------------------------------- /test/src/enclave/srd/SrdTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/srd/SrdTest.h -------------------------------------------------------------------------------- /test/src/enclave/validator/ValidatorTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/validator/ValidatorTest.cpp -------------------------------------------------------------------------------- /test/src/enclave/validator/ValidatorTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/validator/ValidatorTest.h -------------------------------------------------------------------------------- /test/src/enclave/workload/WorkloadTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/workload/WorkloadTest.cpp -------------------------------------------------------------------------------- /test/src/enclave/workload/WorkloadTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/src/enclave/workload/WorkloadTest.h -------------------------------------------------------------------------------- /test/unit/MainTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/unit/MainTest.cpp -------------------------------------------------------------------------------- /test/unit/MainTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/unit/MainTest.h -------------------------------------------------------------------------------- /test/unit/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/unit/Makefile -------------------------------------------------------------------------------- /test/unit/enclave/EncalveTestEntrance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/unit/enclave/EncalveTestEntrance.cpp -------------------------------------------------------------------------------- /test/unit/enclave/EncalveTestEntrance.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/unit/enclave/EncalveTestEntrance.h -------------------------------------------------------------------------------- /test/unit/enclave/storageTest/StorageTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/unit/enclave/storageTest/StorageTest.cpp -------------------------------------------------------------------------------- /test/unit/enclave/storageTest/StorageTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/unit/enclave/storageTest/StorageTest.h -------------------------------------------------------------------------------- /test/unit/enclave/utilsTest/UtilsTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/unit/enclave/utilsTest/UtilsTest.cpp -------------------------------------------------------------------------------- /test/unit/enclave/utilsTest/UtilsTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/crustio/crust-sworker/HEAD/test/unit/enclave/utilsTest/UtilsTest.h --------------------------------------------------------------------------------