Ejemplo n.º 1
0
def _get_liquid_networks():
    # Do not allow single sig Liquid mainnet for now.
    # TODO: Enable single sig Liquid once testing is complete.
    def is_liquid(network):
        return 'liquid' in network and network != 'electrum-liquid'

    return reversed([n for n in gdk.get_networks() if is_liquid(n)])
Ejemplo n.º 2
0
def getnetwork():
    return gdk.get_networks()[context.network]
Ejemplo n.º 3
0
def getnetworks():
    return gdk.get_networks()
Ejemplo n.º 4
0
def getnetworks():
    """Show all available networks."""
    return gdk.get_networks()