syntax = "proto3";

import "blockchain.proto";

message Proposal {
    Block block = 1;
    bool islock = 2;
    uint64 lock_round = 3;
    repeated Vote lock_votes = 4;
    uint64 round = 5;
    uint64 height = 6;
}

message Vote {
    bytes sender = 1;
    bytes proposal = 2;
    bytes signature = 3;
}

message SignedProposal {
    Proposal proposal = 1;
    bytes signature = 2;
}

