(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