mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 03:02:37 +02:00
net: convert standalone IsSelectableSocket() to Sock::IsSelectable()
This makes the callers mockable.
This commit is contained in:
@@ -166,6 +166,8 @@ public:
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool IsSelectable() const override { return true; }
|
||||
|
||||
bool Wait(std::chrono::milliseconds timeout,
|
||||
Event requested,
|
||||
Event* occurred = nullptr) const override
|
||||
|
||||
Reference in New Issue
Block a user