Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ const katex = require('rehype-katex');
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/Chia-Network/chia-docs/blob/main/',
remarkPlugins: [math],
rehypePlugins: [katex],
rehypePlugins: [
[katex, { strict: false }]
],
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={ChialispIntro} alt='Intro to Chialisp' />
<img src={ChialispIntro} alt='Intro to Chialisp' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/chialisp-intro'>
Expand All @@ -54,7 +54,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={SmartCoins} alt='Smart Coins' />
<img src={SmartCoins} alt='Smart Coins' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/chialisp-smart-coin'>
Expand All @@ -68,7 +68,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={Signatures} alt='Signatures' />
<img src={Signatures} alt='Signatures' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/chialisp-signatures'>
Expand All @@ -82,7 +82,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={InnerPuzzles} alt='Inner Puzzles' />
<img src={InnerPuzzles} alt='Inner Puzzles' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/chialisp-inner-puzzle'>
Expand All @@ -105,7 +105,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={Consensus} alt='Consensus'/>
<img src={Consensus} alt='Consensus' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/consensus-basics'>
Expand All @@ -119,7 +119,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={Timelords} alt='Timelords' />
<img src={Timelords} alt='Timelords' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/timelord-basics'>
Expand All @@ -133,7 +133,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={BlockFormation} alt='Block Formation' />
<img src={BlockFormation} alt='Block Formation' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/block-formation-basics'>
Expand All @@ -147,7 +147,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={CoinSetModel} alt='Coin-Set Model' />
<img src={CoinSetModel} alt='Coin-Set Model' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/coinset-basics'>
Expand All @@ -161,7 +161,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={Security} alt='Security' />
<img src={Security} alt='Security' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/security-basics'>
Expand All @@ -184,7 +184,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={FarmingOverview} alt='Farming Overview' />
<img src={FarmingOverview} alt='Farming Overview' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/farming-overview'>
Expand All @@ -198,7 +198,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={ChallengesPlotFilters} alt='Challenges & Plot Filters' />
<img src={ChallengesPlotFilters} alt='Challenges & Plot Filters' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/challenges-plot-filters'>
Expand All @@ -212,7 +212,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={Pools} alt='Pools' />
<img src={Pools} alt='Pools' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/pools'>
Expand All @@ -226,7 +226,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={CreatingYourFirstPlot} alt='Creating Your First Plot' />
<img src={CreatingYourFirstPlot} alt='Creating Your First Plot' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/first-plot'>
Expand All @@ -249,7 +249,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={PrimitivesOverview} alt='Primitives Overview' />
<img src={PrimitivesOverview} alt='Primitives Overview' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/primitives-overview'>
Expand All @@ -263,7 +263,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={NFTs} alt='NFTs' />
<img src={NFTs} alt='NFTs' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/academy-nft'>
Expand All @@ -277,7 +277,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={DIDs} alt='DIDs' />
<img src={DIDs} alt='DIDs' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/academy-did'>
Expand All @@ -291,7 +291,7 @@ import DIDs from '@site/static/img/academy/did.png';
<div class="card-demo">
<div class="card">
<div class="card__image">
<img src={CATs} alt='CATs' />
<img src={CATs} alt='CATs' loading="lazy" decoding="async" />
</div>
<div class="card__footer">
<a href='https://docs.chia.net/academy-cat'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ import Runnable from '@site/src/components/Runnable.tsx';

### 链接

- [Chialisp基本概念](https://chialisp.com/chialisp-concepts/):包括柯里化(currying)、内部谜题(inner puzzles)和条件变换(morphing conditions)的概述。
- General [chialisp concepts](https://chialisp.com/chialisp-concepts/): overviews of currying, inner puzzles, and morphing conditions.
- 指导性的[Chialisp演练](https://docs.chia.net/guides/):安装、创建智能币和使用BLS签名的指南。
- Chialisp[详细文档](https://chialisp.com/):提供有关Chialisp各个方面的详细信息。
- Support [in discord](https://discord.gg/chia): for further support join our discord server and ask in the #chialisp or #support channels.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ import Runnable from '@site/src/components/Runnable.tsx';

### 链接

- [Chialisp基本概念](https://chialisp.com/chialisp-concepts/):包括柯里化(currying)、内部谜题(inner puzzles)和条件变换(morphing conditions)的概述。
- General [chialisp concepts](https://chialisp.com/chialisp-concepts/): overviews of currying, inner puzzles, and morphing conditions.
- 指导性的[Chialisp演练](https://docs.chia.net/guides/):安装、创建智能币和使用BLS签名的指南。
- Chialisp[详细文档](https://chialisp.com/):提供有关Chialisp各个方面的详细信息。
- Support [in discord](https://discord.gg/chia): for further support join our discord server and ask in the #chialisp or #support channels.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ True

### 链接

- [Chialisp基本概念](https://chialisp.com/chialisp-concepts/):包括柯里化(currying)、内部谜题(inner puzzles)和条件变换(morphing conditions)的概述。
- General [chialisp concepts](https://chialisp.com/chialisp-concepts/): overviews of currying, inner puzzles, and morphing conditions.
- 指导性的[Chialisp演练](https://docs.chia.net/guides/):安装、创建智能币和使用BLS签名的指南。
- Chialisp[详细文档](https://chialisp.com/):提供有关Chialisp各个方面的详细信息。
- Support [in discord](https://discord.gg/chia): for further support join our discord server and ask in the #chialisp or #support channels.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ slug: /challenges-plot-filters

### 链接

- 更多的[耕种基础知识](https://docs.chia.net/reference-client/farming/farming-basics):绘图、矿池和奖励的概述。
- 详细的[架构概述](https://docs.chia.net/chia-blockchain/architecture/architecture-overview):描述农民、收割机、钱包等之间的交互。
- More [farming basics](https://docs.chia.net/reference-client/farming/farming-basics): overviews of plotting, pooling, and rewards.
- In depth [architecture overview](https://docs.chia.net/chia-blockchain/architecture/architecture-overview): describing the interactions between Farmers, Harvesters, Wallets, etc.
- Chialisp[详细文档](https://chialisp.com/):提供有关Chialisp各个方面的详细信息。
- Support [in discord](https://discord.gg/chia): for further support join our discord server and ask in the #chialisp or #support channels.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ k32

### 链接

- 更多的[耕种基础知识](https://docs.chia.net/reference-client/farming/farming-basics):绘图、矿池和奖励的概述。
- 详细的[架构概述](https://docs.chia.net/chia-blockchain/architecture/architecture-overview):描述农民、收割机、钱包等之间的交互。
- More [farming basics](https://docs.chia.net/reference-client/farming/farming-basics): overviews of plotting, pooling, and rewards.
- In depth [architecture overview](https://docs.chia.net/chia-blockchain/architecture/architecture-overview): describing the interactions between Farmers, Harvesters, Wallets, etc.
- Chialisp[详细文档](https://chialisp.com/):提供有关Chialisp各个方面的详细信息。
- Support [in discord](https://discord.gg/chia): for further support join our discord server and ask in the #chialisp or #support channels.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ slug: /first-plot

### 链接

- 更多的[耕种基础知识](https://docs.chia.net/reference-client/farming/farming-basics):绘图、矿池和奖励的概述。
- 详细的[架构概述](https://docs.chia.net/chia-blockchain/architecture/architecture-overview):描述农民、收割机、钱包等之间的交互。
- More [farming basics](https://docs.chia.net/reference-client/farming/farming-basics): overviews of plotting, pooling, and rewards.
- In depth [architecture overview](https://docs.chia.net/chia-blockchain/architecture/architecture-overview): describing the interactions between Farmers, Harvesters, Wallets, etc.
- Chialisp[详细文档](https://chialisp.com/):提供有关Chialisp各个方面的详细信息。
- Support [in discord](https://discord.gg/chia): for further support join our discord server and ask in the #chialisp or #support channels.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ slug: /pools

### 链接

- 更多的[耕种基础知识](https://docs.chia.net/reference-client/farming/farming-basics):绘图、矿池和奖励的概述。
- 详细的[架构概述](https://docs.chia.net/chia-blockchain/architecture/architecture-overview):描述农民、收割机、钱包等之间的交互。
- More [farming basics](https://docs.chia.net/reference-client/farming/farming-basics): overviews of plotting, pooling, and rewards.
- In depth [architecture overview](https://docs.chia.net/chia-blockchain/architecture/architecture-overview): describing the interactions between Farmers, Harvesters, Wallets, etc.
- Chialisp[详细文档](https://chialisp.com/):提供有关Chialisp各个方面的详细信息。
- Support [in discord](https://discord.gg/chia): for further support join our discord server and ask in the #chialisp or #support channels.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 架构概览
slug: /chia-blockchain/architecture/architecture-overview
---

![chia架构](/img/chia-network-architecture.png)
![chia-architecture](/img/chia-network-architecture.png)

上图展示了 Chia 的网络架构。 一台机器可以运行其中一个以上的过程。 事实上,默认配置是同时运行四个过程:耕种、全节点、收割和钱包。 许多农民还会选择运行电子图形用户界面和矿池。 此外,少数农民,特别是拥有较多硬盘(PiB)农场的农民,会选择运行Timelord(时间领主)。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ slug: /chia-blockchain/architecture/harvesters

就大多数挑战而言,质量 ( 步骤1) 很低,所以没有必要获取全部证明(步骤2)。 一个节点有28秒的时间返回一个证明,所以磁盘I/O 不会是一个限制因素, 即使证明存储在慢速HDD上。

:::注意:
磁带驱动器太慢无法耕种。 The protocol was designed to support hard disks, but nothing slower. It is possible to use tape for long-term plot storage, only transferring the plots to disks for occasional farming, but this is likely a very rare use case.
:::note
Tape drives are too slow for farming. The protocol was designed to support hard disks, but nothing slower. It is possible to use tape for long-term plot storage, only transferring the plots to disks for occasional farming, but this is likely a very rare use case.
:::

Finally, harvesters also maintain a private key for each plot. The blocks are signed with these keys, which is an important concept in Chia. It means that even when a farmer is a member of a pool, the farmer still controls the contents of a block. This is quite different from other blockchains' pooling protocols, where the pool operators are the ones signing the blocks.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ The node also deterministically samples several sub-epochs based on the challeng

For example, if the challenge blocks all occur with very small iterations (close to the beginning of the sub-slot), there are likely many blocks in that sub-slot. Conversely, if the iterations are close to the middle of the sub-slot, there is likely only one block per sub-slot. This allows the light client to only download 1/32 of the blocks in each sub-slot, but still get a good estimate of the total weight.

Furthermore, the last few sub-epochs should be downloaded in full for the light client. This adds a small amount of data, but prevents attackers from creating small forks at the end of the chain.
Furthermore, the last few sub-epochs should be downloaded in full for the light client.
This adds a small amount of data, but prevents attackers from creating small forks at the end of the chain.

The main difference between this protocol and Flyclient is that blocks are not committed to using a Merkle mountain range, but instead the light client downloads the entire list of sub-epoch hashes from genesis, guaranteeing that the queried sub-epochs are included in the chain. Another difference is that entire sections are downloaded, as opposed to individual blocks.

Expand Down
Loading
Loading