nutshell: balance reads 0 after clientd send — change proofs invisible

オープン
#424 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
cli, database

調査の方向性

Start by reproducing the reported sequence: send with cashu --wallet <w> --host <mint> --yes send <n>, then check cashu --wallet <w> balance and cashu proofs in a fresh process. Inspect the preserved wallet files and the consecutive fund-log balance entries to determine whether the change is persisted, pending, or reserved. Done means the cause is identified and the wallet's change is visible through balance and proofs after a successful send.

索引モデルが issue の本文から書いたものです。

説明

Found by the clientd scenario battery (S3, nutshell wallet live).

What happened: after clientd pays successfully via cashu --wallet <w> --host <mint> --yes send <n> (payment accepted, session created), a subsequent cashu --wallet <w> balance in a fresh process shows Balance: 0 sat and cashu proofs reports "No proofs found" — the send's change is not visible. The fund log shows Balance: 40 sat followed immediately by Balance: 0 sat from two consecutive CLI invocations, so the loss of visibility happens at/after the first send, not at fund time.

Suspects: SQLite WAL on a docker named-volume shared across containers (stale WAL / missing checkpoint), or nutshell keeping the change as pending/reserved until a receive -a. Wallet files preserved from the run for inspection.

Why it matters: a laptop user topping up repeatedly through nutshell would think their wallet is empty after the first payment.

主要言語
Go
スター
12
フォーク
14
平均マージ
4日 19時間
マージ済み PR(30日)
213

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenTollGate/tollgate-module-basic-go のほかの issue

OpenTollGate/tollgate-module-basic-go の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。