Determine if script is a "multi_a" script. Returns (threshold, keyspans) if so, and nullopt otherwise. The keyspans refer to bytes in the passed script.
Declared in <script/solver.h>
std::optional<std::pair<int, std::vector<std::span<unsigned char const>>>>
MatchMultiA(CScript const& script);
The threshold and key spans if script is a multi_a script, std::nullopt otherwise.
| Name | Description |
|---|---|
| script | The script to inspect. |