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

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
nanfengpo committed Apr 25, 2018
1 parent e18bdf2 commit d18ae9c
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,27 @@ service Wallet {
};
}

rpc FreezeBalance (FreezeBalanceContract) returns (Transaction) {
option (google.api.http) = {
post: "/wallet/freezebalance"
body: "*"
};
}

rpc UnfreezeBalance (EmptyMessage) returns (Transaction) {
option (google.api.http) = {
post: "/wallet/unfreezebalance"
body: "*"
};
}

rpc WithdrawBalance (EmptyMessage) returns (Transaction) {
option (google.api.http) = {
post: "/wallet/withdrawbalance"
body: "*"
};
}

rpc ListNodes (EmptyMessage) returns (NodeList) {
option (google.api.http) = {
post: "/wallet/listnodes"
Expand Down Expand Up @@ -147,24 +168,6 @@ service Wallet {
body: "*"
};
}
rpc FreezeBalance (FreezeBalanceContract) returns (Transaction) {
option (google.api.http) = {
post: "/wallet/freezebalance"
body: "*"
};
}
rpc UnfreezeBalance (EmptyMessage) returns (Transaction) {
option (google.api.http) = {
post: "/wallet/unfreezebalance"
body: "*"
};
}
rpc WithdrawBalance (EmptyMessage) returns (Transaction) {
option (google.api.http) = {
post: "/withdrawbalance"
body: "*"
};
}
};


Expand Down

0 comments on commit d18ae9c

Please sign in to comment.