From cb5dd9414038ebc79f57fc1b4d1288da427dd66e Mon Sep 17 00:00:00 2001 From: Nex Date: Sun, 5 Apr 2020 11:40:37 +0800 Subject: [PATCH] Format --- bdledger/api/common.proto | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bdledger/api/common.proto b/bdledger/api/common.proto index 47150ba..956ad5d 100644 --- a/bdledger/api/common.proto +++ b/bdledger/api/common.proto @@ -33,13 +33,13 @@ message Transaction { } message Block { - bytes hash = 1; // 区块的哈希,当区块处于待确认状态时为`null` - repeated bytes parent_hashes = 2; // 父区块的哈希 - repeated bytes witnesses = 3; // 见证者账户地址 - int64 timestamp = 4; // 区块产生时的 UNIX 时间戳,单位为秒 - uint64 size = 5; // 区块大小的字节数 - uint32 transaction_count = 6; // 区块包含的事务数量 - bytes transactions_root = 7; // 区块的事务默克尔树根 - repeated Transaction transactions = 8; // 事务对象的数组,或为空 + bytes hash = 1; // 区块的哈希,当区块处于待确认状态时为`null` + repeated bytes parent_hashes = 2; // 父区块的哈希 + repeated bytes witnesses = 3; // 见证者账户地址 + int64 timestamp = 4; // 区块产生时的 UNIX 时间戳,单位为秒 + uint64 size = 5; // 区块大小的字节数 + uint32 transaction_count = 6; // 区块包含的事务数量 + bytes transactions_root = 7; // 区块的事务默克尔树根 + repeated Transaction transactions = 8; // 事务对象的数组,或为空 repeated bytes transaction_hashes = 9; // 20字节的交易哈希的数组,或为空 }