1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

chore(common): Mark new messages related to payment requests as unstable.

This commit is contained in:
Andrew Kozlik 2021-02-17 11:44:20 +01:00 committed by Andrew Kozlik
parent c9008c7766
commit 42ace2aed8
2 changed files with 7 additions and 2 deletions

View File

@ -329,7 +329,7 @@ message TxAck {
// optional uint32 block_height_bip115 = 9; // BIP-115 support dropped
optional bytes orig_hash = 10; // tx_hash of the original transaction where this output was present (used when creating a replacement transaction)
optional uint32 orig_index = 11; // index of the output in the original transaction (used when creating a replacement transaction)
optional uint32 payment_req_index = 12; // index of the PaymentRequest containing this output
optional uint32 payment_req_index = 12 [(experimental)=true]; // index of the PaymentRequest containing this output
}
}
}
@ -373,7 +373,7 @@ message TxOutput {
reserved 7, 8, 9; // fields which are in use, or have been in the past, in TxOutputType
optional bytes orig_hash = 10; // tx_hash of the original transaction where this output was present (used when creating a replacement transaction)
optional uint32 orig_index = 11; // index of the output in the original transaction (used when creating a replacement transaction)
optional uint32 payment_req_index = 12; // index of the PaymentRequest containing this output
optional uint32 payment_req_index = 12 [(experimental)=true]; // index of the PaymentRequest containing this output
}
/** Data type for metadata about previous transaction which contains the UTXO being spent.
@ -423,6 +423,8 @@ message PrevOutput {
* @next TxRequest
*/
message TxAckPaymentRequest {
option (unstable) = true;
optional bytes nonce = 1; // the nonce used in the signature computation
required string recipient_name = 2; // merchant's name or coordinator's name in case of CoinJoin
repeated PaymentRequestMemo memos = 3; // any memos that were signed as part of the request

View File

@ -428,6 +428,7 @@ message RebootToBootloader {
* @next Nonce
*/
message GetNonce {
option (unstable) = true;
}
/**
@ -435,5 +436,7 @@ message GetNonce {
* @end
*/
message Nonce {
option (unstable) = true;
required bytes nonce = 1; // a 32-byte random value generated by Trezor
}