Skip to content

Liquidity Ads#2550

Closed
t-bast wants to merge 1 commit intomasterfrom
liquidity-ads
Closed

Liquidity Ads#2550
t-bast wants to merge 1 commit intomasterfrom
liquidity-ads

Conversation

@t-bast
Copy link
Member

@t-bast t-bast commented Jan 4, 2023

The initiator of open_channel2, tx_init_rbf and splice_init can request funding from the remote node. The non-initiator node will:

  • let the open-channel-interceptor plugin decide whether to lease liquidity for new channels or not, and how much
  • always honor liquidity requests on existing channels (RBF and splice)

We currently don't modify commitment transactions to enforce the lease. This is different from lightning/bolts#878 and instead matches lightning/bolts#1145.

We currently use the temporary tlv tag 1337 while we're waiting for feedback on our spec proposal.

Liquidity ads are included in the node_announcement message, which lets buyers compare sellers and connect to sellers that provide rates they are comfortable with.

We store every liquidity purchase (whether we're buyer or seller) in the audit DB. This is important information when choosing which peers are worth keeping channels with.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants