mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
#ifdef 0 obsolete hankos in NewcoinAddress.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <boost/format.hpp>
|
||||
#include <boost/functional/hash.hpp>
|
||||
|
||||
NewcoinAddress::NewcoinAddress()
|
||||
{
|
||||
@@ -26,8 +27,9 @@ void NewcoinAddress::clear()
|
||||
nVersion = VER_NONE;
|
||||
}
|
||||
|
||||
#if 0
|
||||
//
|
||||
// Hanko
|
||||
// Hanko - OBSOLETE
|
||||
//
|
||||
|
||||
uint160 NewcoinAddress::getHanko() const
|
||||
@@ -84,6 +86,7 @@ void NewcoinAddress::setHanko(const uint160& hash160)
|
||||
void NewcoinAddress::setHanko(const NewcoinAddress& nodePublic) {
|
||||
setHanko(nodePublic.getHanko());
|
||||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
// NodePublic
|
||||
|
||||
@@ -29,9 +29,9 @@ public:
|
||||
|
||||
bool isValid() const;
|
||||
void clear();
|
||||
|
||||
#if 0
|
||||
//
|
||||
// hanko
|
||||
// hanko - OBSOLETE
|
||||
//
|
||||
uint160 getHanko() const;
|
||||
|
||||
@@ -40,7 +40,7 @@ public:
|
||||
bool setHanko(const std::string& strHanko);
|
||||
void setHanko(const uint160& hash160);
|
||||
void setHanko(const NewcoinAddress& nodePublic);
|
||||
|
||||
#endif
|
||||
//
|
||||
// Node Public
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user