Method Detail

hasMajor

getMajor

hasMinor

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

hasTimeWindowSecs

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

getTimeWindowSecs

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