Determine what nVersion a new block should use
Declared in <versionbits.h>
[[requires_capability(0x7fd74d0e0ee8), requires_capability(0x7fd7522e47a8), requires_capability(0x7fd74fa613c8), requires_capability(0x7fd74bb27248), requires_capability(0x7fd7577433b8), requires_capability(0x7fd75faa1518), requires_capability(0x7fd75bc146f8)]]
int32_t
ComputeBlockVersion(
CBlockIndex const* pindexPrev,
Consensus::Params const& params);
The version to use for the new block.
| Name | Description |
|---|---|
| pindexPrev | The parent block preceding the new block. |
| params | The consensus parameters holding the deployments. |