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

Added ButtonRequestType enum

This commit is contained in:
slush0 2014-02-04 17:47:29 +01:00
parent 682a20e07b
commit e973056669
2 changed files with 6 additions and 2 deletions

View File

@ -129,8 +129,8 @@ message Failure {
// Computer should respond with ButtonAck message or Cancel to cancel
// the original request.
message ButtonRequest {
optional string code = 1;
optional string data = 2;
optional ButtonRequestType code = 1;
optional bytes data = 2 [(binary) = true];
}
// Computer agrees to wait for HW button press.

View File

@ -48,6 +48,10 @@ enum RequestType {
TXOUTPUT = 1;
}
enum ButtonRequestType {
ButtonRequest_FeeOverThreshold = 1;
}
// Structure of BIP32 (hierarchical deterministic) node
// Used for imports of private key into the device and exporting public key out of device
message HDNodeType {