Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work around fundrawtransaction consolidation #2807

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

t-bast
Copy link
Member

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

We don't have any control over bitcoind's coin selection: it sometimes ends up creating transactions with a large number of inputs (and thus a high fee), which we want to avoid. We run multiple coin selection attempts in parallel and use the best result to mitigate that.

We should monitor how this behaves in practice and revert that change if it doesn't prove to be useful.

We should also push for more configuration options on the bitcoind side to get funding results that better match our transaction patterns.

@t-bast t-bast requested a review from pm47 January 4, 2024 17:16
We don't have any control over bitcoind's coin selection: it sometimes
ends up creating transactions with a large number of inputs (and thus
a high fee), which we want to avoid. We run multiple coin selection
attempts in parallel and use the best result to mitigate that.

We should monitor how this behaves in practice and revert that change
if it doesn't prove to be useful.

We should also push for more configuration options on the bitcoind side
to get funding results that better match our transaction patterns.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (61f1e1f) 85.85% compared to head (9c49413) 85.88%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2807      +/-   ##
==========================================
+ Coverage   85.85%   85.88%   +0.03%     
==========================================
  Files         216      216              
  Lines       18188    18203      +15     
  Branches      780      782       +2     
==========================================
+ Hits        15615    15634      +19     
+ Misses       2573     2569       -4     
Files Coverage Δ
...cinq/eclair/channel/fund/InteractiveTxFunder.scala 93.05% <100.00%> (+0.80%) ⬆️

... and 4 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants