Comment on page
Setup persistent data directories for the client.
The client requires two persistent directories. These directories will store configuration files and data generated and used by the client. It is highly recommended to create frequent backups of these directories. Loss of these data may be catastrophic and may lead to slashing.
It is crucial to ensure the data directory is persisted and backed up on a regular basis.
mkdir storage config
The tBTC v2 client will create two subdirectories within the storage directory:
work. You do not need to create these.
keystoresubdirectory contains sensitive key material data generated by the client. Loosing the
keystoredata is a serious protocol offense and leads to slashing and potentially losing funds.
It is the operator’s responsibility to ensure the keystore data are not lost under any circumstances.
workdirectory contains data generated by the client that should persist the client restarts or relocations. If the
workdata are lost the client will be able to recreate them, but it is inconvenient due to the time needed for the operation to complete and may lead to losing rewards.
Contained within the
operator-keydirectory is the account key file (operator key file), its name will be similar to the following:
copy (not move!) this account key file to the
configdirectory created above
cp name_of_account_key_file /home/keep/config/name_of_account_key_file