Result_NoneLightningErrorZ |
NetworkGraph.add_channel_from_partial_announcement(long short_channel_id,
long timestamp,
ChannelFeatures features,
byte[] node_id_1,
byte[] node_id_2) |
Update channel from partial announcement data received via rapid gossip sync
`timestamp: u64`: Timestamp emulating the backdated original announcement receipt (by the
rapid gossip sync server)
All other parameters as used in [`msgs::UnsignedChannelAnnouncement`] fields.
|
boolean |
ChannelFeatures.eq(ChannelFeatures b) |
Checks if two ChannelFeaturess contain equal inner contents.
|
static RouteHop |
RouteHop.of(byte[] pubkey_arg,
NodeFeatures node_features_arg,
long short_channel_id_arg,
ChannelFeatures channel_features_arg,
long fee_msat_arg,
int cltv_expiry_delta_arg) |
Constructs a new RouteHop given each field
|
static Result_ChannelFeaturesDecodeErrorZ |
Result_ChannelFeaturesDecodeErrorZ.ok(ChannelFeatures o) |
Creates a new CResult_ChannelFeaturesDecodeErrorZ in the success state.
|
void |
RouteHop.set_channel_features(ChannelFeatures val) |
The channel_announcement features of the channel that should be used from the previous hop
to reach this node.
|
void |
ChannelInfo.set_features(ChannelFeatures val) |
Protocol features of a channel communicated during its announcement
|
void |
UnsignedChannelAnnouncement.set_features(ChannelFeatures val) |
The advertised channel features
|