20 #ifndef RIPPLE_SHAMAP_SHAMAPNODEID_H_INCLUDED
21 #define RIPPLE_SHAMAP_SHAMAPNODEID_H_INCLUDED
23 #include <ripple/basics/base_uint.h>
24 #include <ripple/beast/utility/Journal.h>
25 #include <ripple/protocol/Serializer.h>
169 return !(*
this == n);
int selectBranch(uint256 const &hash) const
bool operator<(const SHAMapNodeID &n) const
uint256 const & getNodeID() const
SHAMapNodeID getChildNodeID(int m) const
std::ostream & operator<<(std::ostream &os, TOffer< TIn, TOut > const &offer)
bool operator>(const SHAMapNodeID &n) const
std::string getRawString() const
A generic endpoint for log messages.
bool operator!=(const SHAMapNodeID &n) const
SHAMapNodeID getParentNodeID() const
void addIDRaw(Serializer &s) const
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
bool operator>=(const SHAMapNodeID &n) const
friend std::ostream & operator<<(std::ostream &out, SHAMapNodeID const &node)
std::string getString() const
static uint256 const & Masks(int depth)
bool operator<=(const SHAMapNodeID &n) const
bool operator==(const SHAMapNodeID &n) const
void dump(beast::Journal journal) const
bool has_common_prefix(SHAMapNodeID const &other) const