public static interface LightningApi.AMPOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getChildIndex()
A nonce used to randomize the child preimage and child hash from a given
root_share.
|
com.google.protobuf.ByteString |
getHash()
The payment hash of the AMP HTLC.
|
com.google.protobuf.ByteString |
getPreimage()
The preimage used to settle this AMP htlc.
|
com.google.protobuf.ByteString |
getRootShare()
An n-of-n secret share of the root seed from which child payment hashes
and preimages are derived.
|
com.google.protobuf.ByteString |
getSetId()
An identifier for the HTLC set that this HTLC belongs to.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
com.google.protobuf.ByteString getRootShare()
An n-of-n secret share of the root seed from which child payment hashes and preimages are derived.
bytes root_share = 1;
com.google.protobuf.ByteString getSetId()
An identifier for the HTLC set that this HTLC belongs to.
bytes set_id = 2;
int getChildIndex()
A nonce used to randomize the child preimage and child hash from a given root_share.
uint32 child_index = 3;
com.google.protobuf.ByteString getHash()
The payment hash of the AMP HTLC.
bytes hash = 4;
com.google.protobuf.ByteString getPreimage()
The preimage used to settle this AMP htlc. This field will only be populated if the invoice is in InvoiceState_ACCEPTED or InvoiceState_SETTLED.
bytes preimage = 5;