#include "rpc/protocol.h"
#include "util.h"
#include "utilstrencodings.h"
+#include "version.h"
#include <boost/filesystem/operations.hpp>
#include <stdio.h>
ParseParameters(argc, argv);
komodo_args(argv[0]);
if (argc<2 || mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help") || mapArgs.count("-version")) {
- std::string strUsage = _("Verus RPC client version 0.6.0-301-PBaaS-Cross-chain-Technology-Preview") + " " + "\n" + PrivacyInfo();
+ std::string strUsage = _("Verus RPC client version") + " v" + _(VERUS_VERSION) + "\n" + PrivacyInfo();
if (!mapArgs.count("-version")) { strUsage += "\n" + _("Usage:") + "\n" +
" verus [options] <command> [params] " + _("Send command to Komodo") + "\n" +
" verus [options] help " + _("List commands") + "\n" +
#include "util.h"
#include "httpserver.h"
#include "httprpc.h"
+#include "version.h"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem.hpp>
// Process help and version before taking care about datadir
if (mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help") || mapArgs.count("-version"))
{
- std::string strUsage = _("Verus Daemon") + " " + _("version") + " " + _("0.6.0-30-PBaaS-Cross-chain-Technology-Preview") + "\n" + PrivacyInfo();
+ std::string strUsage = _("Verus Daemon") + " " + _("version") + " v" + _(VERUS_VERSION) + "\n" + PrivacyInfo();
if (mapArgs.count("-version"))
{
strUsage += LicenseInfo();
#include "timedata.h"
#include "txmempool.h"
#include "util.h"
+#include "../version.h"
#include "pbaas/crosschainrpc.h"
#ifdef ENABLE_WALLET
#include "wallet/wallet.h"
uint32_t komodo_segid32(char *coinaddr);
int64_t komodo_coinsupply(int64_t *zfundsp,int32_t height);
int32_t notarizedtxid_height(char *dest,char *txidstr,int32_t *kmdnotarized_heightp);
-#define KOMODO_VERSION "0.2.1"
-#define VERUS_VERSION "0.6.0-30-PBaaS-Cross-chain-Technology-Preview"
+
extern uint16_t ASSETCHAINS_P2PPORT,ASSETCHAINS_RPCPORT;
extern uint32_t ASSETCHAINS_CC;
extern uint32_t ASSETCHAINS_MAGIC;
//! "filter*" commands are disabled without NODE_BLOOM after and including this version
static const int NO_BLOOM_VERSION = 170004;
+#define KOMODO_VERSION "0.2.1"
+#define VERUS_VERSION "0.6.0-30-PBaaS-Cross-chain-Technology-Preview"
+
#endif // BITCOIN_VERSION_H