public static interface LightningApi.ChannelUpdateOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getBaseFee()
The base fee that must be used for incoming HTLC's to this particular
channel.
|
com.google.protobuf.ByteString |
getChainHash()
The target chain that this channel was opened within.
|
long |
getChanId()
The unique description of the funding transaction.
|
int |
getChannelFlags()
The bitfield that describes additional meta-data concerning how the
update is to be interpreted.
|
com.google.protobuf.ByteString |
getExtraOpaqueData()
The set of data that was appended to this message, some of which we may
not actually know how to iterate or parse.
|
int |
getFeeRate()
The fee rate that will be charged per millionth of a satoshi.
|
long |
getHtlcMaximumMsat()
The maximum HTLC value which will be accepted.
|
long |
getHtlcMinimumMsat()
The minimum HTLC value which will be accepted.
|
int |
getMessageFlags()
The bitfield that describes whether optional fields are present in this
update.
|
com.google.protobuf.ByteString |
getSignature()
The signature that validates the announced data and proves the ownership
of node id.
|
int |
getTimeLockDelta()
The minimum number of blocks this node requires to be added to the expiry
of HTLCs.
|
int |
getTimestamp()
A timestamp that allows ordering in the case of multiple announcements.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
com.google.protobuf.ByteString getSignature()
The signature that validates the announced data and proves the ownership of node id.
bytes signature = 1;
com.google.protobuf.ByteString getChainHash()
The target chain that this channel was opened within. This value should be the genesis hash of the target chain. Along with the short channel ID, this uniquely identifies the channel globally in a blockchain.
bytes chain_hash = 2;
long getChanId()
The unique description of the funding transaction.
uint64 chan_id = 3 [jstype = JS_STRING];
int getTimestamp()
A timestamp that allows ordering in the case of multiple announcements. We should ignore the message if timestamp is not greater than the last-received.
uint32 timestamp = 4;
int getMessageFlags()
The bitfield that describes whether optional fields are present in this update. Currently, the least-significant bit must be set to 1 if the optional field MaxHtlc is present.
uint32 message_flags = 10;
int getChannelFlags()
The bitfield that describes additional meta-data concerning how the update is to be interpreted. Currently, the least-significant bit must be set to 0 if the creating node corresponds to the first node in the previously sent channel announcement and 1 otherwise. If the second bit is set, then the channel is set to be disabled.
uint32 channel_flags = 5;
int getTimeLockDelta()
The minimum number of blocks this node requires to be added to the expiry of HTLCs. This is a security parameter determined by the node operator. This value represents the required gap between the time locks of the incoming and outgoing HTLC's set to this node.
uint32 time_lock_delta = 6;
long getHtlcMinimumMsat()
The minimum HTLC value which will be accepted.
uint64 htlc_minimum_msat = 7;
int getBaseFee()
The base fee that must be used for incoming HTLC's to this particular channel. This value will be tacked onto the required for a payment independent of the size of the payment.
uint32 base_fee = 8;
int getFeeRate()
The fee rate that will be charged per millionth of a satoshi.
uint32 fee_rate = 9;
long getHtlcMaximumMsat()
The maximum HTLC value which will be accepted.
uint64 htlc_maximum_msat = 11;
com.google.protobuf.ByteString getExtraOpaqueData()
The set of data that was appended to this message, some of which we may not actually know how to iterate or parse. By holding onto this data, we ensure that we're able to properly validate the set of signatures that cover these new fields, and ensure we're able to make upgrades to the network in a forwards compatible manner.
bytes extra_opaque_data = 12;