beem.nodelist¶
-
class
beem.nodelist.
NodeList
¶ Bases:
list
Returns a node list
from beem.nodelist import NodeList n = NodeList() nodes_urls = n.get_nodes()
-
get_nodes
(normal=True, appbase=True, dev=False, testnet=False, wss=True, https=True)¶ Returns nodes as list
Parameters: - normal (bool) – when True, nodes with version 0.19.2 or 0.19.3 are included
- appbase (bool) – when True, nodes with version 0.19.4 are included
- dev (bool) – when True, dev nodes with version 0.19.4 are included
- testnet (bool) – when True, testnet nodes are included
-
get_testnet
()¶ Returns testnet nodes
-
update_nodes
(weights=None, steem_instance=None)¶ Reads metadata from fullnodeupdate and recalculates the nodes score
Params list/dict weight: can be used to weight the different benchmarks
-