Move *Version() functions to version.h/cpp
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "clientversion.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
//
|
||||
// client versioning
|
||||
@@ -48,4 +49,7 @@ static const int BIP0031_VERSION = 60000;
|
||||
// "mempool" command, enhanced "getdata" behavior starts with this version
|
||||
static const int MEMPOOL_GD_VERSION = 60002;
|
||||
|
||||
std::string FormatFullVersion();
|
||||
std::string FormatSubVersion(const std::string& name, int nClientVersion, const std::vector<std::string>& comments);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user