Check if a list of depths is legal (will lead to IsComplete()).
Declared in <script/signingprovider.h>
static
bool
ValidDepths(std::vector<int> const& depths);
True if the depths form a valid tree.
| Name | Description |
|---|---|
| depths | The leaf depths in depth-first order. |