# Helium 区块链

![](/files/-MgKNiFP-OiUfS8GwyZN)

以下是Helium区块链的一些主要组成部分和概念。

## 区块

每个区块被用于记录Helium区块链上最近的一组交易。出块时间被链上变量`block_time`中。目前的目标区块时间是`60000`毫秒（或`60`秒）。在任意Epoch中，最新的一个区块会中会包含：

* 当前区块版本
* 当前区块高度
* 前一区块的哈希
* 区块交易（以Merkle哈希形式存储）
* 当前共识小组的阀值签名

查看当前区块信息的最简单方法是使用[Helium浏览器](https://explorer.helium.com/)。Helium App也会显示具体区块信息。开发者还可以使用Helium所提供的API来访问所有链上交易以及元数据。

## **Epochs**

在每个`epoch`内，会有一组特定的验证节点被选入共识小组。目前，一个`epoch`的目标时间是30个区块，被链上变量interval所定义。共识小组的奖励按`epoch`进行分配。在每个`epoch`结束时，共识小组将通过奖励交易分配该区块中产生的所有共识奖励。

## 交易

Helium区块链目前有20种原生交易类型。有些交易类型几乎在每个区块中都会出现，而其他交易类型则由可能只会出现一次。

所有的交易都会上链，并且都需要消耗Data Credits。你可以使用Helium区块浏览器来查看不同的交易类型。

更多关于交易的信息请查看[Helium 区块链核心代码](https://github.com/helium/blockchain-core)。

## 链上参数

链上参数，又称链上变量，包含了Helium区块链中的一系列设置。链上参数通常可以被用来更改目标区块时间、目标epoch时间、PoC挑战频率等等。你可以在这里找到[完整的链上参数列表](https://helium.plus/chain-vars)。


---

# 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://heliumchina.gitbook.io/helium/about/blockchain.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.
