mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
[move-only] Move ComputeBlockVersion from validation to versionbits
This commit is contained in:
@@ -96,4 +96,9 @@ public:
|
||||
void Clear();
|
||||
};
|
||||
|
||||
/**
|
||||
* Determine what nVersion a new block should use.
|
||||
*/
|
||||
int32_t ComputeBlockVersion(const CBlockIndex* pindexPrev, const Consensus::Params& params);
|
||||
|
||||
#endif // BITCOIN_VERSIONBITS_H
|
||||
|
||||
Reference in New Issue
Block a user