Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ service WalletSolidity {

rpc IsSpend (NoteParameters) returns (SpendResult) {
}

rpc TriggerConstantContract (TriggerSmartContract) returns (TransactionExtention) {
}

Expand Down Expand Up @@ -1071,7 +1071,7 @@ message EasyTransferAssetByPrivateMessage {
message EasyTransferResponse {
Transaction transaction = 1;
Return result = 2;
bytes txid = 3; //transaction id = sha256(transaction.rowdata)
bytes txid = 3; //transaction id = sha256(transaction.raw_data)
}

message AddressPrKeyPairMessage {
Expand All @@ -1081,7 +1081,7 @@ message AddressPrKeyPairMessage {

message TransactionExtention {
Transaction transaction = 1;
bytes txid = 2; //transaction id = sha256(transaction.rowdata)
bytes txid = 2; //transaction id = sha256(transaction.raw_data)
repeated bytes constant_result = 3;
Return result = 4;
}
Expand Down Expand Up @@ -1166,7 +1166,7 @@ message OvkDecryptParameters {
message DecryptNotes {
message NoteTx {
Note note = 1;
bytes txid = 2; //transaction id = sha256(transaction.rowdata)
bytes txid = 2; //transaction id = sha256(transaction.raw_data)
int32 index = 3; //the index of note in receive
}
repeated NoteTx noteTxs = 1;
Expand All @@ -1175,7 +1175,7 @@ message DecryptNotes {
message DecryptNotesMarked {
message NoteTx {
Note note = 1;
bytes txid = 2; //transaction id = sha256(transaction.rowdata)
bytes txid = 2; //transaction id = sha256(transaction.raw_data)
int32 index = 3; //the index of note in receive
bool is_spend = 4;
}
Expand Down
4 changes: 2 additions & 2 deletions core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ message Transaction {
repeated authority auths = 9;
// transaction note
bytes data = 10;
//only support size = 1, repeated list here for extension
//only support size = 1, repeated list here for extension
repeated Contract contract = 11;
// scripts not used
bytes scripts = 12;
Expand All @@ -336,7 +336,7 @@ message Transaction {
}

raw raw_data = 1;
// only support size = 1, repeated list here for muti-sig extension
// only support size = 1, repeated list here for muti-sig extension
repeated bytes signature = 2;
repeated Result ret = 5;
}
Expand Down