CLI usability: give more meaningful error messages wrt. balance and amounts
まだ誰も着手していません。
評価
調査の方向性
まず、CLI での ask-order 送信フロー、特にバリデーションと確認プロンプトを追跡します。残高不足エラーと wumbo-channel エラーが現在どのように生成されているかを確認します。関連するチェックが確認の前に行われ、利用可能な場合には、メッセージで残高、手数料、利用可能な最大額、または受け入れ可能なチャネルサイズが説明されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
When I use the CLI to submit an ask order, several things may go wrong:
- The amount is not divisible by 100,000 satoshi
- I do not have enough satoshis available to fund the order
- My lnd node does not accept channels of the configured size
See #172 for a discussion of 1).
In case 2) I get a message "insufficient account balance" after I confirmed the order. This is OK, but from a usability perspective I'd like to see this message before I confirm the order. Furthermore, the message could/should indicate my current balance and, if possible, the maximum amount I might use for the order (taking fees into account). The goal should be to make it as easy and simple as possible for the user to submit a correct order.
In case 3) I get "order of 1 BTC is wumbo sized, but lnd node isn't signalling wumbo", which is OK if you know what "wumbo" means (😕). As above, I'd like to see this message before I confirm the order. Then, a more helpful message would be nice. What is the maximum amount my lnd node accepts? This amount should be shown, possibly rounded to a valid "unit" size, and with fees and available balance taken into account (as above).
- 主要言語
- Go
- スター
- 256
- フォーク
- 53
- 平均マージ
- 20時間 22分
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lightninglabs/pool のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
lightninglabs/pool#536 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
lightninglabs/pool#514 · コメント 16 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
lightninglabs/pool#478 · コメント 3 件 ·
-
batch batch execution optimization
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
lightninglabs/pool#456 ·
-
add pool-client initiated pings再び着手できるかも @positiveblue が 1278 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
lightninglabs/pool#455 · 担当者 1 名 ·
lightninglabs/pool の issue をすべて見る
似ている issue
-
cmd/fix, x/tools/go/analysis/passes/modernize: mapsloop moves comments out of the range operand対応中かも @muratmirgun が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Cojekt/LibreDental#258 ·
メンテナーはふだん 1 日以内に返信
-
go good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opensro-dev/opensro#4949 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 3 日以内に返信