1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00

add fields for Tx.extra_data

This commit is contained in:
Pavol Rusnak 2016-10-19 09:34:00 +02:00
parent 1e74952359
commit 07a71eb9c0
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -74,6 +74,7 @@ enum RequestType {
TXOUTPUT = 1;
TXMETA = 2;
TXFINISHED = 3;
TXEXTRADATA = 4;
}
/**
@ -202,6 +203,8 @@ message TransactionType {
optional uint32 lock_time = 4;
optional uint32 inputs_cnt = 6;
optional uint32 outputs_cnt = 7;
optional bytes extra_data = 8;
optional uint32 extra_data_len = 9;
}
/**
@ -211,6 +214,7 @@ message TransactionType {
message TxRequestDetailsType {
optional uint32 request_index = 1; // device expects TxAck message from the computer
optional bytes tx_hash = 2; // tx_hash of requested transaction
optional uint32 extra_data_len = 3; // length of requested extra data
}
/**