mirror of
https://github.com/StijnBTC/Ringtools.git
synced 2025-02-28 15:55:27 +01:00
18 lines
343 B
Python
18 lines
343 B
Python
from abc import ABC, abstractmethod
|
|
class LNClient(ABC):
|
|
|
|
@abstractmethod
|
|
def get_edge(self, channel_id):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def get_node_channels(self, pub_key):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def get_node_alias(self, pub_key):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def get_node(self, pub_key):
|
|
pass
|