Update Block, remove 'index', add 'transaction_count'

This commit is contained in:
Nex 2020-03-07 13:14:49 +08:00
parent bbe9b2123d
commit 5ff6cc24ee

View File

@ -33,13 +33,13 @@ message Transaction {
} }
message Block { message Block {
uint64 index = 1; // `null` bytes hash = 1; // `null`
bytes hash = 2; // `null` repeated bytes parent_hashes = 2; //
repeated bytes parent_hashes = 3; // repeated bytes witnesses = 3; //
repeated bytes witnesses = 4; // int64 timestamp = 4; // UNIX
int64 timestamp = 5; // UNIX uint64 size = 5; //
uint64 size = 6; // uint32 transaction_count = 6; //
bytes transactions_root = 7; // bytes transactions_root = 7; //
repeated Transaction transactions = 8; // repeated Transaction transactions = 8; //
repeated bytes transaction_hashes = 9; // 20 repeated bytes transaction_hashes = 9; // 20
} }