Skip to content

Feat: Enable 1-sat HTLCs for virtual channels#18

Merged
gofman8 merged 2 commits into
UTEXO-Protocol:devfrom
txalkan:feat/virtual-channel-one-sat-htlc
Jun 19, 2026
Merged

Feat: Enable 1-sat HTLCs for virtual channels#18
gofman8 merged 2 commits into
UTEXO-Protocol:devfrom
txalkan:feat/virtual-channel-one-sat-htlc

Conversation

@txalkan

@txalkan txalkan commented Jun 18, 2026

Copy link
Copy Markdown
Member
  • Update virtual-channel dust limits: thread an is_virtual flag through channel creation, add VIRTUAL_DUST_LIMIT_SATOSHIS = 1, and set the holder-side dust limit to 1 sat for virtual channels before sending OpenChannel.

  • Gate virtual dust requirements: introduce a dedicated 1-sat dust path for virtual channels instead of the standard 354-sat minimum, enforce a 1000 msat HTLC minimum for virtual channels, and reject invalid cases such as:

    • using virtual funding for inbound v2 channels
    • completing a pre-opened channel with virtual dust limits without ChannelFundingType::Virtual

@txalkan txalkan self-assigned this Jun 18, 2026
@txalkan txalkan moved this from Todo to Review in alpha-protocol Jun 18, 2026
@txalkan txalkan force-pushed the feat/virtual-channel-one-sat-htlc branch from 2ede5e5 to c5b8263 Compare June 18, 2026 19:15
@gofman8 gofman8 merged commit d1f9bf1 into UTEXO-Protocol:dev Jun 19, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from Review to Done in alpha-protocol Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants