All Downloads are FREE. Search and download functionalities are using the official Maven repository.

waves.block.proto Maven / Gradle / Ivy

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 {
        message ChallengedHeader {
            int64 base_target = 1;
            bytes generation_signature = 2;
            repeated uint32 feature_votes = 3;
            int64 timestamp = 4;
            bytes generator = 5;
            int64 reward_vote = 6;
            bytes state_hash = 7;
            bytes header_signature = 8;
        }

        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;
        bytes state_hash = 11;
        ChallengedHeader challenged_header = 12;
    }

    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;
    bytes state_hash = 6;
}

message SignedMicroBlock {
    MicroBlock micro_block = 1;
    bytes signature = 2;
    bytes total_block_id = 3;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy