diff --git a/api/api.proto b/api/api.proto index 945fc7730..84a39ac86 100644 --- a/api/api.proto +++ b/api/api.proto @@ -16,7 +16,7 @@ import "core/contract/shield_contract.proto"; option java_package = "org.tron.api"; //Specify the name of the package that generated the Java file option java_outer_classname = "GrpcAPI"; //Specify the class name of the generated Java file -option go_package = "github.com/tronprotocol/grpc-gateway/api"; +option go_package = "github.com/tronprotocol/protocol/blob/master/api"; service Wallet { @@ -74,7 +74,6 @@ service Wallet { }; }; - rpc SetAccountId (SetAccountIdContract) returns (Transaction) { option (google.api.http) = { post: "/wallet/setaccountid" @@ -429,7 +428,6 @@ service Wallet { }; }; - rpc GetDelegatedResource (DelegatedResourceMessage) returns (DelegatedResourceList) { }; @@ -624,15 +622,12 @@ service Wallet { } rpc AddSign (TransactionSign) returns (TransactionExtention) { - } rpc GetTransactionSignWeight (Transaction) returns (TransactionSignWeight) { - } rpc GetTransactionApprovedList (Transaction) returns (TransactionApprovedList) { - } rpc GetNodeInfo (EmptyMessage) returns (NodeInfo) { @@ -645,7 +640,6 @@ service Wallet { }; rpc UpdateBrokerage (UpdateBrokerageContract) returns (TransactionExtention) { - }; // for shiededTransaction @@ -906,16 +900,15 @@ service WalletExtension { service Database { // for tapos rpc getBlockReference (EmptyMessage) returns (BlockReference) { - } + rpc GetDynamicProperties (EmptyMessage) returns (DynamicProperties) { - } + rpc GetNowBlock (EmptyMessage) returns (Block) { - } + rpc GetBlockByNum (NumberMessage) returns (Block) { - } };