ElementsProject / ElementsProject/elements

Enable disabled fallbackfee in code to avoid "Fee estimation failed" errors

オープン
#980 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
1.2k
フォーク
416
平均マージ
1日 23時間
マージ済み PR(30日)
15

説明

Version 0.18.1.9

As I understand it the fallbackfee that is set within code is actually ignored (inherited from Bitcoin Core). I think this was done to avoid users getting txs rejected if it was set too low.

In Elements it takes a long time for a node to calculate the needed fee rate due to having much less txs than bitcoin. It doesn't matter if they are using QT because the fee rate is set in the GUI. For users who use elements-cli or scripts using RPC it means they can wait hours for the fees to be calculated.

You can specify `fallbackfee=0.00000100` in `elements.conf` to get around waiting but it would be good if the default in elements code worked. Many users start their elements node to perform some task then shut it down and this can result in fee calculation issues.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ソースファイルもテストも指定されていません。まず、elements-cli と RPC 呼び出しで fallbackfee がどのように扱われているかを追跡し、elements.conf の設定可能な値と比較して、手数料の推定を完了できない場合の動作を確認してください。コードのデフォルト値によって、手動設定を必要とせずに報告されたエラーが防止されれば完了です。

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

評価

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

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

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