metasx / spacex-script

Official Spacex node service for running mannheim protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spacex node

Official spacex node service for running Mannheim protocol.

Preparation work

  • Hardware requirements:

    CPU must contain SGX module, and make sure the SGX function is turned on in the bios

  • Operating system requirements:

    Ubuntu 16.04/18.04/20.04

  • Other configurations

    • Secure Boot in BIOS needs to be turned off

Install dependencies

Install spacex service

sudo ./install.sh # Use 'sudo ./install.sh --registry cn' to accelerate installation in some areas

Modify config.yaml

sudo spacex config set

Run service

  • Please make sure the following ports are not occupied before startingļ¼š
    • 30888 19933 19944 (for spacex chain)
    • 56666 (for spacex API)
    • 12222 (for spacex storage)
    • 5001 4001 37773 (for IPFS)
sudo spacex help
sudo spacex start
sudo spacex status

Stop service

sudo spacex stop

How to become a guardian?

The Guardian node is the initiator of and in charge of the Group, participating in block generation. Effective storage of the Member can be clustered on the Guardian to participate in the block generation competition. Meantime, the organizers of the Guardian node are accountable for the Group's strategy of receiving meaningful files to improve the Group's overall competitiveness. Since the Guardian node itself does not store files, support for SGX is not necessary. The Guardian node account is connected to block node through the session key.

For details, please refer to this page.

How to become a miner?

The Miner node acts as the storage provider in Group. There can be multiple Miner nodes in a Group, and their effective storage can be clustered on Owner to participate in block generation competition. Since Miner nodes store files and perform trusted quantification, support for SGX is necessary. The Miner node is connected to its account through configuring backup files.

For details, please refer to this page.

License

GPL v3

About

Official Spacex node service for running mannheim protocol

License:GNU General Public License v3.0


Languages

Language:Shell 75.0%Language:JavaScript 19.3%Language:C 5.3%Language:Dockerfile 0.4%