mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-08 03:33:32 +01:00
mapport: rename 'use_pcp' to 'enable'
There is only a single protocol now, caller should just be concerned about whether to enable port mapping or not.
This commit is contained in:
@@ -121,7 +121,7 @@ public:
|
||||
virtual void resetSettings() = 0;
|
||||
|
||||
//! Map port.
|
||||
virtual void mapPort(bool use_pcp) = 0;
|
||||
virtual void mapPort(bool enable) = 0;
|
||||
|
||||
//! Get proxy.
|
||||
virtual bool getProxy(Network net, Proxy& proxy_info) = 0;
|
||||
|
||||
Reference in New Issue
Block a user