# 礦池

### 礦池（Mining Pool）是多個礦工把算力集合在一起，共同挖礦的組織。挖到區塊後，獎勵按照每個礦工貢獻的算力比例分配。這就像一群人合買彩券——中獎機會更高，但獎金要分著用。

***

## 為什麼需要礦池？

以比特幣為例：

* 全網算力：\~500 EH/s
* 一台礦機算力：\~100 TH/s
* 單打獨鬥挖到區塊的機率：約 5000 萬分之一

一個礦工可能要挖好幾年才能挖到一個區塊。加入礦池後，雖然每次分到的獎勵較少，但收入穩定得多。

{% hint style="info" %}
**收入穩定 vs 收入最大化**

* **Solo 挖礦**：可能很久沒收入，但一旦挖到就是全部
* **礦池挖礦**：每天都有穩定收入，但每次分到的較少

長期來看，兩者的期望收益是一樣的，但礦池讓現金流更穩定。
{% endhint %}

***

## 礦池如何運作？

```
礦工 A (10 TH/s) ─┐
礦工 B (20 TH/s) ─┼─→ 礦池 (100 TH/s) ─→ 挖礦
礦工 C (30 TH/s) ─┤       ↓
礦工 D (40 TH/s) ─┘    分配獎勵
                         ↓
               按算力比例分配給礦工
```

***

## 收益分配方式

| 模式    | 說明               |
| ----- | ---------------- |
| PPS   | 按貢獻算力固定支付，礦池承擔風險 |
| PPLNS | 按最近 N 個份額分配，收入浮動 |
| PPS+  | PPS + 分配交易手續費    |
| FPPS  | 全額支付（含區塊獎勵和手續費）  |

***

## 主要比特幣礦池

| 礦池          | 市場份額（約） | 總部 |
| ----------- | ------- | -- |
| Foundry USA | \~30%   | 美國 |
| Antpool     | \~20%   | 中國 |
| F2Pool      | \~15%   | 中國 |
| ViaBTC      | \~10%   | 中國 |

{% hint style="danger" %}
**中心化風險**

如果少數幾個礦池控制了超過 51% 的算力，理論上可以發動 51% 攻擊。這就是為什麼礦池多元化很重要。
{% endhint %}

***

## 選擇礦池的考量

| 因素   | 說明          |
| ---- | ----------- |
| 費率   | 通常 1-3%     |
| 支付門檻 | 最低提領金額      |
| 穩定性  | 伺服器是否穩定     |
| 支付方式 | PPS、PPLNS 等 |
| 聲譽   | 是否有跑路紀錄     |

***

## 延伸閱讀

* [礦工](/qu-kuai-lian-ru-he-da-cheng-gong-shi/wa/gong.md) — 礦池的參與者
* [算力](/qu-kuai-lian-ru-he-da-cheng-gong-shi/wa/suan-li.md) — 礦池集合的資源
* [51% 攻擊](/ren-shi-feng-xian-bao-hu-zi-chan/51-attack.md) — 算力集中的風險
* [挖礦](/qu-kuai-lian-ru-he-da-cheng-gong-shi/wa.md) — 挖礦基礎知識

***

#### 參考資料

* [Mining Pool Stats](https://miningpoolstats.stream/)
* [BTC.com Pool Stats](https://btc.com/stats/pool)


---

# Agent Instructions: 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:

```
GET https://www.0x1.academy/qu-kuai-lian-ru-he-da-cheng-gong-shi/wa/chi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
