Skip to content

Add --miner flag to alw swap now#592

Merged
anderdc merged 1 commit into
testfrom
feat/swap-now-miner-flag
Jul 24, 2026
Merged

Add --miner flag to alw swap now#592
anderdc merged 1 commit into
testfrom
feat/swap-now-miner-flag

Conversation

@LandynDev

Copy link
Copy Markdown
Collaborator

Optional miner selection for alw swap now. Default auto-select path is unchanged.

  • --miner <pubkey>: pin a specific miner; hard-fails with the specific reason (inactive, not quoting, collateral/bounds) — never falls back silently
  • bare --miner: interactive numbered picker over viable miners, best rate first (TTY only)
  • warns when the chosen miner pays 50%+ less dest than the best available (MINER_RATE_WARN_FRACTION)
  • viable_intakes extracted in swap_intake.py so auto-select, named, and picker share one gating path; select_best_miner behavior unchanged

Tests: viable_intakes filtering/order, tie-break stability. 55 passed across intake/reservation/routed suites.

@anderdc
anderdc merged commit bdb06cf into test Jul 24, 2026
3 checks passed
@anderdc
anderdc deleted the feat/swap-now-miner-flag branch July 24, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants