This introduces a consistent notation for RPC arguments in scantxoutset, importmulti, and deriveaddresses, either:
"range" : intto just specify the end of the range"range" : [int,int]to specify both the begin and the end of the range.
For scantxoutset, this is a backward compatible new feature. For the two other RPCs, it’s an incompatible change, but neither of them has been in a release so far. Because of that non-released reason, this only makes sense in 0.18, in my opinion.
I suggest this as an alternative to #15496, which only makes deriveaddresses compatible with importmulti, but not with the existing scantxoutset RPC. I also think [int,int] is more convenient than {"start":int,"stop":int}.
I realize this is technically a feature added to scantxoutset after the feature freeze. If desired, I’ll drop the scantxoutset changes.