diff --git a/core/Tron.proto b/core/Tron.proto index 9b0ee81f7d6..54978762326 100644 --- a/core/Tron.proto +++ b/core/Tron.proto @@ -22,15 +22,16 @@ message AccountId { bytes address = 2; } +// vote message +message Vote { + // the super rep address + bytes vote_address = 1; + // the vote num to this super rep. + int64 vote_count = 2; +} + // Account message Account { - // vote message - message Vote { - // the super rep address - bytes vote_address = 1; - // the vote num to this super rep. - int64 vote_count = 2; - } // frozen balance message Frozen { // the frozen trx balance @@ -91,6 +92,13 @@ message Witness { bool isJobs = 9; } +// Vote Change +message Votes { + bytes address = 1; + repeated Vote old_votes = 2; + repeated Vote new_votes = 3; +} + // Transcation message TXOutput {