Update docs

This commit is contained in:
Nex
2019-04-23 18:25:47 +08:00
parent d2792917e7
commit 72a517f36a
4 changed files with 15 additions and 15 deletions

View File

@@ -71,7 +71,7 @@ message Block {
uint64 size = 6; // 区块大小的字节数
bytes transactions_root = 7; // 区块的事务树根
repeated Transaction transactions = 8; // 事务对象的数组,或为空
repeated bytes transaction_hashes = 9; // 32字节的交易哈希的数组或为空
repeated bytes transaction_hashes = 9; // 20字节的交易哈希的数组,或为空
}
```
@@ -87,7 +87,7 @@ message Block {
uint64 size = 6; // 区块大小的字节数
bytes transactions_root = 7; // 区块的事务树根
repeated Transaction transactions = 8; // 事务对象的数组,或为空
repeated bytes transaction_hashes = 9; // 32字节的交易哈希的数组或为空
repeated bytes transaction_hashes = 9; // 20字节的交易哈希的数组,或为空
}
```
@@ -617,7 +617,7 @@ details:
- field: 'transaction.from'
description: 'from must not be empty'
- field: 'transaction.to'
description: 'to must be a valid 32-byte address'
description: 'to must be a valid 20-byte address'
```
---