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()
The hash of the multisig contract of a previous channel.
|
long |
getTimeWindowSecs()
How many seconds should the channel be open, only used when a new channel is created.
|
boolean |
hasMajor()
required int32 major = 1; |
boolean |
hasMinor()
optional int32 minor = 2 [default = 0]; |
boolean |
hasPreviousChannelContractHash()
The hash of the multisig contract of a previous channel.
|
boolean |
hasTimeWindowSecs()
How many seconds should the channel be open, only used when a new channel is created.
|
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()
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
optional bytes previous_channel_contract_hash = 3;
com.google.protobuf.ByteString getPreviousChannelContractHash()
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
optional bytes previous_channel_contract_hash = 3;
boolean hasTimeWindowSecs()
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
optional uint64 time_window_secs = 4 [default = 86340];
long getTimeWindowSecs()
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
optional uint64 time_window_secs = 4 [default = 86340];