|
|
|
@ -47,6 +47,7 @@ enum FailureType {
|
|
|
|
|
enum OutputScriptType {
|
|
|
|
|
PAYTOADDRESS = 0;
|
|
|
|
|
PAYTOSCRIPTHASH = 1;
|
|
|
|
|
PAYTOMULTISIG = 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -164,7 +165,7 @@ message TxOutputType {
|
|
|
|
|
repeated uint32 address_n = 2; // BIP-32 path to derive the key from master node; has higher priority than "address"
|
|
|
|
|
required uint64 amount = 3; // amount to spend in satoshis
|
|
|
|
|
required OutputScriptType script_type = 4; // output script type
|
|
|
|
|
repeated MultisigRedeemScriptType multisig = 5; // Defines multisig address; when filled, it has priority over address/address_n
|
|
|
|
|
repeated MultisigRedeemScriptType multisig = 5; // Defines multisig address; script_type must be PAYTOMULTISIG
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|