mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-29 10:58:21 +00:00
protobuf specs changes
This commit is contained in:
parent
d4d2e0449c
commit
b2b3abc7ed
@ -17,12 +17,14 @@ message Features {
|
||||
optional bool otp = 2;
|
||||
optional bool pin = 3;
|
||||
optional bool spv = 4;
|
||||
repeated Algorithm algo = 5;
|
||||
optional uint64 maxfee_kb = 5;
|
||||
repeated Algorithm algo = 6;
|
||||
}
|
||||
|
||||
// Description: Test if another side is still alive.
|
||||
// Response: None or Success
|
||||
message Ping {
|
||||
optional string message = 1;
|
||||
}
|
||||
|
||||
// Description: Response message for previous request with given id.
|
||||
@ -75,6 +77,11 @@ message Entropy {
|
||||
required bytes entropy = 1;
|
||||
}
|
||||
|
||||
// Response: Success, OtpRequest, PinRequest, Failure
|
||||
message SetMaxFeeKb {
|
||||
required uint64 maxfee_kb= 1;
|
||||
}
|
||||
|
||||
// Response: MasterPublicKey, Failure
|
||||
message GetMasterPublicKey {
|
||||
required Algorithm algo = 1 [default=BIP32];
|
||||
|
@ -26,6 +26,7 @@ map_type_to_class = {
|
||||
22: proto.SignedInput,
|
||||
23: proto.TxInput,
|
||||
24: proto.TxOutput,
|
||||
25: proto.SetMaxFeeKb,
|
||||
}
|
||||
|
||||
map_class_to_type = {}
|
||||
|
Loading…
Reference in New Issue
Block a user