Add mode to disallow unprofitable leases

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go
領域
backend, payments

調査の方向性

まず、設定処理とリース署名フローの場所を特定します。実行手数料、オンチェーン手数料、リースレート、および最低利益のしきい値が、リースに署名するかどうかをどのように決定するかを定義します。要求されたモードを設定可能にし、その収益性の挙動をテストでカバーできれば完了です。

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

説明

enhancement leases orders rpc

Is your feature request related to a problem? Please describe.

Currently you can need to guestimate if your lease will profitable or not dependent on on-chain fees and the execution fee vs the rate you get.

Describe the solution you'd like

It would be nice if there way a flag in the config to only sign leases that net a profit (maybe even a min profit). This should remove some of the guessing game needed and give users more peace of mind that they won't lose money besides on the back half when closing the channel.

主要言語
Go
スター
256
フォーク
53
平均マージ
20時間 22分
マージ済み PR(30日)
5

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

lightninglabs/pool のほかの issue

lightninglabs/pool の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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