Skip to content

Instantly share code, notes, and snippets.

@remyers
Last active January 16, 2023 13:15
Show Gist options
  • Save remyers/df02cb7eb938b29dc8715b7fa3098bac to your computer and use it in GitHub Desktop.
Save remyers/df02cb7eb938b29dc8715b7fa3098bac to your computer and use it in GitHub Desktop.
channel interceptor comparison
CLN (openchannel, openchannel2) LND (ChannelAcceptResponse) Eclair Description Example plugin use cases Include? Reason
result accept AcceptOpenChannel, RejectOpenChannel accept or continue the channel open whitelist Yes basic usage
psbt, our_funding_msat fundingAmount, psbt? to add inputs/outputs to this channel (v2 only) coinjoin, swaps Yes future use cases
pending_chan_id No should not change
error_message error error error to send to peer if channel open rejected whitelist Yes
close_to upfront_shutdown walletStaticPaymentBasepoint address to use for upfront shutdown No might be phased out
mindepth csv_delay minDepthBlocks minimum confirmations before channel is usable whitelist Yes override defaults
reserve reserve_sat requestedChannelReserve_opt minimum amount peer must keep on their side whitelist Yes override defaults
in_flight_max_msat maxHtlcValueInFlightMsat maximum amount of funds a remote peer can have in outstanding htlcs anti-jamming Yes override defaults
max_htlc_count maxAcceptedHtlcs maximum number of htlcs a remote peer can offer have anti-jamming Yes override defaults
min_htlc_in htlcMinimum minimum value for incoming htlcs on the channel anti-jamming Yes override defaults
zero_conf No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment