Add Block.Creator and Block.Nonce

This commit is contained in:
Nex
2020-04-21 00:46:04 +08:00
parent 9d0a08fe5d
commit 652b633e71
4 changed files with 47 additions and 9 deletions

View File

@@ -92,6 +92,8 @@
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| hash | [bytes](#bytes) | | 区块的哈希,当区块处于待确认状态时为`null` |
| creator | [bytes](#bytes) | | 产块者账户地址 |
| nonce | [uint64](#uint64) | | 这个区块之前产块者产生的区块数量 |
| parent_hashes | [bytes](#bytes) | repeated | 父区块的哈希 |
| witnesses | [bytes](#bytes) | repeated | 见证者账户地址 |
| timestamp | [int64](#int64) | | 区块产生时的 UNIX 时间戳,单位为秒 |