ParseDescriptorRange

Parse a JSON range specified as an int64 or as a [int64, int64]pair.

Synopsis

Declared in <rpc/util.h>

std::pair<int64_t, int64_t>
ParseDescriptorRange(UniValue const& value);

Return Value

The parsed (begin, end) range.

Parameters

NameDescription
valueThe range as a JSON number or two-element array.