public static interface LightningApi.PendingHTLCOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getAmount()
The total value of the htlc
|
int |
getBlocksTilMaturity()
The number of blocks remaining until the current stage can be swept.
|
boolean |
getIncoming()
The direction within the channel that the htlc was sent
|
int |
getMaturityHeight()
The next block height at which we can spend the current stage
|
java.lang.String |
getOutpoint()
The final output to be swept back to the user's wallet
|
com.google.protobuf.ByteString |
getOutpointBytes()
The final output to be swept back to the user's wallet
|
int |
getStage()
Indicates whether the htlc is in its first or second stage of recovery
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean getIncoming()
The direction within the channel that the htlc was sent
bool incoming = 1;
long getAmount()
The total value of the htlc
int64 amount = 2;
java.lang.String getOutpoint()
The final output to be swept back to the user's wallet
string outpoint = 3;
com.google.protobuf.ByteString getOutpointBytes()
The final output to be swept back to the user's wallet
string outpoint = 3;
int getMaturityHeight()
The next block height at which we can spend the current stage
uint32 maturity_height = 4;
int getBlocksTilMaturity()
The number of blocks remaining until the current stage can be swept. Negative values indicate how many blocks have passed since becoming mature.
int32 blocks_til_maturity = 5;
int getStage()
Indicates whether the htlc is in its first or second stage of recovery
uint32 stage = 6;