cli: Parse -signetchallenge like bitcoind

bitcoin/bitcoin: PR #36689

The review is inconclusive; no findings were published.

Coverage details

Background

Ralph's summary of historical context for the behaviour affected by this change. The historical record reviewed here is incomplete.

Documented decisions

The single-value restriction predates the current refactoring. Discussion on the original Signet implementation already shows the explicit multiple-values error, and a later refactoring preserved it while describing its argument-presence changes as behavior-preserving.

The shared helper carries forward an established daemon restriction rather than introducing the cardinality check itself. Neither inspected historical passage says that bitcoin-cli should adopt the same combined-source rejection policy.

Source 1 · Source 2