public static interface ClientState.StoredClientPaymentChannelOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getCloseTransactionHash()
When set, the hash of the transaction that was presented by the server for closure of the channel.
|
com.google.protobuf.ByteString |
getContractTransaction()
required bytes contractTransaction = 2; |
long |
getExpiryTime()
The expiry time of the CLTV lock.
|
com.google.protobuf.ByteString |
getId()
required bytes id = 1; |
int |
getMajorVersion()
optional uint32 majorVersion = 9 [default = 1]; |
com.google.protobuf.ByteString |
getMyKey()
Deprecated, key is already stored in the wallet, and found using myPublicKey;
|
com.google.protobuf.ByteString |
getMyPublicKey()
required bytes myPublicKey = 8; |
long |
getRefundFees()
Fees required to refund the transaction.
|
com.google.protobuf.ByteString |
getRefundTransaction()
required bytes refundTransaction = 3; |
com.google.protobuf.ByteString |
getServerKey()
The server's public key.
|
long |
getValueToMe()
required uint64 valueToMe = 5; |
boolean |
hasCloseTransactionHash()
When set, the hash of the transaction that was presented by the server for closure of the channel.
|
boolean |
hasContractTransaction()
required bytes contractTransaction = 2; |
boolean |
hasExpiryTime()
The expiry time of the CLTV lock.
|
boolean |
hasId()
required bytes id = 1; |
boolean |
hasMajorVersion()
optional uint32 majorVersion = 9 [default = 1]; |
boolean |
hasMyKey()
Deprecated, key is already stored in the wallet, and found using myPublicKey;
|
boolean |
hasMyPublicKey()
required bytes myPublicKey = 8; |
boolean |
hasRefundFees()
Fees required to refund the transaction.
|
boolean |
hasRefundTransaction()
required bytes refundTransaction = 3; |
boolean |
hasServerKey()
The server's public key.
|
boolean |
hasValueToMe()
required uint64 valueToMe = 5; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasId()
required bytes id = 1;
com.google.protobuf.ByteString getId()
required bytes id = 1;
boolean hasContractTransaction()
required bytes contractTransaction = 2;
com.google.protobuf.ByteString getContractTransaction()
required bytes contractTransaction = 2;
boolean hasRefundTransaction()
required bytes refundTransaction = 3;
com.google.protobuf.ByteString getRefundTransaction()
required bytes refundTransaction = 3;
boolean hasMyPublicKey()
required bytes myPublicKey = 8;
com.google.protobuf.ByteString getMyPublicKey()
required bytes myPublicKey = 8;
boolean hasMyKey()
Deprecated, key is already stored in the wallet, and found using myPublicKey;
required bytes myKey = 4;
com.google.protobuf.ByteString getMyKey()
Deprecated, key is already stored in the wallet, and found using myPublicKey;
required bytes myKey = 4;
boolean hasValueToMe()
required uint64 valueToMe = 5;
long getValueToMe()
required uint64 valueToMe = 5;
boolean hasRefundFees()
Fees required to refund the transaction.
required uint64 refundFees = 6;
long getRefundFees()
Fees required to refund the transaction.
required uint64 refundFees = 6;
boolean hasCloseTransactionHash()
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.
optional bytes closeTransactionHash = 7;
com.google.protobuf.ByteString getCloseTransactionHash()
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.
optional bytes closeTransactionHash = 7;
boolean hasMajorVersion()
optional uint32 majorVersion = 9 [default = 1];
int getMajorVersion()
optional uint32 majorVersion = 9 [default = 1];
boolean hasExpiryTime()
The expiry time of the CLTV lock. Only used in protocol v2.
optional uint64 expiryTime = 10;
long getExpiryTime()
The expiry time of the CLTV lock. Only used in protocol v2.
optional uint64 expiryTime = 10;
boolean hasServerKey()
The server's public key. Only used in protocol v2.
optional bytes serverKey = 11;
com.google.protobuf.ByteString getServerKey()
The server's public key. Only used in protocol v2.
optional bytes serverKey = 11;