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