ECP FAQ
Q: How can I verify whether the ECP environment is installed successfully?
out:
Q: What are ownerAddress
, workerAddress
, and beneficiaryAddress
?
ownerAddress
, workerAddress
, and beneficiaryAddress
?A: These are three different types of accounts used in the system for security and separation of concerns:
ownerAddress
: This is the owner account of the CP account. The owner has permission to change account information such as the multi-address, worker address, and beneficiary address. In most situations, the private key of theownerAddress
does not need to be present on the server for security reasons.workerAddress
: This is the actual working address used for submitting proofs (submitProof
). It needs to be funded with a certain amount of ETH to pay for gas fees when submitting proofs.beneficiaryAddress
: This is the address where all earnings from the CP account will be sent. It is solely used for receiving funds. For security purposes, the private key of thebeneficiaryAddress
should not be stored on the server to maintain isolation.
By separating these accounts, the system ensures that only the necessary workerAddress
private key is present on the server, while the more sensitive ownerAddress
and beneficiaryAddress
private keys are kept separate, enhancing the overall security of the system.
Q: How do I update the resource-exporter in ECP?
A:
Step 1: Stop the computing-provider process.
Step 2: Execute the following commands:
Step 3: Restart the computing-provider process.
Step 4: Check resource-exporter logs:
Verify that the resource-exporter is functioning correctly by monitoring its logs:
Q: How to verify if ECP is running properly?
Step 1: Check Collateral:
Ensure that the sum of Collateral
and Escrow
under the ECP Balance
is greater than the calculated collateral amount for proper staking.
Step 2:Check Versions:
CP Version:
Verify the CP version by checking the commit number in the official go-computing-provider repository to confirm if your version is up-to-date or the recommended stable version.
Resource-Exporter Version:
Verify the version of resource-exporter
by checking the required version in the official repository.
Step 3: Check Resource Endpoint:
Note: Replace
<cp-ip>
and<port>
with the corresponding information from yourCP_REPO
configuration file, whereMultiAddress = "/ip4/<ip>/tcp/<port>"
.
Step 4: Self-check by submitting a job:
Dashboard Status Check: In the Provider Dashboard, locate your CP using the
cpAccount
. Check that the status isOnline
, and ensure collateral is sufficient (as shown in the example). If so, your CP is running properly.
Q: How do I withdraw collateral from ECP?
To withdraw collateral from ECP, use the following command:
Last updated