费用和gaslimit有什么区别?
-
-
https://tezos.stackexchange.com/q/106/118上提供了有关Proto 003中费用的一些信息Some information about fees in proto 003 is available here https://tezos.stackexchange.com/q/106/118
- 0
- 2019-02-12
- Ezy
-
2 个回答
- 投票数
-
- 2019-02-12
在Tezos,费用不依赖于汽油:无论消耗了多少汽油,您始终要支付全额费用.
但是,面包师可能会计算费用/燃气比率,并且更喜欢使用费用/燃气较高的交易,即以较少的计算获得更多的奖励.
In Tezos, the fee is independant from the gas : whatever the gas consumed, you always pay the full fee.
However, bakers will probably compute the ratio fee/gas, and prefer transactions with higher fee/gas, i.e. more reward for less computation.
-
我不认为面包师有可能选择易于计算的操作.我认为他们只能使目前收取的费用最大化,不是吗?I don’t believe that bakers have a practical possibility of choosing operations that are easier to compute. I think they can only maximize fees received currently, can’t they ?
- 0
- 2019-02-12
- Ezy
-
除了您的答案是不正确的:费用公式还包含术语gas_limit *price_per_gas.你能澄清你的答案吗?因为您的第一句话模棱两可.Besides your answer is not correct: the fee formula contains a term gas_limit*price_per_gas. Can you please clarify your answer ? Cause your first sentence is ambiguous.
- 1
- 2019-02-12
- Ezy
-
面包师目前不选择,是当前的面包师实施了一种偏向高费用/高油价交易的策略:https://gitlab.com/tezos/tezos/blob/mainnet-staging/src/proto_003_PsddFKi3/lib_delegate/client_baking_forge.ml#L189Bakers don't currently choose, it is the current baker that implements a strategy to favor transactions with high fee/gas:https://gitlab.com/tezos/tezos/blob/mainnet-staging/src/proto_003_PsddFKi3/lib_delegate/client_baking_forge.ml#L189
- 1
- 2019-02-12
- lefessan
-
- 2019-02-12
每次交易总是要支付全额费用-汽油限额就是给定交易可以消耗的汽油总量的上限.面包师可以保证,即使他们消耗更少的天然气,也要为他们支付至少每单位天然气消耗的费用/gas_limit.
某些面包师还将强制执行最低每气体收费,目前已将其设置为每单位气体0.1穆特兹(或1纳特).
The full fee is always paid for every transactions - the gas limit is just that, a cap on the amount of gas a given transaction can consume. A baker can be guaranteed that they are paid at least fee/gas_limit per unit of gas consumed, even if they consume less.
Some bakers will also enforce a minimum per_gas fee, which is currently set to 0.1 mutez (or 1 nanotez) per unit of gas.
使用以太坊,最大费用是汽油乘以汽油价格.但是在Tezos中,当我构造一个操作时,费用是由个人决定的,为什么不通过
gas_limit
来计算?