当前设定的块气/储气极限的最大理论TPS?
1 个回答
- 投票数
-
- 2019-02-03
当前,有一个固定的常量单个区块的总天然气使用量为:
hard_gas_limit_per_block = 4000000
通过proto003费用更改,交易(txs)最低汽油费用:
gas_limit : 10100
这意味着每个块的最大tx数限制为4,000,000/10100,即〜396.由于区块的间隔至少为60秒,因此理论上每秒的最大事务数为6.6(396/60)每秒(TPS).
在proto003更新之前,可能会有更高的TPS.目前尚不清楚Nomadic Labs提议的协议修订将如何影响这一点,因为尚未发布任何细节.显然,提高每个区块的气体限制将有助于消除对TPS的限制.
Currently, there is a fixed constant that limits the total gas usage of a single block to:
hard_gas_limit_per_block = 4000000
With the proto003 fee change, transactions (txs) have minimum gas costs of:
gas_limit : 10100
This means that the maximum number of txs per block is limited to 4,000,000/10100, which is ~396. As blocks have at least a 60 second interval, we have a theoretical maximum of 6.6 (396/60) transactions per second (TPS).
Prior to the proto003 update, higher TPS were possible. It's not clear how the proposed protocol amendment by Nomadic Labs would affect this as no specifics have been released yet. Obviously an increase of the gas limit per block would help to remove this restriction on TPS.
-
我认为它们只会增加hard_gas_limit_per_operation常数.因此,在这种情况下,它不应影响TPS.很难看到目前增加hard_gas_limit_per_block的任何充分理由.I assume they will only increase the hard_gas_limit_per_operation constant. So in that case it shouldn't affect the TPS. Hard to see any good reasons for increasing hard_gas_limit_per_block currently.
- 0
- 2019-02-04
- Klassare
-
也许-最初是Tezos,据说Tezos的理论TPS为〜40(后来由运行测试的社区成员确认).TPS的下降是PROTO003更改的意外副作用,因此它们可能会增加hard_gas_limit_per_block来纠正这一问题.6倍的增长将重新调整TPS(然后将开始达到操作尺寸限制,就像以前一样).Maybe - originally Tezos it was stated that Tezos would have a theoretical TPS of ~40 (which was later confirmed by a community member running tests). The drop in TPS was an unintended side-effect of the PROTO003 changes, so they co.6uld increase the hard_gas_limit_per_block to rectify this. A 6x increase would re-align the TPS (which would then start hitting the op size limits instead, as they were before).
- 1
- 2019-02-04
- Stephen Andrews
-
为了防止垃圾邮件,TPS的下降可能是预期的"副作用".我很难相信这是错误完成的事情.当前不需要比比特币和以太坊更高的TPS,并且仅对垃圾邮件发送者有用.仅在实际需要时并且当我们知道连接的节点将能够处理它时,才应增加hard_gas_limit_per_block.即使现在的最大TPS约为6.6,我们也知道可以将其设置得更高,但是现在保守起来比使它在纸上看起来更好更重要.The drop in TPS was probably an intended "side-effect" in order to prevent spam. I have a hard time to believe it was something done by mistake. Having a higher TPS than Bitcoin and Ethereum is currently not needed and would only be useful for spammers. hard_gas_limit_per_block should only be increased when there is a practical need for it and when we know that the connected nodes would be able to handle it. Even if the max TPS right now is ~6.6 we know that it could be set much higher, but right now it is more important to be conservative than to make it look good on a paper.
- 1
- 2019-02-04
- Klassare
-
我刚刚检查了固定常量:`hard_gas_limit_per_block:8000 000`,这意味着每个块的最大事务数限制为:8000 000/10100,〜792.I just checked the fixed constant : `hard_gas_limit_per_block:8000 000`, which mean the maximum number of transactions per block is limited to: 8000 000/10100, ~792.
- 0
- 2019-09-17
- Quyen
鉴于当前每个区块的气体和存储限制,proto 003中每秒(或每个区块,如果是一个更自然的单位)可以执行的简单XTZ传输操作的最大数量是多少?
此处所述,根据修订提案,结果将如何更改提议提高汽油上限,并将很快投票通过?
谢谢!