Change Block.witness to witnesses in TxLedger

This commit is contained in:
Nex
2018-12-12 11:03:52 +08:00
parent def8e3feab
commit aebe14d75f
2 changed files with 46 additions and 13 deletions

View File

@@ -37,7 +37,7 @@ message Block {
uint64 index = 1; // 事务链本地区块索引,当区块处于待确认状态时为`null`
bytes hash = 2; // 区块的哈希,当区块处于待确认状态时为`null`
repeated bytes parent_hashes = 3; // 父区块的哈希
bytes witness = 4; // 见证者账户地址
repeated bytes witnesses = 4; // 见证者账户地址
uint64 timestamp = 5; // 区块产生时的UNIX时间戳
uint64 size = 6; // 区块大小的字节数
bytes transactions_root = 7; // 区块的事务树根