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

Commit

Permalink
Merge commit '0297ff5d8a027576b0a7943cf0174ca7fc789534' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohong committed Mar 30, 2018
2 parents f7d6d7b + 0297ff5 commit 336711d
Show file tree
Hide file tree
Showing 2 changed files with 10 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

0 comments on commit 336711d

Please sign in to comment.