Skip to content

Commit

Permalink
Merge pull request #233 from tronprotocol/release_v4.7.3
Browse files Browse the repository at this point in the history
merge release v4.7.3 into master
  • Loading branch information
forfreeday authored Oct 25, 2023
2 parents 244c835 + 4175c89 commit 961d063
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,15 @@ service Wallet {

rpc GetBlock (BlockReq) returns (BlockExtention) {
}

rpc GetBandwidthPrices (EmptyMessage) returns (PricesResponseMessage) {
}

rpc GetEnergyPrices (EmptyMessage) returns (PricesResponseMessage) {
}

rpc GetMemoFee (EmptyMessage) returns (PricesResponseMessage) {
}
};

service WalletSolidity {
Expand Down Expand Up @@ -963,6 +972,11 @@ service WalletSolidity {
}
rpc GetBlock (BlockReq) returns (BlockExtention) {
}
rpc GetBandwidthPrices (EmptyMessage) returns (PricesResponseMessage) {
}

rpc GetEnergyPrices (EmptyMessage) returns (PricesResponseMessage) {
}
};

service WalletExtension {
Expand Down Expand Up @@ -1107,6 +1121,10 @@ message CanWithdrawUnfreezeAmountResponseMessage {
int64 amount = 1;
}

message PricesResponseMessage {
string prices = 1;
}

// Gossip node list
message NodeList {
repeated Node nodes = 1;
Expand Down
2 changes: 2 additions & 0 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,8 @@ enum ReasonCode {
TOO_MANY_PEERS_WITH_SAME_IP = 0x22;
LIGHT_NODE_SYNC_FAIL = 0x23;
BELOW_THAN_ME = 0X24;
NOT_WITNESS = 0x25;
NO_SUCH_MESSAGE = 0x26;
UNKNOWN = 0xFF;
}

Expand Down

0 comments on commit 961d063

Please sign in to comment.