Skip to content

Commit

Permalink
Add unspecified layer status
Browse files Browse the repository at this point in the history
  • Loading branch information
kacpersaw committed Apr 8, 2024
1 parent 341403c commit 1cfd4a9
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 56 deletions.
113 changes: 59 additions & 54 deletions release/go/spacemesh/v2alpha1/layer.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions spacemesh/v2alpha1/layer.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ message Layer {
message LayerV1 {
uint32 number = 1; // layer number - not hash - layer content may change
enum LayerStatus {
LAYER_STATUS_APPLIED = 0; // applied by hare
LAYER_STATUS_VERIFIED = 1; // verified by tortoise
LAYER_STATUS_UNSPECIFIED = 0;
LAYER_STATUS_APPLIED = 1; // applied by hare
LAYER_STATUS_VERIFIED = 2; // verified by tortoise
}
LayerStatus status = 2;
bytes consensus_hash = 3;
Expand Down

0 comments on commit 1cfd4a9

Please sign in to comment.