tollgate-clientd: burned tokens on rejected payments (no reclaim path)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start with the clientd scenario battery cases S5b and S5c, then trace the cdk-cli send / cashu send and cdk-cli receive / cashu receive entry points named in the issue. Check how daemon state and the router's reseller-mode recovery work before deciding where rejected tokens and notices belong. Done means a rejected token can be reclaimed after its cause is fixed, with coverage for the expired-keyset and fee/min-steps cases.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found by the clientd scenario battery (S5b keyset rotation, S5c fee edge); relates to #403 (router-side no-refund path) and #417 (keyset expiry kills balances).
What happened: clientd creates the wallet token (cdk-cli send / cashu send) and only then POSTs it. If the router rejects the payment — expired keyset after rotation, token fully consumed by a mint input fee, below min-steps — the wallet has already deducted the proofs and the rejected token is dropped. Scenario evidence: S5b renewal against an expired keyset and S5c's 1-sat token on a 100ppk mint both burned the token with no session granted.
Proposal: keep the last rejected token (and the router's notice message) in the daemon state dir + a tollgate-clientd reclaim subcommand that feeds it back into the wallet (cdk-cli receive / cashu receive) once the underlying cause is fixed — mirroring what the router's reseller mode does with tokens-to-recover.
- Lenguaje dominante
- Go
- Estrellas
- 12
- Forks
- 14
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 246
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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 OpenTollGate/tollgate-module-basic-go
-
Session event emits the customer's MAC address in the p tag — spec-invalid value on every payment responsePosiblemente ocupada @Amperstrand la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenTollGate/tollgate-module-basic-go#949 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
OpenTollGate/tollgate-module-basic-go#833 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
OpenTollGate/tollgate-module-basic-go#813 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenTollGate/tollgate-module-basic-go#804 ·
Los mantenedores suelen responder en 1 día
-
go-battery needs an ndsctl on PATH: TestPurchaseSessionGuardHoldsThroughTheOutcomeUnknownWindow fails on bare hosts (passes with stub)Posiblemente ocupada @Amperstrand la tomó hace 6 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
OpenTollGate/tollgate-module-basic-go#726 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de OpenTollGate/tollgate-module-basic-go
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
BurntSushi/toml#530 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:session-state issue-rating: 🦞 diamond lobster no-stale P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
openclaw/wacli#503 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Bug] rmqctl error diagnostics emit terminal control charactersPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 81/100
apache/rocketmq-dashboard#6895 ·
Los mantenedores suelen responder en 3 días