Add a block to the candidate set if it has as much work as the current tip.
Declared in <validation.h>
[[requires_capability(0x7f2e1ba84c68), requires_capability(0x7f2e145648b8), requires_capability(0x7f2e373bda68), requires_capability(0x7f2e36e346b8)]]
void
TryAddBlockIndexCandidate(CBlockIndex* pindex);
| Name | Description |
|---|---|
| pindex | Block index entry to consider as a candidate. |