allow you to send large amounts from RPC

This commit is contained in:
jed
2012-06-20 08:38:36 -07:00
parent a022f8304d
commit 1549ef4d9b
3 changed files with 4 additions and 4 deletions

View File

@@ -72,7 +72,7 @@
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>BOOST_TEST_NO_MAIN;_CRT_SECURE_NO_WARNINGS;_WIN32_WINNT=0x0501;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>BOOST_TEST_ALTERNATIVE_INIT_API;BOOST_TEST_NO_MAIN;_CRT_SECURE_NO_WARNINGS;_WIN32_WINNT=0x0501;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\OpenSSL\include;..\boost_1_47_0;..\protobuf-2.4.1\src</AdditionalIncludeDirectories>
</ClCompile>
<Link>

View File

@@ -100,7 +100,7 @@ bool STAmount::setValue(const std::string& sAmount, const std::string& sCurrency
if (bInteger)
{
uValue = sAmount.empty() ? 0 : boost::lexical_cast<unsigned int>(sAmount);
uValue = sAmount.empty() ? 0 : boost::lexical_cast<uint64>(sAmount);
iOffset = 0;
}
else

View File

@@ -731,7 +731,7 @@ void Peer::recvGetPeers(newcoin::TMGetPeers& packet)
addr->set_ipv4(inet_addr(strIP.c_str()));
addr->set_ipv4port(port);
std::cout << "Teaching about: " << strIP << std::endl;
//std::cout << "Teaching about: " << strIP << std::endl;
}
@@ -757,7 +757,7 @@ void Peer::recvPeers(newcoin::TMPeers& packet)
// if (strIP != "127.0.0.1")
{
std::cout << "Learning about: " << strIP << std::endl;
//std::cout << "Learning about: " << strIP << std::endl;
theApp->getConnectionPool().savePeer(strIP, port, 'T');
}