Skip to content

Commit 1329496

Browse files
committed
Merge commit 'ce4933fbe83c734ca244ecb0e8f8a9f854aa8afe' into protocol
2 parents bd698b6 + ce4933f commit 1329496

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

src/main/protos/api/api.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ service Wallet {
2525

2626
};
2727

28+
rpc UpdateAccount (AccountUpdateContract) returns (Transaction) {
29+
30+
};
31+
2832
rpc CreateAccount (AccountCreateContract) returns (Transaction) {
2933

3034
};

src/main/protos/core/Contract.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ message AccountCreateContract {
2828
bytes owner_address = 3;
2929
}
3030

31+
// update account name if the account has no name.
32+
message AccountUpdateContract{
33+
bytes account_name = 1;
34+
bytes owner_address = 2;
35+
}
36+
3137
message TransferContract {
3238
bytes owner_address = 1;
3339
bytes to_address = 2;

src/main/protos/core/Tron.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ enum ReasonCode {
195195
LOCAL_IDENTITY = 10;
196196
PING_TIMEOUT = 11;
197197
USER_REASON = 12;
198+
RESET = 16;
198199
UNKNOWN = 255;
199200
}
200201

0 commit comments

Comments
 (0)