mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-23 13:02:03 +00:00
Added HDPubkeyType and use_passphrase
This commit is contained in:
parent
26b5f5ed41
commit
40b3cb4148
@ -118,6 +118,7 @@ message ClearSession {
|
||||
message ApplySettings {
|
||||
optional string language = 1;
|
||||
optional string label = 2;
|
||||
optional bool use_passphrase = 3;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -113,6 +113,11 @@ message HDNodeType {
|
||||
optional bytes public_key = 6;
|
||||
}
|
||||
|
||||
message HDPubkeyType {
|
||||
required HDNodeType node = 1; // BIP-32 node in deserialized form
|
||||
repeated uint32 address_n = 2; // BIP-32 path to derive the key from node
|
||||
}
|
||||
|
||||
/**
|
||||
* Structure representing Coin
|
||||
* @used_in Features
|
||||
@ -129,7 +134,7 @@ message CoinType {
|
||||
* @used_in TxInputType
|
||||
*/
|
||||
message MultisigRedeemScriptType {
|
||||
repeated bytes pubkeys = 1; // pubkeys from multisig address (sorted lexicographically)
|
||||
repeated HDPubkeyType pubkeys = 1; // pubkeys from multisig address (sorted lexicographically)
|
||||
repeated bytes signatures = 2; // existing signatures for partially signed input
|
||||
optional uint32 m = 3; // "m" from n, how many valid signatures is necessary for spending
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user