refactor: Mark member functions const

This commit is contained in:
MarcoFalke
2021-04-17 19:17:40 +02:00
parent 0dd7b23489
commit faabeb854a
4 changed files with 34 additions and 34 deletions

View File

@@ -43,7 +43,7 @@ public:
virtual ~PeerManager() { }
/** Get statistics from node state */
virtual bool GetNodeStateStats(NodeId nodeid, CNodeStateStats& stats) = 0;
virtual bool GetNodeStateStats(NodeId nodeid, CNodeStateStats& stats) const = 0;
/** Whether this node ignores txs received over p2p. */
virtual bool IgnoresIncomingTxs() = 0;