-
Notifications
You must be signed in to change notification settings - Fork 1
/
block.proto
38 lines (33 loc) · 883 Bytes
/
block.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Transactions
syntax = "proto3";
package waves;
option java_package = "com.wavesplatform.protobuf.block";
option csharp_namespace = "Waves";
import "transaction.proto";
message Block {
message Header {
int32 chain_id = 1;
bytes reference = 2;
int64 base_target = 3;
bytes generation_signature = 4;
repeated uint32 feature_votes = 5;
int64 timestamp = 6;
int32 version = 7;
bytes generator = 8;
int64 reward_vote = 9;
}
Header header = 1;
bytes signature = 2;
repeated SignedTransaction transactions = 3;
}
message MicroBlock {
int32 version = 1;
bytes reference = 2;
bytes updated_block_signature = 3;
bytes sender_public_key = 4;
repeated SignedTransaction transactions = 5;
}
message SignedMicroBlock {
MicroBlock micro_block = 1;
bytes signature = 2;
}