Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
add message Vote
Browse files Browse the repository at this point in the history
  • Loading branch information
nanfengpo committed May 8, 2018
1 parent 7134384 commit bb1f7e0
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit bb1f7e0

Please sign in to comment.