Skip to content

Commit

Permalink
Merge pull request #189 from tronprotocol/release_v4.5.2
Browse files Browse the repository at this point in the history
Release v4.5.2 merge to master
  • Loading branch information
lvs007 authored Aug 18, 2022
2 parents c8d7b94 + 97fd1c9 commit de7c425
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,9 @@ service Wallet {

rpc GetPendingSize (EmptyMessage) returns (NumberMessage) {
}

rpc GetBlock (BlockReq) returns (BlockExtention) {
}
};

service WalletSolidity {
Expand Down Expand Up @@ -974,6 +977,8 @@ service WalletSolidity {

rpc GetBurnTrx (EmptyMessage) returns (NumberMessage) {
}
rpc GetBlock (BlockReq) returns (BlockExtention) {
}
};

service WalletExtension {
Expand Down Expand Up @@ -1123,6 +1128,10 @@ message TimeMessage {
int64 beginInMilliseconds = 1;
int64 endInMilliseconds = 2;
}
message BlockReq {
string id_or_num = 1;
bool detail = 2;
}
message BlockLimit {
int64 startNum = 1;
int64 endNum = 2;
Expand Down
2 changes: 1 addition & 1 deletion install-googleapis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go get -u github.com/golang/protobuf/protoc-gen-go

wget http://central.maven.org/maven2/com/google/api/grpc/googleapis-common-protos/0.0.3/googleapis-common-protos-0.0.3.jar
wget https://repo1.maven.org/maven2/com/google/api/grpc/googleapis-common-protos/0.0.3/googleapis-common-protos-0.0.3.jar
jar xvf googleapis-common-protos-0.0.3.jar
cp -r google/ $HOME/protobuf/include/
ls -l
Expand Down

0 comments on commit de7c425

Please sign in to comment.