Commit b6040ef6 authored by 黄刚's avatar 黄刚

修改代码段标记

parent 57afce29
# 共识模 # 共识模
...@@ -31,7 +31,8 @@ ...@@ -31,7 +31,8 @@
共识模块与chain33系统的耦合体现在两个接口: 共识模块与chain33系统的耦合体现在两个接口:
- Module: - Module:
```
```go
/// Module be used for module interface /// Module be used for module interface
type Module interface { type Module interface {
SetQueueClient(client Client) SetQueueClient(client Client)
...@@ -48,7 +49,8 @@ SetQueueClient主要完成如下功能: ...@@ -48,7 +49,8 @@ SetQueueClient主要完成如下功能:
Close:关闭退出共识 Close:关闭退出共识
- Miner - Miner
```
```go
type Miner interface { type Miner interface {
CreateGenesisTx() []*types.Transaction CreateGenesisTx() []*types.Transaction
GetGenesisBlockTime() int64 GetGenesisBlockTime() int64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment