Edited the patch to provide "bitcore" as the version instead of "bitcorenode"
This commit is contained in:
parent
1e69c3d35d
commit
9bd328d190
@ -327,18 +327,18 @@ index f6deaa2..4251721 100644
|
|||||||
|
|
||||||
SyncWithWallets(tx, NULL);
|
SyncWithWallets(tx, NULL);
|
||||||
diff --git a/src/net.cpp b/src/net.cpp
|
diff --git a/src/net.cpp b/src/net.cpp
|
||||||
index f94771a..de6c7d0 100644
|
index f94771a..72ee00e 100644
|
||||||
--- a/src/net.cpp
|
--- a/src/net.cpp
|
||||||
+++ b/src/net.cpp
|
+++ b/src/net.cpp
|
||||||
@@ -432,8 +432,10 @@ void CNode::PushVersion()
|
@@ -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);
|
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
|
else
|
||||||
LogPrint("net", "send version message: version %d, blocks=%d, us=%s, peer=%d\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString(), id);
|
LogPrint("net", "send version message: version %d, blocks=%d, us=%s, peer=%d\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString(), id);
|
||||||
+ std::vector<std::string> bitcore_node;
|
+ std::vector<std::string> bitcore;
|
||||||
+ bitcore_node.push_back("bitcorenode"); //the dash character is removed from the comments section
|
+ bitcore.push_back("bitcore"); //the dash character is removed from the comments section
|
||||||
PushMessage("version", PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe,
|
PushMessage("version", PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe,
|
||||||
- nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, std::vector<string>()), nBestHeight, true);
|
- nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, std::vector<string>()), nBestHeight, true);
|
||||||
+ nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, bitcore_node), nBestHeight, true);
|
+ nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, bitcore), nBestHeight, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user