1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00

protob: add TransactionType.overwintered flag (for Zcash)

This commit is contained in:
Pavol Rusnak 2018-05-21 14:43:05 +02:00
parent 83f022f0e6
commit ef5240bccc
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -234,7 +234,7 @@ message TxOutputBinType {
/** /**
* Structure representing transaction * Structure representing transaction
* @used_in SimpleSignTx * @used_in TxAck
*/ */
message TransactionType { message TransactionType {
optional uint32 version = 1; optional uint32 version = 1;
@ -246,7 +246,8 @@ message TransactionType {
optional uint32 outputs_cnt = 7; optional uint32 outputs_cnt = 7;
optional bytes extra_data = 8; optional bytes extra_data = 8;
optional uint32 extra_data_len = 9; optional uint32 extra_data_len = 9;
optional uint32 decred_expiry = 10; optional uint32 decred_expiry = 10; // only for Decred
optional bool overwintered = 11; // only for Zcash
} }
/** /**