public static interface LightningApi.FailureOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
LightningApi.ChannelUpdate |
getChannelUpdate()
An optional channel update message.
|
LightningApi.ChannelUpdateOrBuilder |
getChannelUpdateOrBuilder()
An optional channel update message.
|
int |
getCltvExpiry()
A failure type-dependent cltv expiry value.
|
LightningApi.Failure.FailureCode |
getCode()
Failure code as defined in the Lightning spec
|
int |
getCodeValue()
Failure code as defined in the Lightning spec
|
int |
getFailureSourceIndex()
The position in the path of the intermediate or final node that generated
the failure message.
|
int |
getFlags()
A failure type-dependent flags value.
|
int |
getHeight()
A failure type-dependent block height.
|
long |
getHtlcMsat()
A failure type-dependent htlc value.
|
com.google.protobuf.ByteString |
getOnionSha256()
The sha256 sum of the onion payload.
|
boolean |
hasChannelUpdate()
An optional channel update message.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getCodeValue()
Failure code as defined in the Lightning spec
.lnrpc.Failure.FailureCode code = 1;
LightningApi.Failure.FailureCode getCode()
Failure code as defined in the Lightning spec
.lnrpc.Failure.FailureCode code = 1;
boolean hasChannelUpdate()
An optional channel update message.
.lnrpc.ChannelUpdate channel_update = 3;
LightningApi.ChannelUpdate getChannelUpdate()
An optional channel update message.
.lnrpc.ChannelUpdate channel_update = 3;
LightningApi.ChannelUpdateOrBuilder getChannelUpdateOrBuilder()
An optional channel update message.
.lnrpc.ChannelUpdate channel_update = 3;
long getHtlcMsat()
A failure type-dependent htlc value.
uint64 htlc_msat = 4;
com.google.protobuf.ByteString getOnionSha256()
The sha256 sum of the onion payload.
bytes onion_sha_256 = 5;
int getCltvExpiry()
A failure type-dependent cltv expiry value.
uint32 cltv_expiry = 6;
int getFlags()
A failure type-dependent flags value.
uint32 flags = 7;
int getFailureSourceIndex()
The position in the path of the intermediate or final node that generated the failure message. Position zero is the sender node.
uint32 failure_source_index = 8;
int getHeight()
A failure type-dependent block height.
uint32 height = 9;