mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-27 22:15:49 +00:00
Remove RippleAddress:
The RippleAddress class was used to represent a number of fundamentally different types: account public keys, account secret keys, node public keys, node secret keys, seeds and generators. The class is replaced by the following types: * PublicKey for account and node public keys * SecretKey for account and node private keys * Generator for generating secp256k1 accounts * Seed for account, node and generator seeds
This commit is contained in:
@@ -115,7 +115,7 @@ private:
|
||||
TrafficCount m_traffic;
|
||||
hash_map <PeerFinder::Slot::ptr,
|
||||
std::weak_ptr <PeerImp>> m_peers;
|
||||
hash_map<RippleAddress, std::weak_ptr<PeerImp>> m_publicKeyMap;
|
||||
hash_map<PublicKey, std::weak_ptr<PeerImp>> m_publicKeyMap;
|
||||
hash_map<Peer::id_t, std::weak_ptr<PeerImp>> m_shortIdMap;
|
||||
Resolver& m_resolver;
|
||||
std::atomic <Peer::id_t> next_id_;
|
||||
@@ -226,7 +226,7 @@ public:
|
||||
|
||||
// Called when an active peer is destroyed.
|
||||
void
|
||||
onPeerDeactivate (Peer::id_t id, RippleAddress const& publicKey);
|
||||
onPeerDeactivate (Peer::id_t id, PublicKey const& publicKey);
|
||||
|
||||
// UnaryFunc will be called as
|
||||
// void(std::shared_ptr<PeerImp>&&)
|
||||
|
||||
Reference in New Issue
Block a user