mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
New wallet system. Still missing unit tests, ledger synchronization,
and SQL code. This uses some of the 'magic' properties of elliptic curves to create related families of public and private keys. Wallet encryption is not needed because the private keys do not need to be stored.
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
|
||||
bool NewcoinAddress::SetHash160(const uint160& hash160)
|
||||
{
|
||||
SetData(51, &hash160, 20);
|
||||
@@ -25,7 +24,7 @@ NewcoinAddress::NewcoinAddress()
|
||||
{
|
||||
}
|
||||
|
||||
NewcoinAddress::NewcoinAddress(uint160& hash160In)
|
||||
NewcoinAddress::NewcoinAddress(const uint160& hash160In)
|
||||
{
|
||||
SetHash160(hash160In);
|
||||
}
|
||||
@@ -53,3 +52,7 @@ uint160 NewcoinAddress::GetHash160() const
|
||||
return hash160;
|
||||
}
|
||||
|
||||
std::string NewcoinAddress::GetString() const
|
||||
{
|
||||
return ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user