org.bitcoin.paymentchannel
Interface Protos.ProvideContractOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Protos.ProvideContract, Protos.ProvideContract.Builder
Enclosing class:
Protos

public static interface Protos.ProvideContractOrBuilder
extends com.google.protobuf.MessageOrBuilder


Method Summary
 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 hasInitialPayment()
          required .paymentchannels.UpdatePayment initial_payment = 2;
 boolean hasTx()
          required bytes tx = 1;
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasTx

boolean hasTx()
required bytes tx = 1;
 The serialized bytes of the transaction in Satoshi format.
 * 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")
 


getTx

com.google.protobuf.ByteString getTx()
required bytes tx = 1;
 The serialized bytes of the transaction in Satoshi format.
 * 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")
 


hasInitialPayment

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.
 


getInitialPayment

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.
 


getInitialPaymentOrBuilder

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.
 



Copyright © 2014. All rights reserved.