From 9bd328d1908b3a9205b242a48f0e99b99b7ca880 Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Thu, 22 Oct 2015 10:59:28 -0400 Subject: [PATCH] Edited the patch to provide "bitcore" as the version instead of "bitcorenode" --- etc/bitcoin.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/bitcoin.patch b/etc/bitcoin.patch index 7fb8c5b3..e1fe3b1b 100644 --- a/etc/bitcoin.patch +++ b/etc/bitcoin.patch @@ -327,18 +327,18 @@ index f6deaa2..4251721 100644 SyncWithWallets(tx, NULL); diff --git a/src/net.cpp b/src/net.cpp -index f94771a..de6c7d0 100644 +index f94771a..72ee00e 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -432,8 +432,10 @@ void CNode::PushVersion() LogPrint("net", "send version message: version %d, blocks=%d, us=%s, them=%s, peer=%d\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString(), addrYou.ToString(), id); else LogPrint("net", "send version message: version %d, blocks=%d, us=%s, peer=%d\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString(), id); -+ std::vector bitcore_node; -+ bitcore_node.push_back("bitcorenode"); //the dash character is removed from the comments section ++ std::vector bitcore; ++ bitcore.push_back("bitcore"); //the dash character is removed from the comments section PushMessage("version", PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe, - nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, std::vector()), nBestHeight, true); -+ nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, bitcore_node), nBestHeight, true); ++ nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, bitcore), nBestHeight, true); }