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, testnetdev=False, wss=True, https=True)

Returns nodes as list

Parameters:
  • normal (bool) – when True, nodes with version 0.19.5 are included
  • appbase (bool) – when True, nodes with version 0.19.11 are included
  • dev (bool) – when True, dev nodes with version 0.19.11 are included
  • testnet (bool) – when True, testnet nodes are included
  • testnetdev (bool) – When True, testnet-dev nodes are included
get_testnet(testnet=True, testnetdev=False)

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