Skip to content

Commit 6f2e04c

Browse files
committed
Merge branch 'l10n_crowdin_translations' of https://github.com/Chia-Network/chia-docs into l10n_crowdin_translations
2 parents 5351f54 + 3f1767e commit 6f2e04c

File tree

103 files changed

+3118
-3570
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+3118
-3570
lines changed

i18n/zh-Hans/docusaurus-plugin-content-docs/current/academy/academy-intro/academy-overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ Chia学院的课程页面经过精心设计,以增强学生的学习体验。
132132

133133
所有适用的课程都提供了Chialisp和clvm的可运行插件。 花些时间熟悉这些工具,并学习如何在整个课程中最好地利用它们。 每个插件都有一系列组件:
134134

135-
**语言:** 插件的语言(Chialisp或clvm)位于右上角。
136-
**解决方案(Solution):** 顶部部分是输入或解决方案。
137-
**谜题(Puzzle):** 底部部分是谜题。
138-
**运行:** 每个插件在语言标识符右侧都有一个播放/运行按钮。
135+
**语言:** 插件的语言(Chialisp或clvm)位于右上角。
136+
**解决方案(Solution):** 顶部部分是输入或解决方案。
137+
**谜题(Puzzle):** 底部部分是谜题。
138+
**运行:** 每个插件在语言标识符右侧都有一个播放/运行按钮。
139139
**结果:** 单击运行后,谜题的结果将出现在谜题下方。
140140

141141
:::info

i18n/zh-Hans/docusaurus-plugin-content-docs/current/academy/chialisp/chialisp-intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ So let's get started, the first thing you'll want to do is make sure you have th
7878
## 常见问题
7979

8080
- **run vs brun:** `run` 用于序列化并运行 Chialisp 谜题,而 `brun` 用于运行 clvm 序列化的谜题,通常用于传递参数。
81-
- **括号(Parentheses):**Chialisp 是完全括号前缀表示法编程语言家族的一部分,可以[追溯](<https://en.wikipedia.org/wiki/Lisp_(programming_language)>)到上世纪 50 年代的 LISP 1。 这些语言的一个显而易见的特点是它们使用括号来表示列表(lists)。 建议在编写这些语言时使用具有适当语法高亮功能的集成开发环境,以确保所有括号都处于正确的位置。 为了帮助解决这个问题,这里有一个适用于 Visual Studio 的 [Chialisp 语言服务器扩展](https://marketplace.visualstudio.com/items?itemName=ChiaNetwork.chialisp)
81+
- **括号(Parentheses):**Chialisp 是完全括号前缀表示法编程语言家族的一部分,可以[追溯](https://en.wikipedia.org/wiki/Lisp_(programming_language))到上世纪 50 年代的 LISP 1。 这些语言的一个显而易见的特点是它们使用括号来表示列表(lists)。 建议在编写这些语言时使用具有适当语法高亮功能的集成开发环境,以确保所有括号都处于正确的位置。 为了帮助解决这个问题,这里有一个适用于 Visual Studio 的 [Chialisp 语言服务器扩展](https://marketplace.visualstudio.com/items?itemName=ChiaNetwork.chialisp)
8282
- **前缀表示法:**Chialisp 作为 LISP 家族的一部分,使用前缀表示法。 这意味着函数或运算符首先出现,其参数紧随其后。
8383

8484
---

i18n/zh-Hans/docusaurus-plugin-content-docs/current/chia-blockchain/coin-set-model/clvm-vs-evm.md

Lines changed: 11 additions & 11 deletions
Large diffs are not rendered by default.

i18n/zh-Hans/docusaurus-plugin-content-docs/current/chia-blockchain/coin-set-model/coin-set-vs-account.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ A typical Chia transaction would look like the following:
2525

2626
Alice wants to send 1 XCH to Bob. Alice has five coins in her wallet: four worth 0.2 XCH apiece, and one worth 0.7 XCH. Her wallet automatically selects two of the coins worth 0.2 XCH and the 0.7 XCH coin to be spent. All three coin spends happen simultaneously, along with two new coin creations: one worth 1 XCH which goes to Bob's wallet, and one worth 0.1 XCH which goes to Alice's wallet as "change." Alice now has two coins worth 0.2 XCH and one worth 0.1 XCH. Bob has one coin worth 1 XCH. The total value owned by Alice and Bob has not changed -- it was 1.5 XCH both before and after the transaction was processed.
2727

28-
| Owner | Before | After |
29-
| ----- | ----------------- | ---------------- |
28+
| Owner | Before | After |
29+
| ----- | ---------------------------------------------------- | --------------------------------------------------- |
3030
| Alice | 1.5 XCH (5 coins) | 0.5 XCH (3 coin) |
31-
| Bob | 0 XCH | 1.0 XCH (1 coin) |
32-
| | | |
33-
| Total | 1.5 XCH | 1.5 XCH |
31+
| Bob | 0 XCH | 1.0 XCH (1 coin) |
32+
| | | |
33+
| Total | 1.5 XCH | 1.5 XCH |
3434

3535
## Advantages of the account model
3636

i18n/zh-Hans/docusaurus-plugin-content-docs/current/chia-blockchain/coin-set-model/costs.md

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,8 @@ Now that we've established that a Raspberry Pi 4 can, indeed, sync and farm, eve
6969
There are three categories that go into determining a block's maximum cost:
7070

7171
1. Generator program cost, which is split into two parts
72-
73-
- Execution cost
74-
- Signature validation cost
75-
72+
- Execution cost
73+
- Signature validation cost
7674
2. Generator program size (each byte has a cost)
7775
3. Generator program coins (each new coin has a cost)
7876

@@ -152,24 +150,24 @@ Please note that the costs and fees listed are for vanilla versions of these tra
152150
Transactions with a '\*' are listed with a fee of 3 x the minimum effective fee. This is to ensure the fees are more realistic for how coins are distributed in users wallets but note that vanilla versions of these would be 1/3 that which is listed.
153151
:::
154152

155-
| Transaction Type | clvm Cost | Minimum Effective Fee |
156-
| ----------------------------------------- | ------------- | --------------------------------- |
157-
| **Full Block (with 50% cap)** | 5,500,000,000 | 27,500,000,000 mojo (0.0275 xch) |
158-
| **Standard Transaction** | 6,000,000 | 90,000,000 mojo (0.00009 xch) \* |
159-
| **PlotNFT Creation** | 18,000,000 | 90,000,000 mojo (0.00009 xch) |
160-
| **Minting NFT with DID** | 123,000,000 | 615,000,000 mojo (0.000615 xch) |
161-
| **Minting NFT without DID** | 53,000,000 | 265,000,000 mojo (0.000265 xch) |
162-
| **Adding URI to NFT with DID** | 71,000,000 | 355,000,000 mojo (0.000355 xch) |
163-
| **Adding URI to NFT without DID** | 41,000,000 | 205,000,000 mojo (0.000205 xch) |
164-
| **Transfer NFT with DID** | 67,000,000 | 335,000,000 mojo (0.000335 xch) |
165-
| **Assign DID to NFT** | 107,000,000 | 535,000,000 mojo (0.000535 xch) |
166-
| **Send Clawback Transaction** | 10,000,000 | 150,000,000 mojo (0.00015 xch) \* |
167-
| **Claim Clawback Transaction** | 1,400,000 | 7,000,000 mojo (.000007 xch) |
168-
| **Clawback Clawback Transaction** | 15,600,000 | 75,800,000 mojo (.0000758 xch) |
169-
| **Combine 500 Farming Rewards** | 3,100,000,000 | 15,500,000,000 mojo (.0155 xch) |
170-
| **Split 1 Coin into 2** | 11,000,000 | 55,000,000 mojo (.000055 xch) |
171-
| **Send 1 CAT** | 37,000,000 | 555,000,000 mojo (.000555 xch) \* |
172-
| **Offer 1 CAT coin for 1 CAT coin + fee** | 135,000,000 | 675,000,000 mojo (.000675 xch) |
153+
| Transaction Type | clvm Cost | Minimum Effective Fee |
154+
| ------------------------------------------------ | ------------- | -------------------------------------------------------------------- |
155+
| **Full Block (with 50% cap)** | 5,500,000,000 | 27,500,000,000 mojo (0.0275 xch) |
156+
| **Standard Transaction** | 6,000,000 | 90,000,000 mojo (0.00009 xch) \* |
157+
| **PlotNFT Creation** | 18,000,000 | 90,000,000 mojo (0.00009 xch) |
158+
| **Minting NFT with DID** | 123,000,000 | 615,000,000 mojo (0.000615 xch) |
159+
| **Minting NFT without DID** | 53,000,000 | 265,000,000 mojo (0.000265 xch) |
160+
| **Adding URI to NFT with DID** | 71,000,000 | 355,000,000 mojo (0.000355 xch) |
161+
| **Adding URI to NFT without DID** | 41,000,000 | 205,000,000 mojo (0.000205 xch) |
162+
| **Transfer NFT with DID** | 67,000,000 | 335,000,000 mojo (0.000335 xch) |
163+
| **Assign DID to NFT** | 107,000,000 | 535,000,000 mojo (0.000535 xch) |
164+
| **Send Clawback Transaction** | 10,000,000 | 150,000,000 mojo (0.00015 xch) \* |
165+
| **Claim Clawback Transaction** | 1,400,000 | 7,000,000 mojo (.000007 xch) |
166+
| **Clawback Clawback Transaction** | 15,600,000 | 75,800,000 mojo (.0000758 xch) |
167+
| **Combine 500 Farming Rewards** | 3,100,000,000 | 15,500,000,000 mojo (.0155 xch) |
168+
| **Split 1 Coin into 2** | 11,000,000 | 55,000,000 mojo (.000055 xch) |
169+
| **Send 1 CAT** | 37,000,000 | 555,000,000 mojo (.000555 xch) \* |
170+
| **Offer 1 CAT coin for 1 CAT coin + fee** | 135,000,000 | 675,000,000 mojo (.000675 xch) |
173171

174172
### Exact spend bundle costs
175173

i18n/zh-Hans/docusaurus-plugin-content-docs/current/chia-blockchain/consensus/attacks-and-countermeasures.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,21 +78,21 @@ Finally, the formula to calculate the minimum netspace percentage required for t
7878

7979
The following table shows the minimum required proportion of the total netspace an attacker must have in order to succeed in a majority attack. This table is valid for attacks lasting any amount of time, though sometimes it's overly conservative for attacks lasting more than one epoch. It uses fixed values for the first two columns.
8080

81-
| Number of Timelords | VA (relative to VH) | DD | SA | Percent of netspace required | Comment |
82-
| :-----------------: | :-----------------: | :-----: | :---: | :--------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------- |
83-
| 0 | N/A | 1 || N/A | Without a timelord, the attack is not possible. |
84-
| 1 | 0.5 | 1 | 2 | 66.7% | With a 0.5x timelord, the attacker must control twice as much space as the rest of the network combined. |
85-
|| 0.5 | 1.34313 | 1.489 | 59.8% | With infinite 0.5x timelords, the attacker gains a double-dip advantage, so less space is required versus having a single timelord of the same speed. |
86-
| 1 | 1 | 1 | 1 | 50.0% | If the attacker has one timelord that's tied with the fastest honest timelord, then the attacker must control more space than the network's honest space. |
87-
|| 1 | 1.34313 | 0.745 | 42.7% | With infinite timelords tied with the fastest honest timelord on the network, the attacker gains a double-dip advantage. |
88-
| 1 | 2 | 1 | 0.5 | 33.3% | If the attacker has one timelord that's twice as fast as the fastest honest timelord, the attacker must control half as much space as the rest of the network. |
89-
|| 2 | 1.4678 | 0.341 | 25.4% | With infinite 2x timelords, the attacker gains the maximum double-dip advantage. |
81+
| Number of Timelords | VA (relative to VH) | DD | SA | Percent of netspace required | Comment |
82+
| :-----------------: | :------------------------------------: | :---------------------: | :-------------------: | :--------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
83+
| 0 | N/A | 1 | | N/A | Without a timelord, the attack is not possible. |
84+
| 1 | 0.5 | 1 | 2 | 66.7% | With a 0.5x timelord, the attacker must control twice as much space as the rest of the network combined. |
85+
|| 0.5 | 1.34313 | 1.489 | 59.8% | With infinite 0.5x timelords, the attacker gains a double-dip advantage, so less space is required versus having a single timelord of the same speed. |
86+
| 1 | 1 | 1 | 1 | 50.0% | If the attacker has one timelord that's tied with the fastest honest timelord, then the attacker must control more space than the network's honest space. |
87+
|| 1 | 1.34313 | 0.745 | 42.7% | With infinite timelords tied with the fastest honest timelord on the network, the attacker gains a double-dip advantage. |
88+
| 1 | 2 | 1 | 0.5 | 33.3% | If the attacker has one timelord that's twice as fast as the fastest honest timelord, the attacker must control half as much space as the rest of the network. |
89+
|| 2 | 1.4678 | 0.341 | 25.4% | With infinite 2x timelords, the attacker gains the maximum double-dip advantage. |
9090

9191
For attacks lasting longer than one epoch, `DD` will not exceed 1.34313. In such an attack, the final row from the preceding table will change to the following:
9292

93-
| Number of Timelords | VA (relative to VH) | DD | SA | Percent of netspace required | Comment |
94-
| :-----------------: | :-----------------: | :-----: | :---: | :--------------------------: | :------------------------------------------------------------------------------- |
95-
|| 2 | 1.34313 | 0.372 | 27.1% | If the attack longer than one epoch, the double-dip advantage will be minimized. |
93+
| Number of Timelords | VA (relative to VH) | DD | SA | Percent of netspace required | Comment |
94+
| :-----------------: | :------------------------------------: | :---------------------: | :-------------------: | :--------------------------: | :----------------------------------------------------------------------------------------------- |
95+
|| 2 | 1.34313 | 0.372 | 27.1% | If the attack longer than one epoch, the double-dip advantage will be minimized. |
9696

9797
Note that if we continue to increase `VA`, `DD` will always remain at 1.4678 for the first table, and 1.34313 for the second table. The percent of netspace required will decrease linearly.
9898

i18n/zh-Hans/docusaurus-plugin-content-docs/current/chia-blockchain/consensus/block-validation/block-format.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ The code for these changes is held in two primary locations:
5454
Two important changes went into this update:
5555

5656
1. Allow serializing CLVM in a new, more compact form. This doesn't affect how CLVM is executed, it's just a matter of encoding. It does have some important consequences:
57+
5758
- Farmers can effectively stuff more transactions into blocks, because with a more compact encoding, you can fit more for the same byte-cost.
5859
- The new implementation can take advantage of the de-duplication in the new serialization format, by caching tree-hashes. This effectively de-duplicates the work of hashing puzzles.
5960

@@ -64,11 +65,12 @@ Two important changes went into this update:
6465
2. The generator ROM implementation was ported from CLVM to Rust. This also doesn't affect the behavior of anything (other than the CLVM cost, as explained below). It just speeds up block validation.
6566

6667
About the generator ROM:
68+
6769
- It is the code that invokes the generator in a block.
6870
- The return value is a list of spends.
6971
- The ROM validates all spends by checking the puzzle hashes and calling into all puzzles passing in their solutions.
7072
- The work done by the ROM no longer charges a CLVM cost, which has two primary benefits:
71-
- It allows farmers to put more transactions into blocks.
72-
- It makes it easier for the farmer to predict the total cost of a block as it's including transactions.
73+
- It allows farmers to put more transactions into blocks.
74+
- It makes it easier for the farmer to predict the total cost of a block as it's including transactions.
7375

7476
[CHIP-0011](https://github.com/Chia-Network/chips/blob/main/CHIPs/chip-0011.md#block-generator-optimizations) contains more info about the generator optimizations.

i18n/zh-Hans/docusaurus-plugin-content-docs/current/chia-blockchain/consensus/block-validation/block-rewards.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ The second coin, with 7/8 of the value, is called the _pool coin_. This coin can
4949

5050
As detailed in the [Business white paper](https://www.chia.net/whitepaper), the network's emissions schedule is as follows (where `year 0` is the first year of mainnet's existence):
5151

52-
| Years | Final<br/>Block | Final Month<br/>(Approx.) | Block Reward<br/>(total) | Pool<br/>Reward | Farmer<br/>Reward |
53-
| ------: | --------------: | ------------------------: | -----------------------: | --------------: | ----------------: |
54-
| 1 - 3 | `5 045 760` | March 2024 | 2 XCH | 1.75 XCH | 0.25 XCH |
55-
| 4 - 6 | `10 091 520` | March 2027 | 1 XCH | 0.785 XCH | 0.125 XCH |
56-
| 7 - 9 | `15 137 280` | March 2030 | 0.5 XCH | 0.4375 XCH | 0.0625 XCH |
57-
| 10 - 12 | `20 183 040` | March 2033 | 0.25 XCH | 0.21875 XCH | 0.03125 XCH |
58-
| 13 - ∞ ||| 0.125 XCH | 0.109375 XCH | 0.015625 XCH |
52+
| Years | Final<br/>Block | Final Month<br/>(Approx.) | Block Reward<br/>(total) | Pool<br/>Reward | Farmer<br/>Reward |
53+
| ------: | --------------: | -----------------------------------------------------------: | ------------------------------------------: | ---------------------------: | ---------------------------: |
54+
| 1 - 3 | `5 045 760` | March 2024 | 2 XCH | 1.75 XCH | 0.25 XCH |
55+
| 4 - 6 | `10 091 520` | March 2027 | 1 XCH | 0.785 XCH | 0.125 XCH |
56+
| 7 - 9 | `15 137 280` | March 2030 | 0.5 XCH | 0.4375 XCH | 0.0625 XCH |
57+
| 10 - 12 | `20 183 040` | March 2033 | 0.25 XCH | 0.21875 XCH | 0.03125 XCH |
58+
| 13 - ∞ || | 0.125 XCH | 0.109375 XCH | 0.015625 XCH |
5959

6060
Note that the rewards are adjusted according to a block height, not a timestamp. The `Final Block` column is therefore accurate as the last block before the rewards are modified. The months and years are only estimates based on when the block heights are likely to be reached.

0 commit comments

Comments
 (0)