1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-17 03:48:09 +00:00

protob: add simplified fields for MultisigRedeemScriptType

This commit is contained in:
Pavol Rusnak 2019-02-03 23:20:20 +01:00
parent 6bda1e351f
commit 44085a9d1a
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -26,6 +26,8 @@ message MultisigRedeemScriptType {
repeated HDNodePathType pubkeys = 1; // pubkeys from multisig address (sorted lexicographically) repeated HDNodePathType pubkeys = 1; // pubkeys from multisig address (sorted lexicographically)
repeated bytes signatures = 2; // existing signatures for partially signed input 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 optional uint32 m = 3; // "m" from n, how many valid signatures is necessary for spending
repeated hw.trezor.messages.common.HDNodeType nodes = 4; // simplified way how to specify pubkeys if they share the same address_n path
repeated uint32 common_address_n = 5; // use only field 1 or fields 4+5, if fields 4+5 are used, field 1 is ignored
/** /**
* Structure representing HDNode + Path * Structure representing HDNode + Path
*/ */