Skip to content

Commit

Permalink
Merge pull request #125 from helium/jc/sync-final-flag
Browse files Browse the repository at this point in the history
add final flag to sync blocks message
  • Loading branch information
madninja authored Jul 15, 2022
2 parents dd7143c + fd29255 commit 52cd942
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/blockchain_sync_handler.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ message blockchain_sync_hash {
repeated uint64 heights = 2;
}

message blockchain_sync_blocks { repeated bytes blocks = 1; }
message blockchain_sync_blocks {
repeated bytes blocks = 1;
bool final = 2;
}

message blockchain_sync_req {
oneof msg {
Expand Down

0 comments on commit 52cd942

Please sign in to comment.