Skip to content

Commit

Permalink
Merge pull request #126 from spacemeshos/add-atx-to-block
Browse files Browse the repository at this point in the history
Add atx to block
  • Loading branch information
avive authored Dec 10, 2020
2 parents 7d0dfed + 1eb4a8b commit 1052499
Show file tree
Hide file tree
Showing 4 changed files with 175 additions and 148 deletions.
2 changes: 1 addition & 1 deletion proto/spacemesh/v1/mesh_types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ message LayerDurationResponse {
message MaxTransactionsPerSecondRequest {}

message MaxTransactionsPerSecondResponse {
SimpleInt maxtxpersecond = 1;
SimpleInt max_txs_per_second = 1;
}

enum AccountMeshDataFlag {
Expand Down
4 changes: 3 additions & 1 deletion proto/spacemesh/v1/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ message Reward {

message Block {
bytes id = 1; // block hash
repeated Transaction transactions = 2;
repeated Transaction transactions = 2; // block transactions
ActivationId activation_id = 3; // the smesher's activation that this block refers to
SmesherId smesher_id = 4; // the id of the smesher who submitted this block
}

message Layer {
Expand Down
180 changes: 90 additions & 90 deletions release/go/spacemesh/v1/mesh_types.pb.go

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

Loading

0 comments on commit 1052499

Please sign in to comment.