mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-26 10:48:33 +01:00
Multibroadcast: broadcast to selected list
This commit is contained in:
@@ -472,6 +472,11 @@ void Nodes::WSNodeExhaustedWarning() {
|
||||
m_wsExhaustedWarningEmitted = true;
|
||||
}
|
||||
|
||||
QList<FeatherNode> Nodes::nodes() {
|
||||
// Return current node list
|
||||
return (this->source() == NodeSource::websocket) ? websocketNodes() : m_customNodes;
|
||||
}
|
||||
|
||||
QList<FeatherNode> Nodes::customNodes() {
|
||||
return m_customNodes;
|
||||
}
|
||||
|
||||
@@ -117,6 +117,7 @@ public:
|
||||
NodeSource source();
|
||||
FeatherNode connection();
|
||||
|
||||
QList<FeatherNode> nodes();
|
||||
QList<FeatherNode> customNodes();
|
||||
QList<FeatherNode> websocketNodes();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user