- 3DCFE5F29728DCD34A6DFE23E9CD17E5F4A332A8D2E7444355106C8C63436CF54892424DF2018756C2E109463FD87728FC668A5A03914A4AA3F30BB90403B433
+ 72641FCB9BCE1F705246CF52F08B3ECE4B8DF65E07CA10A32DB860D4A120532A911FC62549960CCFDFC020FD1A5EF8BAF0FCF181B861E0903C65B044899FC008
bitcoin/src/util.cpp
(2 . 6)(2 . 7)
92 // Copyright (c) 2009-2012 The Bitcoin developers
93 // Distributed under the MIT/X11 software license, see the accompanying
94 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
95 #include "knobs.h"
96 #include "headers.h"
97 #include "strlcpy.h"
98 #include <boost/program_options/detail/config_file.hpp>
(32 . 7)(33 . 7)
100 bool fNoListen = false;
101 bool fLogTimestamps = false;
102
103
104 std::string CLIENT_NAME(DEFAULT_CLIENT_NAME);
105
106
107 // Workaround for "multiple definition of `_tls_used'"
(889 . 14)(890 . 18)
109
110 string FormatFullVersion()
111 {
112 string s = FormatVersion(VERSION) + pszSubVer;
113 if (VERSION_IS_BETA) {
114 s += "-";
115 s += _("beta");
116 }
117 string s = FormatVersion(VERSION);
118 return s;
119 }
120
121 std::string FormatSubVersion(const std::string& name, int nClientVersion)
122 {
123 std::ostringstream ss;
124 ss << "/";
125 ss << name << ":" << FormatVersion(nClientVersion);
126 ss << "/";
127 return ss.str();
128 }
129
130
131