mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-24 21:10:35 +01:00
net: Providing an interface for mapLocalHost
Contributes to #564 by providing an interface for mapLocalHost through net -> node interface -> clientModel. Later this value can be read by GUI to show the local addresses.
This commit is contained in:
@@ -168,6 +168,9 @@ public:
|
||||
//! Get num blocks.
|
||||
virtual int getNumBlocks() = 0;
|
||||
|
||||
//! Get network local addresses.
|
||||
virtual std::map<CNetAddr, LocalServiceInfo> getNetLocalAddresses() = 0;
|
||||
|
||||
//! Get best block hash.
|
||||
virtual uint256 getBestBlockHash() = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user