waves.block.proto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protobuf-schemas Show documentation
Show all versions of protobuf-schemas Show documentation
Waves Node protobuf java classes
syntax = "proto3";
package waves;
option java_package = "com.wavesplatform.protobuf.block";
option csharp_namespace = "Waves";
option go_package = "github.com/wavesplatform/gowaves/pkg/grpc/generated/waves";
import "waves/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;
bytes transactions_root = 10;
}
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;
bytes total_block_id = 3;
}