I have some questions regarding the Reserved Cycles Limit in a canister.
If I create a canister with e.g 1 T of cycles then the cycles balance will be 992_307_591_078 Cycles and the Reserved Cycles Limit displays 5_000_000_000_000 Cycles.
dfx canister create --with-cycles 1T my_counter2
dfx canister status my_counter2
In my cycles wallet there is only a reduction of 1T.
dfx wallet balance
My questions are:
Where are the Reserved Cycles Limit cycles come from ?
What is the purpose of that value ?
What does Reserved: 0 Cycles mean in the dfx canister status output ?
I can’t find a clear explanation for myself in the documents. Thanks for making that a bit clearer.
the main cycles balance (this is what appears as simply “cycles” in the status)
the reserved cycles balance. It is a separate balance that hold cycles reserved for future resource payments such as storage. In most cases it will be 0. In some cases when the subnet usage is reaching its capacity, allocating resources will require reserving cycles as explained in the links I shared.