public static interface Protos.ProvideContractOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description | 
|---|---|
com.google.protobuf.ByteString | 
getClientKey()
 This field is added in protocol version 2 to send the client public key to the server. 
 | 
Protos.UpdatePayment | 
getInitialPayment()
 To open the channel, an initial payment of the server-specified dust limit value must be
 provided. 
 | 
Protos.UpdatePaymentOrBuilder | 
getInitialPaymentOrBuilder()
 To open the channel, an initial payment of the server-specified dust limit value must be
 provided. 
 | 
com.google.protobuf.ByteString | 
getTx()
 The serialized bytes of the transaction in Satoshi format. 
 | 
boolean | 
hasClientKey()
 This field is added in protocol version 2 to send the client public key to the server. 
 | 
boolean | 
hasInitialPayment()
 To open the channel, an initial payment of the server-specified dust limit value must be
 provided. 
 | 
boolean | 
hasTx()
 The serialized bytes of the transaction in Satoshi format. 
 | 
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasTx()
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.
required bytes tx = 1;com.google.protobuf.ByteString getTx()
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.
required bytes tx = 1;boolean hasInitialPayment()
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.
required .paymentchannels.UpdatePayment initial_payment = 2;Protos.UpdatePayment getInitialPayment()
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.
required .paymentchannels.UpdatePayment initial_payment = 2;Protos.UpdatePaymentOrBuilder getInitialPaymentOrBuilder()
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.
required .paymentchannels.UpdatePayment initial_payment = 2;boolean hasClientKey()
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.
optional bytes client_key = 3;com.google.protobuf.ByteString getClientKey()
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.
optional bytes client_key = 3;