Skip to content

Commit

Permalink
mdf api.proto, add GetTransactionApprovedList
Browse files Browse the repository at this point in the history
  • Loading branch information
zergweak committed Jan 3, 2019
1 parent 26ac24e commit bc3d2ae
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,10 @@ service Wallet {

}

rpc GetTransactionApprovedList(Transaction) returns (TransactionApprovedList) {

}

rpc GetNodeInfo (EmptyMessage) returns (NodeInfo) {
};
};
Expand Down Expand Up @@ -1022,4 +1026,20 @@ message TransactionSignWeight {
int64 current_weight = 3;
Result result = 4;
TransactionExtention transaction = 5;
}

message TransactionApprovedList {
message Result {
enum response_code {
SIGNATURE_FORMAT_ERROR = 0;
COMPUTE_ADDRESS_ERROR = 1;
OTHER_ERROR = 20;
}
response_code code = 1;
string message = 2;
}

repeated bytes approved_list = 2;
Result result = 4;
TransactionExtention transaction = 5;
}

0 comments on commit bc3d2ae

Please sign in to comment.