# 后端部署概述

<figure><img src="/files/tWXkz2Jd2yTDoJNNI19a" alt=""><figcaption></figcaption></figure>

Babylon比特币质押系统由以下组件组成：

* [**质押索引器**](/babylon-docs/user-guides/bitcoin-staking-phase1/backend-deployment/services/staking-indexer.md)：解析比特币网络区块中的有效质押、解质押和提款交易，将相关事件转发到交易队列系统，并将其保存到磁盘上的键值存储中。
* [**RabbitMQ**](/babylon-docs/user-guides/bitcoin-staking-phase1/backend-deployment/infra/rabbitmq.md)：存储打包BTC质押交易的队列。
* [**质押API**](/babylon-docs/user-guides/bitcoin-staking-phase1/backend-deployment/services/staking-api.md)：从RabbitMQ队列中提取来自消费者链的BTC质押交易，并将其存储在中央数据库中，同时负责接受解除质押请求。
* [**MongoDB**](/babylon-docs/user-guides/bitcoin-staking-phase1/backend-deployment/infra/mongodb.md)：存储BTC质押交易数据。
* [**质押期限检查器**](/babylon-docs/user-guides/bitcoin-staking-phase1/backend-deployment/services/staking-expiry-checker.md)：定期检查MongoDB数据库中是否有过期的BTC质押、委托和解除质押记录。
* [**解除质押流水线**](/babylon-docs/user-guides/bitcoin-staking-phase1/backend-deployment/services/staking-expiry-checker.md)：将解除质押请求转发至Covenant模拟器委员会签名，并将结果提交到比特币网络。
* [**质押仪表盘**](https://github.com/babylonlabs-io/simple-staking)：用于创建BTC质押交易的用户界面，连接到API以检索相关系统数据和历史委托信息。
* [**Covenant签名者**](https://github.com/babylonlabs-io/covenant-signer)：由Covenant委员会成员操作，接收解除质押交易，并返回由Covenant模拟器密钥签名的相同交易。
* [**比特币全节点**](/babylon-docs/user-guides/bitcoin-staking-phase1/backend-deployment/infra/bitcoind.md)：验证质押交易是否已提交到比特币网络，是否已获得所需数量的比特币网络确认。
* [**比特币离线钱包**](https://github.com/babylonlabs-io/covenant-signer)：存储Covenant签名者的成员密钥，并对Covenant签名者转发的解除质押交易进行签名。Covenant签名者需要运行一个比特币钱包，连接到比特币节点。详细的设置指南请参考[Covenant 签名者设置部署](https://github.com/babylonlabs-io/covenant-signer)。
* [**全局配置文件**](/babylon-docs/user-guides/bitcoin-staking-phase1/backend-deployment/global-params.md)：包含与已处理质押交易相关的系统范围内的所有参数。
* [**最终性提供者配置文件**](/babylon-docs/user-guides/bitcoin-staking-phase1/backend-deployment/global-params.md)：将最终性提供者的比特币网络地址与其个人信息 (如名称、奖励等) 相关联。


---

# 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.docszh.com/babylon-docs/user-guides/bitcoin-staking-phase1/backend-deployment/deployment-overview.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.
