lightning-askrene-inform-channel

lightning-askrene-inform-channel -- Command to add channel capacity restrictions to layer (EXPERIMENTAL)

SYNOPSIS

askrene-inform-channel layer short_channel_id direction [minimum_msat] [maximum_msat]

DESCRIPTION

WARNING: experimental, so API may change.

The askrene-inform-channel RPC command tells askrene about the minimum or maximum current capacity of a given channel. It can be applied whether the curren channel exists or not. If the layer does not exist, it will be created.

  • layer (string): The name of the layer to apply this change to.
  • short_channel_id (short_channel_id): The short channel id to apply this change to.
  • direction (u32): The direction to apply this change to.
  • minimum_msat (msat, optional): The minumum value which this channel could pass. This or minimum_msat must be specified, but not both.
  • maximum_msat (msat, optional): The maximum value which this channel could pass. This or minimum_msat must be specified, but not both.

RETURN VALUE

On success, an object containing constraint is returned. It is an object containing:

  • short_channel_id (short_channel_id): The short_channel_id specified.
  • direction (u32): The direction specified.
  • timestamp (u64): The UNIX time (seconds since 1970) this was created.
  • maximum_msat (msat, optional): The minimum_msat (if specified)
  • minimum_msat (msat, optional): The maximum_msat (if specified)

AUTHOR

Rusty Russell <[email protected]> is mainly responsible.

SEE ALSO

lightning-getroutes(7), lightning-askrene-disable-node(7), lightning-askrene-create-channel(7), lightning-askrene-listlayers(7), lightning-askrene-age(7)

RESOURCES

Main web site: https://github.com/ElementsProject/lightning