org.bitcoin.paymentchannel
Interface Protos.ProvideRefundOrBuilder

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

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


Method Summary
 com.google.protobuf.ByteString getMultisigKey()
          required bytes multisig_key = 1;
 com.google.protobuf.ByteString getTx()
          required bytes tx = 2;
 boolean hasMultisigKey()
          required bytes multisig_key = 1;
 boolean hasTx()
          required bytes tx = 2;
 
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

hasMultisigKey

boolean hasMultisigKey()
required bytes multisig_key = 1;
 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.
 


getMultisigKey

com.google.protobuf.ByteString getMultisigKey()
required bytes multisig_key = 1;
 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.
 


hasTx

boolean hasTx()
required bytes tx = 2;
 The serialized bytes of the return transaction in Satoshi format.
 * It must have exactly one input which spends the multisig output (see ProvideContract for
   details of exactly what that output must look like). This output must have a sequence
   number of 0.
 * It must have the lock time set to a time after the min_time_window_secs (from the
   Initiate message).
 * It must have exactly one output which goes back to the primary.  This output's
   scriptPubKey will be reused to create payment transactions.
 


getTx

com.google.protobuf.ByteString getTx()
required bytes tx = 2;
 The serialized bytes of the return transaction in Satoshi format.
 * It must have exactly one input which spends the multisig output (see ProvideContract for
   details of exactly what that output must look like). This output must have a sequence
   number of 0.
 * It must have the lock time set to a time after the min_time_window_secs (from the
   Initiate message).
 * It must have exactly one output which goes back to the primary.  This output's
   scriptPubKey will be reused to create payment transactions.
 



Copyright © 2014. All rights reserved.