Configure the TSS Node
Currently, you can configure the TSS Node in two methods:- Through the configuration file.
- Through command line arguments, for example,
./tss-node.sh start --ws-url=ws://ws.example.com/ws.
-
Navigate to the
configsdirectory. -
Copy and paste the file
cobo-tss-node-config.yaml.template. -
Rename the copied file to
cobo-tss-node-config.yaml. The directory structure will appear as follows: -
Edit the
cobo-tss-node-config.yamlfile:- Open the configuration file in a text editor.
- Review all configuration items in the file. Most items have reasonable default values, so you only need to modify specific items based on your actual needs. You can refer to Configuration items to understand the meaning of key configuration items.
- Modify necessary items according to your environment. For example:
- Set
envtoproductionfor production environment - Configure the
callbacksection to set up the TSS Node Callback server - Adjust log configurations as needed
- Set
- Save changes and close the file.
Configuration items
TSS Node commands
init
info
info group
info group command to query the information of the corresponding key share holder group.:
start
version
version command to query the version of the TSS Node.
status
status command to query the status of the TSS Node. An example output is as follows:
- Verify the successful installation of Docker Engine and ensure the client has the necessary permissions.
- Check the status of the SGX driver (applicable to an SGX-ready version).
- Confirm the existence of the built container image.
- Inspect containers for any errors.
- Monitor the currently running TSS Node container and display the latest five logs.
