Self cleanup of utxos when they grow

Open
#2,940 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by locating the coinchooser and the wallet code that loads the full UTXO set, then trace how coin selection affects wallet operations. Define the cleanup threshold and behavior with the maintainer; done should prevent large UTXO lists from being loaded for every operation while preserving correct coin selection.

Written by the indexing model from the issue text.

Description

area: wallet consider soon

We need the coinchooser to be smarter and clean up large lists of UTXOs after X amount (maybe 1k to start?). If not, this bogs down all wallet operations since it needs to load the entire uxto set on each one.

Dominant language
Python
Stars
7.2k
Forks
493
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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.

More from lbryio/lbry-sdk

All issues in lbryio/lbry-sdk

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.