mirror of
https://github.com/boolnetwork/mining-scripts.git
synced 2026-02-21 17:37:20 +08:00
Deployment guide and scripts for Bool Network
| configs | ||
| .gitignore | ||
| docker-compose.yml | ||
| LICENSE | ||
| README.md | ||
| sgx-detect | ||
BOOLNetwork scripts
Instructions
Before Getting Started, Check at Intel© Ark that your processor is Intel© SGX compatible.
Clone the repo.
git clone https://github.com/boolnetwork/mining-scripts.git
SGX
Check if SGX1 is Supported.
./sgx-detect
Output example:
✔ SGX instruction set
✔ CPU support
✔ CPU configuration
✔ Enclave attributes
✔ Enclave Page Cache
SGX features
✘ SGX2 ✘ EXINFO ✘ ENCLV ✘ OVERSUB ✘ KSS
Total EPC size: 56.0MiB
✔ Flexible launch control
✔ CPU support
? CPU configuration
✔ Able to launch production mode enclave
✔ SGX system software
✔ SGX kernel device (/dev/sgx/enclave)
✘ libsgx_enclave_common
✘ AESM service
✔ Able to launch enclaves
✔ Debug mode
✔ Production mode
✔ Production mode (Intel whitelisted)
BOOLNetwork & Docker
Run with docker-compose
docker-compose up -d
More details about the config. tee
docker run -e RUST_LOG=info,tee=trace -itd -v `pwd`/node-data:/data -p 9934:9933 -p 9945:9944 --name bnk-node-test boolnetwork/bnk-node --dev --unsafe-ws-external --unsafe-rpc-external --rpc-cors all