You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature is about allowing a farmer to get extra income from the node by setting an extra fee.
There is no specific objective reason or metric (good hardware quality, extra GPU capacity, ...) for adding this extra fee.
It is just the farmer's freedom to evaluate how much he should get extra from its node.
By setting this extra fee the node will ONLY be eligible for dedicated node use (meaning the full node is rent ie. under a rent contract).
Also while billing, unlike the regular billed amount that is distributed following the traditional schema, the full extra fee directly goes to farmer's account.
The extra fee will be expressed in mUSD/month and will require a convertion in TFT for billing purpose.
Implementation details
To implement this feature we will need to add some new items in TFGrid pallet:
a storage map called DedicatedNodesExtraFee that links a node id to an extra fee (type u64).
The map type will be OptionQuery since default value will be None, which means there will be no extra fee billed in a rent contract context.
No migration will be required by adding this storage.
a set_dedicated_node_extra_fee(node_id, extra_fee_factor) extrinsic that can be called by the node's owner (farmer).
It will not be possible to modify the value by calling this extrinsic while a rent contract is running on the node.
Further considerations
The need of setting limits to extra fee (a max value)?
Can a sudo authority call set_dedicated_node_extra_fee()?
Do we apply the user discounts to the extra fee? dedicated discount = 50% + staking discount = up to 60%
The text was updated successfully, but these errors were encountered:
Specifications
There is no specific objective reason or metric (good hardware quality, extra GPU capacity, ...) for adding this extra fee.
It is just the farmer's freedom to evaluate how much he should get extra from its node.
mUSD/month
and will require a convertion inTFT
for billing purpose.Implementation details
To implement this feature we will need to add some new items in
TFGrid
pallet:a storage map called
DedicatedNodesExtraFee
that links anode id
to anextra fee
(typeu64
).The map type will be
OptionQuery
since default value will beNone
, which means there will be no extra fee billed in a rent contract context.No migration will be required by adding this storage.
a
set_dedicated_node_extra_fee(node_id, extra_fee_factor)
extrinsic that can be called by the node's owner (farmer).It will not be possible to modify the value by calling this extrinsic while a rent contract is running on the node.
Further considerations
sudo
authority callset_dedicated_node_extra_fee()
?50%
+ staking discount =up to 60%
The text was updated successfully, but these errors were encountered: