spesmilo / spesmilo/electrum

Configurable self.htlc_minimum_msat

Open
#7,871 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

Some nodes set a higher default htlc_minimum_msat and https://github.com/spesmilo/electrum/blob/1f7ada3486cd39da6de9308c5f048fce1aeea8fd/electrum/lnutil.py#L113 rejects any attempt to open a channel with these nodes.

Would it be possible to make this configurable or increase the limit?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with electrum/lnutil.py at line 113, where self.htlc_minimum_msat rejects channel attempts. Read the surrounding Lightning channel validation and configuration paths to determine whether the limit should be configurable or increased. Done means compatible channels with nodes advertising higher htlc_minimum_msat are accepted, with coverage for the chosen behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.