mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Returned references should const
This commit is contained in:
@@ -53,8 +53,8 @@ public:
|
|||||||
// - Maintain peer connectivity through validation and peer management.
|
// - Maintain peer connectivity through validation and peer management.
|
||||||
void start();
|
void start();
|
||||||
|
|
||||||
NewcoinAddress& getNodePublic() { return mNodePublicKey; }
|
const NewcoinAddress& getNodePublic() const { return mNodePublicKey; }
|
||||||
NewcoinAddress& getNodePrivate() { return mNodePrivateKey; }
|
const NewcoinAddress& getNodePrivate() const { return mNodePrivateKey; }
|
||||||
DH* getDh512() { return DHparams_dup(mDh512); }
|
DH* getDh512() { return DHparams_dup(mDh512); }
|
||||||
DH* getDh1024() { return DHparams_dup(mDh1024); }
|
DH* getDh1024() { return DHparams_dup(mDh1024); }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user