Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Merge commit 'ce4933fbe83c734ca244ecb0e8f8a9f854aa8afe' into protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaxie committed Mar 31, 2018
2 parents f7d6d7b + ce4933f commit b1f5964
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ service Wallet {

};

rpc UpdateAccount (AccountUpdateContract) returns (Transaction) {

};

rpc CreateAccount (AccountCreateContract) returns (Transaction) {

};
Expand Down
6 changes: 6 additions & 0 deletions core/Contract.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ message AccountCreateContract {
bytes owner_address = 3;
}

// update account name if the account has no name.
message AccountUpdateContract{
bytes account_name = 1;
bytes owner_address = 2;
}

message TransferContract {
bytes owner_address = 1;
bytes to_address = 2;
Expand Down
1 change: 1 addition & 0 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ enum ReasonCode {
LOCAL_IDENTITY = 10;
PING_TIMEOUT = 11;
USER_REASON = 12;
RESET = 16;
UNKNOWN = 255;
}

Expand Down

0 comments on commit b1f5964

Please sign in to comment.