org.bitcoin.paymentchannel
Interface Protos.ClientVersionOrBuilder

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

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


Method Summary
 int getMajor()
          required int32 major = 1;
 int getMinor()
          optional int32 minor = 2 [default = 0];
 com.google.protobuf.ByteString getPreviousChannelContractHash()
          optional bytes previous_channel_contract_hash = 3;
 boolean hasMajor()
          required int32 major = 1;
 boolean hasMinor()
          optional int32 minor = 2 [default = 0];
 boolean hasPreviousChannelContractHash()
          optional bytes previous_channel_contract_hash = 3;
 
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

hasMajor

boolean hasMajor()
required int32 major = 1;


getMajor

int getMajor()
required int32 major = 1;


hasMinor

boolean hasMinor()
optional int32 minor = 2 [default = 0];


getMinor

int getMinor()
optional int32 minor = 2 [default = 0];


hasPreviousChannelContractHash

boolean hasPreviousChannelContractHash()
optional bytes previous_channel_contract_hash = 3;
 The hash of the multisig contract of a previous channel. This indicates that the primary
 wishes to reopen the given channel. If the server is willing to reopen it, it simply
 responds with a SERVER_VERSION and then immediately sends a CHANNEL_OPEN, it otherwise
 follows SERVER_VERSION with an Initiate representing a new channel
 


getPreviousChannelContractHash

com.google.protobuf.ByteString getPreviousChannelContractHash()
optional bytes previous_channel_contract_hash = 3;
 The hash of the multisig contract of a previous channel. This indicates that the primary
 wishes to reopen the given channel. If the server is willing to reopen it, it simply
 responds with a SERVER_VERSION and then immediately sends a CHANNEL_OPEN, it otherwise
 follows SERVER_VERSION with an Initiate representing a new channel
 



Copyright © 2014. All rights reserved.