mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 03:18:09 +00:00
Added ButtonRequestType enum
This commit is contained in:
parent
682a20e07b
commit
e973056669
@ -129,8 +129,8 @@ message Failure {
|
|||||||
// Computer should respond with ButtonAck message or Cancel to cancel
|
// Computer should respond with ButtonAck message or Cancel to cancel
|
||||||
// the original request.
|
// the original request.
|
||||||
message ButtonRequest {
|
message ButtonRequest {
|
||||||
optional string code = 1;
|
optional ButtonRequestType code = 1;
|
||||||
optional string data = 2;
|
optional bytes data = 2 [(binary) = true];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Computer agrees to wait for HW button press.
|
// Computer agrees to wait for HW button press.
|
||||||
|
@ -48,6 +48,10 @@ enum RequestType {
|
|||||||
TXOUTPUT = 1;
|
TXOUTPUT = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum ButtonRequestType {
|
||||||
|
ButtonRequest_FeeOverThreshold = 1;
|
||||||
|
}
|
||||||
|
|
||||||
// Structure of BIP32 (hierarchical deterministic) node
|
// Structure of BIP32 (hierarchical deterministic) node
|
||||||
// Used for imports of private key into the device and exporting public key out of device
|
// Used for imports of private key into the device and exporting public key out of device
|
||||||
message HDNodeType {
|
message HDNodeType {
|
||||||
|
Loading…
Reference in New Issue
Block a user