1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-25 17:09:44 +00:00

protobuf specs changes

This commit is contained in:
slush 2012-11-13 16:06:40 +00:00
parent d4d2e0449c
commit b2b3abc7ed
2 changed files with 9 additions and 1 deletions

View File

@ -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];

View File

@ -26,6 +26,7 @@ map_type_to_class = {
22: proto.SignedInput,
23: proto.TxInput,
24: proto.TxOutput,
25: proto.SetMaxFeeKb,
}
map_class_to_type = {}