aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2021-04-16 18:33:02 +1000
committerAnthony Towns <aj@erisian.com.au>2021-06-30 08:19:12 +1000
commit4a69b4dbe0d7f504811b67c399da7e6d11e4f805 (patch)
treef68a96ce61f4cbc31c2550f75950c450e18fb98f /src/validation.h
parent0cfd6c6a8f929d5567ac41f95c21548f115efee5 (diff)
downloadbitcoin-4a69b4dbe0d7f504811b67c399da7e6d11e4f805.tar.xz
[move-only] Move ComputeBlockVersion from validation to versionbits
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/validation.h b/src/validation.h
index 0f00556053..3d66e3161d 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -1019,11 +1019,6 @@ public:
/** Global variable that points to the active block tree (protected by cs_main) */
extern std::unique_ptr<CBlockTreeDB> pblocktree;
-/**
- * Determine what nVersion a new block should use.
- */
-int32_t ComputeBlockVersion(const CBlockIndex* pindexPrev, const Consensus::Params& params);
-
using FopenFn = std::function<FILE*(const fs::path&, const char*)>;
/** Dump the mempool to disk. */