> For the complete documentation index, see [llms.txt](https://axon-finance.gitbook.io/axon-finance-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://axon-finance.gitbook.io/axon-finance-docs/huang-pi-shu-g-wang-luo-yu-xing-neng/g1-networking.md).

# G.1 网络层与交易传播

> **设计状态**：proposed design。网络参数（fanout、内存池大小）待基准。

## G.1.1 网络拓扑

AXON 节点组成一个**结构化 P2P 网络**：验证者间维持低延迟的近全连接（数量受控，$n \leq n\_{\max}$，[B.2.2](/axon-finance-docs/huang-pi-shu-b-gong-shi-yu-zhang-ben/b2-validators.md)），全节点/边缘节点经 gossip 覆盖网接入。共识消息（提议、投票、QC）走验证者子网以压低最终性延迟；交易与区块体走更广的 gossip 层。

## G.1.2 交易传播与内存池

客户端交易先经接入网关（[D.3](/axon-finance-docs/huang-pi-shu-d-jie-suan-wei-jia-he-gui/d3-compliance.md)）合规筛查，再进入**内存池（mempool）**。设计要点：

* **前置合规**：不合规交易在入池前即被拦，减少无效传播。
* **由排序层定序**：交易由 $\mathsf{Seq}$ 分配全局 seqNo（[B.4.1](/axon-finance-docs/huang-pi-shu-b-gong-shi-yu-zhang-ben/b4-sequencing.md)），领导者从**已定序流**取交易，而非从无序 mempool 自行挑选排序——这从网络层就压缩了 MEV/审查空间。
* **加密内存池（路线）**：交易可在定序前对排序器加密（阈值解密），进一步防抢跑（[F.3.1](/axon-finance-docs/huang-pi-shu-f-xie-yi-jing-ji-yu-an-quan/f3-security.md)）。

## G.1.3 区块传播

HotStuff 风格共识（[B.1](/axon-finance-docs/huang-pi-shu-b-gong-shi-yu-zhang-ben/b1-consensus.md)）以领导者为中继，通信复杂度 $O(n)$（配合 BLS 聚合，[A.2.3](/axon-finance-docs/huang-pi-shu-a-xi-tong-mo-xing-yu-mi-ma-xue/a2-cryptography.md)），避免全网 $O(n^2)$ 广播。大区块体的传播可用两项优化：

* **纠删码（erasure coding）**：区块分片 + 冗余编码，节点收到足够分片即可重建——抗丢包、降尾延迟。
* **压缩区块（compact blocks）**：因交易已在 mempool 传播，区块只需传交易标识 + 缺失项，节省带宽。

## G.1.4 数据可用性

验证者对区块投票前须确认**区块数据可用**（能取到全部交易以执行 $\delta$，[B.3.2](/axon-finance-docs/huang-pi-shu-b-gong-shi-yu-zhang-ben/b3-state.md)）——防止领导者提议一个「头有效但体不可得」的区块。纠删码 + 采样可让节点以低成本高概率确认数据可用性，是无状态/轻验证演进（[B.3.5](/axon-finance-docs/huang-pi-shu-b-gong-shi-yu-zhang-ben/b3-state.md)）的基础。

## G.1.5 网络与性能的关系

网络层是吞吐与延迟的物理下界：一跳延迟 $\delta\_{\text{net}}$ 决定最终性延迟（[B.1.7](/axon-finance-docs/huang-pi-shu-b-gong-shi-yu-zhang-ben/b1-consensus.md)），区块传播带宽决定区块大小上限、进而决定单区块交易数。[G.2](/axon-finance-docs/huang-pi-shu-g-wang-luo-yu-xing-neng/g2-performance.md) 把这些物理量组合成性能模型，推导 AXON 的性能设计目标。

***

*下一节：*[*G.2 性能模型与设计目标*](/axon-finance-docs/huang-pi-shu-g-wang-luo-yu-xing-neng/g2-performance.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://axon-finance.gitbook.io/axon-finance-docs/huang-pi-shu-g-wang-luo-yu-xing-neng/g1-networking.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
