public static interface Protos.ClientVersionOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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; |
long |
getTimeWindowSecs()
optional uint64 time_window_secs = 4 [default = 86340]; |
boolean |
hasMajor()
required int32 major = 1; |
boolean |
hasMinor()
optional int32 minor = 2 [default = 0]; |
boolean |
hasPreviousChannelContractHash()
optional bytes previous_channel_contract_hash = 3; |
boolean |
hasTimeWindowSecs()
optional uint64 time_window_secs = 4 [default = 86340]; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasMajor()
required int32 major = 1;
int getMajor()
required int32 major = 1;
boolean hasMinor()
optional int32 minor = 2 [default = 0];
int getMinor()
optional int32 minor = 2 [default = 0];
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
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
boolean hasTimeWindowSecs()
optional uint64 time_window_secs = 4 [default = 86340];
How many seconds should the channel be open, only used when a new channel is created. Defaults to 24 h minus 60 seconds, 24*60*60 - 60
long getTimeWindowSecs()
optional uint64 time_window_secs = 4 [default = 86340];
How many seconds should the channel be open, only used when a new channel is created. Defaults to 24 h minus 60 seconds, 24*60*60 - 60
Copyright © 2016. All rights reserved.