[Feature request] Cap "select all" coin selection at 256 inputs (the per-transaction maximum)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Start by locating the Android send flow’s coin control screen and the code that handles “Select all” for manually selected UTXOs. Trace how that selection reaches transaction building, and check whether an existing coin selection rule sets the input order or limit. Done means selection is capped at 256, the UI reports how many remain, and the large manual selection failure is investigated.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Title: Cap "select all" coin selection at 256 inputs (the per-transaction maximum)
Description
When a wallet has more than 256 UTXOs, the "select all" option in manual coin control currently tries to include every input. Since a single transaction supports at most 256 inputs, this results in an invalid or failing transaction rather than a usable one.
Expected behaviour
"Select all" should select the top 256 UTXOs (e.g. largest-value first, or whatever ordering coin selection already uses), filling the transaction to its maximum input count instead of exceeding it. The UI should make it clear that the selection has been capped and how many UTXOs remain unselected.
Current behaviour
All UTXOs are selected regardless of count, so wallets with >256 UTXOs cannot use "select all" to build a valid transaction.
Steps to reproduce
- Use a wallet (mainnet, testnet, or Liquid) holding more than 256 UTXOs.
- Open Send → coin control / manual UTXO selection.
- Tap "Select all".
- Attempt to build or sign the transaction.
Proposed solution
- Change "Select all" to select
min(total_utxos, 256)inputs, ordered by value descending (or by the existing coin-selection heuristic). - Show a notice such as "256 of N UTXOs selected (transaction limit)".
- Optionally offer a "Select next 256" action so users can consolidate large UTXO sets across several transactions.
Related: sending 255 manually selected inputs fails
Even staying under the limit, building a transaction with 255 manually selected UTXOs fails with:
Made one or multiple attempts, all errored:
- EOF while parsing a value at line 1 column 0
This looks like a serde_json error from GDK receiving an empty response from a backend call (fee estimation, UTXO fetch, or broadcast) rather than a transaction-construction error. Possibly a request timeout or payload size limit when the input set is large.
Steps to reproduce
- Open Send → coin control.
- Manually select 255 UTXOs.
- Enter a recipient and amount, continue to review/sign.
- Error above is shown; the transaction is never built.
Questions for maintainers
- Is there a practical input limit below 256 that the app enforces or should enforce?
- Does the same happen with a smaller selection (e.g. 100 inputs)? (fill in if you've tested)
- Ngôn ngữ chính
- Kotlin
- Star
- 272
- Fork
- 110
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Blockstream/green_android
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Blockstream/green_android#313 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
Blockstream/green_android#315 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Blockstream/green_android#314 ·
-
Support scanning SeedQR recovery phrasesCó thể làm lại được @ardier16 đã nhận 47 ngày trước và không có pull request nào đang mở. Đang mởfeature request
Blockstream/green_android#311 · 2 bình luận · 1 người được giao ·
-
UX: Use "Passphrase BIP39" as a universal untranslated label — don't translate it as "contraseña"Có thể làm lại được @ardier16 đã nhận 47 ngày trước và không có pull request nào đang mở. Đang mởenhancement
Blockstream/green_android#310 · 4 bình luận · 1 người được giao ·
Tất cả issue của Blockstream/green_android
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Kotlin/kotlin-lsp#288 ·
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
chrisbanes/haze#1536 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Cassiopeia drops the `präsentiert von` credit printed in the event bodyCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởafk-ok area:data-quality importer size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
enorm-labs/event-junkie#3166 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
rajpreetcodes/Skills_MCP_Server#25 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
com-lihaoyi/mill#7776 ·
Maintainer thường phản hồi trong vòng 1 ngày