Enormous cleanup of RippleAddress et. al. into ripple_data

Start cleanup into ripple_data, split out some hash_value() instances
Tidy up CBigNum into ripple_data, moving definitions to .cpp
Split and clean up base58 stuff
Remove unused files from VS2012 project
Clean up some bignum stuff and remove unused files
Partial cleanup of RFC1751
Enormous cleanup with RippleAddress and related, into ripple_data
Remove unused VS project files
Move ECIES stuff into CKey
This commit is contained in:
Vinnie Falco
2013-05-28 17:19:32 -07:00
parent 7ad8f47835
commit 2c525b03c6
76 changed files with 1745 additions and 1292 deletions

View File

@@ -9,7 +9,6 @@
#include <openssl/evp.h>
#include "RPC.h"
#include "BitcoinUtil.h"
#include "Config.h"
#include "Version.h"
@@ -25,6 +24,15 @@ using namespace boost::asio;
unsigned int const gMaxHTTPHeaderSize = 0x02000000;
std::string gFormatStr("v1");
// VFALCO: TODO, clean up this nonsense
std::string FormatFullVersion()
{
return(gFormatStr);
}
Json::Value JSONRPCError(int code, const std::string& message)
{
Json::Value error(Json::objectValue);
@@ -142,7 +150,7 @@ int ReadHTTPStatus(std::basic_istream<char>& stream)
int ReadHTTPHeader(std::basic_istream<char>& stream, std::map<std::string, std::string>& mapHeadersRet)
{
int nLen = 0;
loop
for (;;)
{
std::string str;
std::getline(stream, str);