- 9ED13D4723A1DAAD64658D59AE99A776253505FAF10619B4A011173B66B4A64B852007296F81F40537FDE60C44AF475CB4C168CC725DBF59273D8CEA34371909
+ E74ABD10E4E001CA9C202672E2D2678C131F0AD06200E0D8C477728F92B1710644CC15ABB7E5773B277F38A00E004A4EC4C7CEE799A7E9C82C39297B94D540DA
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