Nodes
- class litewax.nodes.Nodes[source]
Get nodes from antelope and ping them
- static get_nodes(network='mainnet') list [source]
Get producers nodes from antelope
- Parameters:
network (str) – mainnet or testnet
- Returns:
list of nodes
- Return type:
list
- static ping_nodes(network='mainnet') dict [source]
Ping nodes and return dict. key - URL, value - ping (ms)
- Parameters:
network (str) – mainnet or testnet
- Returns:
dict. key - URL, value - ping (ms)
- Return type:
dict