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

xmr: add version fields to check for protocol compatibility

- safe check in case hard fork number increases without Trezor being patched to that version. Same for monero software version - if major version update is detected, T may warn to do only in own risk without updating Trezor firmware compatible with new versions
This commit is contained in:
Dusan Klinec 2019-03-07 11:27:18 +01:00
parent 21f0d75d13
commit f75a93ceca
No known key found for this signature in database
GPG Key ID: 6337E118CCBCE103

View File

@ -138,6 +138,8 @@ message MoneroTransactionInitRequest {
optional MoneroTransactionRsigData rsig_data = 11;
repeated uint32 integrated_indices = 12;
optional uint32 client_version = 13; // connected client version
optional uint32 hard_fork = 14; // transaction hard fork number
optional bytes monero_version = 15; // monero software version
}
}