com.google.bitcoin.protocols.channels
Interface ClientState.StoredClientPaymentChannelOrBuilder

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

public static interface ClientState.StoredClientPaymentChannelOrBuilder
extends com.google.protobuf.MessageOrBuilder


Method Summary
 com.google.protobuf.ByteString getCloseTransactionHash()
          optional bytes closeTransactionHash = 7;
 com.google.protobuf.ByteString getContractTransaction()
          required bytes contractTransaction = 2;
 com.google.protobuf.ByteString getId()
          required bytes id = 1;
 com.google.protobuf.ByteString getMyKey()
          required bytes myKey = 4;
 long getRefundFees()
          required uint64 refundFees = 6;
 com.google.protobuf.ByteString getRefundTransaction()
          required bytes refundTransaction = 3;
 long getValueToMe()
          required uint64 valueToMe = 5;
 boolean hasCloseTransactionHash()
          optional bytes closeTransactionHash = 7;
 boolean hasContractTransaction()
          required bytes contractTransaction = 2;
 boolean hasId()
          required bytes id = 1;
 boolean hasMyKey()
          required bytes myKey = 4;
 boolean hasRefundFees()
          required uint64 refundFees = 6;
 boolean hasRefundTransaction()
          required bytes refundTransaction = 3;
 boolean hasValueToMe()
          required uint64 valueToMe = 5;
 
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

hasId

boolean hasId()
required bytes id = 1;


getId

com.google.protobuf.ByteString getId()
required bytes id = 1;


hasContractTransaction

boolean hasContractTransaction()
required bytes contractTransaction = 2;


getContractTransaction

com.google.protobuf.ByteString getContractTransaction()
required bytes contractTransaction = 2;


hasRefundTransaction

boolean hasRefundTransaction()
required bytes refundTransaction = 3;


getRefundTransaction

com.google.protobuf.ByteString getRefundTransaction()
required bytes refundTransaction = 3;


hasMyKey

boolean hasMyKey()
required bytes myKey = 4;


getMyKey

com.google.protobuf.ByteString getMyKey()
required bytes myKey = 4;


hasValueToMe

boolean hasValueToMe()
required uint64 valueToMe = 5;


getValueToMe

long getValueToMe()
required uint64 valueToMe = 5;


hasRefundFees

boolean hasRefundFees()
required uint64 refundFees = 6;


getRefundFees

long getRefundFees()
required uint64 refundFees = 6;


hasCloseTransactionHash

boolean hasCloseTransactionHash()
optional bytes closeTransactionHash = 7;
 When set, the hash of the transaction that was presented by the server for closure of the channel.
 It spends the contractTransaction and is expected to be broadcast to the network by the server.
 It's supposed to be in the wallet already.
 


getCloseTransactionHash

com.google.protobuf.ByteString getCloseTransactionHash()
optional bytes closeTransactionHash = 7;
 When set, the hash of the transaction that was presented by the server for closure of the channel.
 It spends the contractTransaction and is expected to be broadcast to the network by the server.
 It's supposed to be in the wallet already.
 



Copyright © 2014. All rights reserved.