Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 88d9f2f

Browse files
authored
Update gas description (#1316)
* update gas description * update faq
1 parent 4deacac commit 88d9f2f

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

docs/en-us/basic/governance.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ NEO has a max supply of 100 million tokens and the smallest unit of 1, or in oth
4646

4747
GAS is the fuel token for the realization of Neo network resource control, with a smallest unit of 0.00000001. Users can obtain GAS either through a claim or purchase. When using the Neo network, they need to pay a certain amount of GAS as network fees, such as transfer, registering assets, publishing assets, running DApps, etc.
4848

49+
Unlike the Neo Legacy, there is no supply limit for Neo N3 GAS, and the system fee for transactions will be burned off.
50+
4951
### GAS Distribution Rule
5052

5153
In the initial configuration, 5 GAS tokens will be generated per block—this in turn will be distributed to the Neo Committee (consisting of consensus nodes and candidate nodes), NEO voters, and all NEO holders. The generated GAS will be distributed according to certain rules shown as down below:

docs/en-us/reference/fees.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ System fees are the cost of resources consumed by the transaction execution in N
66

77
Network fee is the fee to pack transactions into a block. Transactions that deploy and invoke smart contracts on the blockchain and execute the Verify method requires network fees.
88

9-
Therefore, a smart contract invocation transaction requires both system fee and network fee.
9+
Therefore, a smart contract invocation transaction requires both system fee and network fee. The sysfee is burned for each transaction and the netfee is rewarded to the consensus address that packed the current block.
1010

1111
Fees in Neo3 can be dynamically changed. In this document we only introduce the basic fees.
1212

docs/zh-cn/reference/fees.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
承载智能合约部署、调用的交易以及执行验证(Verify)方法所需的费用为网络手续费。
88

9-
一笔调用智能合约的交易的手续费会同时包括系统手续费和网络手续费
9+
一笔调用智能合约的交易的手续费会同时包括系统手续费(sysfee)和网络手续费(netfee)。每一笔交易的 sysfee 都会被燃烧,而 netfee 会奖励给打包当前区块的共识地址
1010

1111
在 Neo N3 中手续费是可以动态变化的,下面列举的是基础费用。
1212

faq/en-us/basic.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Neo has a large number of worldwide developer communities that have been contrib
2222

2323
GAS represents the right to use the Neo Blockchain. Neo network charges GAS for the new assets issuance and smart contract running as well as all translations that modify the blockchain status . The Neo N3 Genesis block will mint the exact amount of GAS token needed to account for all GAS token circulating on the NEO Legacy chain at the time of Genesis block. In Neo N3 once NEO is transferred from the account, the relevant GAS is claimed to the same address automatically.
2424

25+
Unlike the Neo Legacy, there is no supply limit for Neo N3 GAS and system fees for transactions will be burned off.
26+
2527
## What consensus algorithms does Neo use?
2628

2729
Neo utilizes a delegated Byzantine Fault Tolerance (dBFT) algorithm which provides a 𝑓 = ⌊ (𝑛−1) / 3 ⌋ fault tolerance to a consensus system that comprises n nodes.

faq/zh-cn/basic.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Neo 非常重视社区的发展,拥有庞大的全球开发者社区,长期
2222

2323
GAS 代表了 Neo 区块链的使用权,Neo 网络中的资产发行、智能合约的运行以及所有需要修改区块链状态的交易都需要花费一定量的 GAS。Neo N3 的创世区块将铸造准确数量的GAS代币,以对标 NEO legacy 链上流通的所有GAS代币。在 Neo N3 中,每当发生 NEO 转账,GAS 就会自动提取。
2424

25+
与 Neo Legacy 不同,Neo N3 的 GAS 没有发行上限,且交易的系统费会被燃烧掉。
26+
2527
## Neo 采用什么共识机制?
2628

2729
Neo 使用 一种改进的拜占庭容错机制 (dBFT),可以对由 𝑛 个共识节点组成的共识系统,提供 𝑓 = ⌊ (𝑛−1) / 3 ⌋ 的容错能力。在这个机制当中,存在多种节点,分别是普通节点,候选人节点,委员会节点和共识节点。任何人都可以发起交易成为候选人,或者对候选人进行投票,根据投票情况,排在最前面的一定数量的候选人将被选为委员会成员和共识节点。当需要通过一项共识时,在这些共识节点中随机推选出一名议长拟定方案,然后由其他共识节点根据拜占庭容错算法进行投票,如果大于等于 2/3 的节点同意议长提案,则共识达成;否则,重新推选议长,重复投票过程。

0 commit comments

Comments
 (0)