Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
add chain inv
Browse files Browse the repository at this point in the history
  • Loading branch information
olenheim committed Mar 12, 2018
1 parent 1889f42 commit 053280a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,15 @@ message Block {
BlockHeader block_header = 2;
}

message ChainInventory {
message BlockId {
bytes hash = 1;
int64 number = 2;
}
repteated BlockId ids = 1;
int64 remain_num = 2;
}

// Inventory
message BlockInventory {
enum Type {
Expand Down

0 comments on commit 053280a

Please sign in to comment.