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

Commit

Permalink
merged
Browse files Browse the repository at this point in the history
  • Loading branch information
sdargutev committed Mar 16, 2018
2 parents c9410d8 + fee98bf commit 935fd4c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ message Account {
int64 balance = 4;
repeated Vote votes = 5;
map<string, int64> asset = 6;

int64 latest_opration_time = 10;
}

// Witness
Expand Down Expand Up @@ -83,6 +83,16 @@ message Transaction {
ContractType type = 1;
google.protobuf.Any parameter = 2;
}

message Result {
enum code {
SUCESS = 0;
FAILED = 1;
}
int64 fee = 1;
code ret = 2;
}

message raw {
TransactionType type = 2;
repeated TXInput vin = 5;
Expand All @@ -92,8 +102,10 @@ message Transaction {
repeated Contract contract = 11;
bytes scripts = 16;
}

raw raw_data = 1;
repeated bytes signature = 5;
repeated bytes signature = 2;
repeated Result ret = 5;
}

message BlockHeader {
Expand Down

0 comments on commit 935fd4c

Please sign in to comment.