Skip to content

Commit 4c72695

Browse files
authored
Merge pull request #251 from halibobo1205/release_4.8.1
sync with java-tron 4.8.1
2 parents 37bb922 + 852c481 commit 4c72695

5 files changed

Lines changed: 12 additions & 4 deletions

File tree

api/api.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,8 @@ service Wallet {
499499
};
500500
};
501501

502+
rpc GetPaginatedNowWitnessList (PaginatedMessage) returns (WitnessList) {
503+
};
502504

503505
rpc GetDelegatedResource (DelegatedResourceMessage) returns (DelegatedResourceList) {
504506
};
@@ -808,6 +810,10 @@ service WalletSolidity {
808810
}
809811
};
810812
};
813+
814+
rpc GetPaginatedNowWitnessList (PaginatedMessage) returns (WitnessList) {
815+
};
816+
811817
rpc GetAssetIssueList (EmptyMessage) returns (AssetIssueList) {
812818
option (google.api.http) = {
813819
post: "/walletsolidity/getassetissuelist"

core/Discover.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ message Endpoint {
1111
bytes address = 1;
1212
int32 port = 2;
1313
bytes nodeId = 3;
14+
bytes addressIpv6 = 4;
1415
}
1516

1617
message PingMessage {

core/Tron.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ message ChainParameters {
132132
message Account {
133133
/* frozen balance */
134134
message Frozen {
135-
int64 frozen_balance = 1; // the frozen trx balance
135+
int64 frozen_balance = 1; // the frozen trx or asset balance
136136
int64 expire_time = 2; // the expire time
137137
}
138138
// account nick name
@@ -407,6 +407,7 @@ message Transaction {
407407
UNKNOWN = 13;
408408
TRANSFER_FAILED = 14;
409409
INVALID_CODE = 15;
410+
// please fill in the order according to the serial number
410411
}
411412
int64 fee = 1;
412413
code ret = 2;

core/contract/asset_issue_contract.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ message AssetIssueContract {
1010
string id = 41;
1111

1212
message FrozenSupply {
13-
int64 frozen_amount = 1;
13+
int64 frozen_amount = 1; // asset amount
1414
int64 frozen_days = 2;
1515
}
1616
bytes owner_address = 1;
1717
bytes name = 2;
1818
bytes abbr = 3;
1919
int64 total_supply = 4;
2020
repeated FrozenSupply frozen_supply = 5;
21-
int32 trx_num = 6;
21+
int32 trx_num = 6; // The fields trx_num and num define the exchange rate: num tokens can be purchased with trx_num TRX. This avoids using decimals.
2222
int32 precision = 7;
2323
int32 num = 8;
2424
int64 start_time = 9;

core/contract/smart_contract.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ message SmartContractDataWrapper {
101101
SmartContract smart_contract = 1;
102102
bytes runtimecode = 2;
103103
ContractState contract_state = 3;
104-
}
104+
}

0 commit comments

Comments
 (0)