Add Block.Creator and Block.Nonce
This commit is contained in:
@@ -400,6 +400,20 @@
|
||||
<td><p>区块的哈希,当区块处于待确认状态时为`null` </p></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>creator</td>
|
||||
<td><a href="#bytes">bytes</a></td>
|
||||
<td></td>
|
||||
<td><p>产块者账户地址 </p></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>nonce</td>
|
||||
<td><a href="#uint64">uint64</a></td>
|
||||
<td></td>
|
||||
<td><p>这个区块之前产块者产生的区块数量 </p></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>parent_hashes</td>
|
||||
<td><a href="#bytes">bytes</a></td>
|
||||
|
||||
@@ -127,6 +127,26 @@
|
||||
"ismap": false,
|
||||
"defaultValue": ""
|
||||
},
|
||||
{
|
||||
"name": "creator",
|
||||
"description": "产块者账户地址",
|
||||
"label": "",
|
||||
"type": "bytes",
|
||||
"longType": "bytes",
|
||||
"fullType": "bytes",
|
||||
"ismap": false,
|
||||
"defaultValue": ""
|
||||
},
|
||||
{
|
||||
"name": "nonce",
|
||||
"description": "这个区块之前产块者产生的区块数量",
|
||||
"label": "",
|
||||
"type": "uint64",
|
||||
"longType": "uint64",
|
||||
"fullType": "uint64",
|
||||
"ismap": false,
|
||||
"defaultValue": ""
|
||||
},
|
||||
{
|
||||
"name": "parent_hashes",
|
||||
"description": "父区块的哈希",
|
||||
|
||||
@@ -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 时间戳,单位为秒 |
|
||||
|
||||
Reference in New Issue
Block a user