[#TaprootBuilder-ValidDepths] = xref:TaprootBuilder.adoc[TaprootBuilder]::ValidDepths :relfileprefix: ../ :mrdocs: Check if a list of depths is legal (will lead to IsComplete()). == Synopsis Declared in `<script/signingprovider.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool ValidDepths(std::vector<int> const& depths); ---- == Return Value True if the depths form a valid tree. == Parameters [cols="1,4"] |=== | Name| Description | *depths* | The leaf depths in depth‐first order. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#