public static interface Protos.ProvideContractOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getClientKey()
optional bytes client_key = 3; |
Protos.UpdatePayment |
getInitialPayment()
required .paymentchannels.UpdatePayment initial_payment = 2; |
Protos.UpdatePaymentOrBuilder |
getInitialPaymentOrBuilder()
required .paymentchannels.UpdatePayment initial_payment = 2; |
com.google.protobuf.ByteString |
getTx()
required bytes tx = 1; |
boolean |
hasClientKey()
optional bytes client_key = 3; |
boolean |
hasInitialPayment()
required .paymentchannels.UpdatePayment initial_payment = 2; |
boolean |
hasTx()
required bytes tx = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasTx()
required bytes tx = 1;
The serialized bytes of the transaction in Satoshi format. For version 1: * It must be signed and completely valid and ready for broadcast (ie it includes the necessary fees) TODO: tell the client how much fee it needs * Its first output must be a 2-of-2 multisig output with the first pubkey being the primary's and the second being the secondary's (ie the script must be exactly "OP_2 ProvideRefund.multisig_key Initiate.multisig_key OP_2 OP_CHECKMULTISIG") For version 2: * It must be signed and completely valid and ready for broadcast (ie it includes the necessary fees) TODO: tell the client how much fee it needs * Its first output must be a CHECKLOCKTIMEVERIFY output with the first pubkey being the primary's and the second being the secondary's.
com.google.protobuf.ByteString getTx()
required bytes tx = 1;
The serialized bytes of the transaction in Satoshi format. For version 1: * It must be signed and completely valid and ready for broadcast (ie it includes the necessary fees) TODO: tell the client how much fee it needs * Its first output must be a 2-of-2 multisig output with the first pubkey being the primary's and the second being the secondary's (ie the script must be exactly "OP_2 ProvideRefund.multisig_key Initiate.multisig_key OP_2 OP_CHECKMULTISIG") For version 2: * It must be signed and completely valid and ready for broadcast (ie it includes the necessary fees) TODO: tell the client how much fee it needs * Its first output must be a CHECKLOCKTIMEVERIFY output with the first pubkey being the primary's and the second being the secondary's.
boolean hasInitialPayment()
required .paymentchannels.UpdatePayment initial_payment = 2;
To open the channel, an initial payment of the server-specified dust limit value must be provided. This ensures that the channel is never in an un-settleable state due to either no payment tx having been provided at all, or a payment that is smaller than the dust limit being provided.
Protos.UpdatePayment getInitialPayment()
required .paymentchannels.UpdatePayment initial_payment = 2;
To open the channel, an initial payment of the server-specified dust limit value must be provided. This ensures that the channel is never in an un-settleable state due to either no payment tx having been provided at all, or a payment that is smaller than the dust limit being provided.
Protos.UpdatePaymentOrBuilder getInitialPaymentOrBuilder()
required .paymentchannels.UpdatePayment initial_payment = 2;
To open the channel, an initial payment of the server-specified dust limit value must be provided. This ensures that the channel is never in an un-settleable state due to either no payment tx having been provided at all, or a payment that is smaller than the dust limit being provided.
boolean hasClientKey()
optional bytes client_key = 3;
This field is added in protocol version 2 to send the client public key to the server. In version 1 it isn't used. This must be a raw pubkey in regular ECDSA form. Both compressed and non-compressed forms are accepted. It is only used in the creation of the multisig contract.
com.google.protobuf.ByteString getClientKey()
optional bytes client_key = 3;
This field is added in protocol version 2 to send the client public key to the server. In version 1 it isn't used. This must be a raw pubkey in regular ECDSA form. Both compressed and non-compressed forms are accepted. It is only used in the creation of the multisig contract.
Copyright © 2016. All rights reserved.