Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoinSelectionにおける除外条件の見直し #242

Open
1 task
k-matsuzawa opened this issue Jan 15, 2021 · 1 comment
Open
1 task

CoinSelectionにおける除外条件の見直し #242

k-matsuzawa opened this issue Jan 15, 2021 · 1 comment
Assignees
Labels
bug Something isn't working Task task item

Comments

@k-matsuzawa
Copy link
Collaborator

Overview

  • CoinSelectionにおいて、現在はUTXO自体がFeeを支払えない場合に除外する構造となっている。
    • その場合、少額のUTXOがCoinSelectionから弾かれ、永久に残る可能性がある。
    • それが妥当なのかどうか、検討と検証と対策が必要と思われる。
      • そもそもbitcoinから移植した箇所と思われるので、それ自体の妥当性を確認する必要がある。
        • knapsackは元々fee未考慮だった気がするので、そちらで処理させるのが正しい気がしてきた。

Sub tasks

  • 検討/検証 (10.0h -> )

Completion condition

@k-matsuzawa k-matsuzawa added bug Something isn't working Task task item labels Jan 15, 2021
@k-matsuzawa k-matsuzawa self-assigned this Jan 15, 2021
@k-matsuzawa
Copy link
Collaborator Author

補足:fee対象のAssetについては、もともと少額の場合はdust としてfeeに含めるのが取り扱い上妥当である。そのため本来feeの方が大きくなるマイナスのUTXOは発生しない前提であり、検討優先度は低い。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Task task item
Projects
None yet
Development

No branches or pull requests

1 participant