mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Track server and protocol versions and minimum supported versions. This is a
protocol-breaking change. It's needed because other protocol-breaking changes are needed for security reasons, and we don't want subtly-incompatible nodes connecting.
This commit is contained in:
@@ -15,14 +15,11 @@
|
||||
#include "BitcoinUtil.h"
|
||||
#include "Config.h"
|
||||
#include "Log.h"
|
||||
#include "Version.h"
|
||||
|
||||
using namespace boost;
|
||||
using namespace boost::asio;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Json::Value JSONRPCError(int code, const std::string& message)
|
||||
{
|
||||
Json::Value error(Json::objectValue);
|
||||
@@ -116,7 +113,7 @@ std::string HTTPReply(int nStatus, const std::string& strMsg)
|
||||
rfc1123Time().c_str(),
|
||||
access.c_str(),
|
||||
strMsg.size(),
|
||||
theConfig.VERSION_STR.c_str(),
|
||||
SERVER_VERSION,
|
||||
strMsg.c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user