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

Commit

Permalink
Merge pull request #21 from tronprotocol/solidity_node
Browse files Browse the repository at this point in the history
add GetDynamicProperties rpc api
  • Loading branch information
CodeNinjaEvan committed Apr 11, 2018
2 parents c9d41ff + 08c6c90 commit 8a9ef78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ service Wallet {
}
rpc TotalTransaction (EmptyMessage) returns (NumberMessage) {

}
rpc GetDynamicProperties (EmptyMessage) returns (DynamicProperties) {

}
};
// the api of tron's db
Expand Down
5 changes: 5 additions & 0 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ message Items {
repeated Transaction transactions = 4;
}

// DynamicProperties
message DynamicProperties {
int64 last_solidity_block_num = 1;
}

enum ReasonCode {
REQUESTED = 0;
TCP_ERROR = 1;
Expand Down

0 comments on commit 8a9ef78

Please sign in to comment.