Unspendable TXO Finder
Los mantenedores suelen responder en 1 día
@ddustin ya está trabajando en esto.
Desde el 13/5/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
The problem:
UTXOs can become unspendable TXOs. When they do, multiple systems in CLN remain in pending states that can confuse users.
This problem is particularly exasperated when users have lots of channels in many states as seen in #9102 and #9112
The solution:
A system that collects all inputs on SIGHASH_ALL tx's we care about (channel opens, splices, wallet activity) and monitors the chain for their inputs being spent. After some spending depth (100?) we move the corresponding tx state into a new NOT_POSSIBLE state. A state of this kind would need to exist for wallet UTXOs, channels, and inflights.
Then, when displaying user balances, we exclude the NOT_POSSIBLE items.
Importantly we should never delete these and if possible reorgs should move the items back into their old states.
- Make system to track all inputs of wallet txs
- When the txs confirm + some depth (100?), stop tracking them
- Improve system to add channel open inflights
- Improve system to add channel splice inflights
- Add NOT_POSSIBLE state to wallet UTXOs
- Hide NOT_POSSIBLE state UTXOs from user RPCs that show funds
- Ignore NOT_POSSIBLE state UTXOs from all sources that acquire funds (
utxopsbt,addpsbtinput,fundpsbt, etc)
- Channel opens where the funding tx has become NOT_POSSIBLE
- Force-close the channel
- Channel splices where the inflight has become NOT_POSSIBLE
- These must continue to be processed as per the spec, so channel stays in AWAITING_SPLICE
- Show the inflight as NOT_POSSIBLE in the user RPC
Fixes #9102
Fixes #9112
See https://github.com/ksedgwic/clboss/issues/312 for an example
- Lenguaje dominante
- C
- Estrellas
- 3.1k
- Forks
- 1k
- Merge medio
- 4 d 4 h
- PR fusionados (30 d)
- 27
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ElementsProject/lightning
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
ElementsProject/lightning#9634 ·
Los mantenedores suelen responder en 1 día
-
plugins/recover: missing comma in nodes_for_gossip concatenates two bootstrap addresses into invalid addressPosiblemente ocupada @bhuvan-somisetty la tomó hace 3 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
ElementsProject/lightning#9630 ·
Los mantenedores suelen responder en 1 día
-
common/json_parse: json_to_bitcoin_amount fails to detect overflow and accepts negative/empty inputsPosiblemente ocupada @bhuvan-somisetty la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ElementsProject/lightning#9617 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
ElementsProject/lightning#9616 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
ElementsProject/lightning#9593 ·
Los mantenedores suelen responder en 1 día
Todos los issues de ElementsProject/lightning
Issues similares
-
mewencode: base256[] and base128[] are indexed out of bounds by a non-ASCII octetPosiblemente ocupada @kazu-yamamoto la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
kazu-yamamoto/Mew#276 ·
Los mantenedores suelen responder en 1 día
-
[iwm] transaction_get() copies the whole payload regardless of the length asked forPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
FujiNetWIFI/fujinet-firmware#2045 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
[Performance]: Qwen-Image-2.1 CPU-only on i5-10500H (6C AVX2, 32 GB): 512x512 in 7.7 min at 8 stepsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
area:gates area:gfx found-by:critic kind:gate-defect
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
InauguralSystems/EigenScript#1825 ·
Los mantenedores suelen responder en 1 día