diff --git a/willexecutors.py b/willexecutors.py index 797d5fd..b281a5e 100644 --- a/willexecutors.py +++ b/willexecutors.py @@ -30,6 +30,15 @@ chainname = constants.net.NET_NAME if constants.net.NET_NAME != "mainnet" else " class Willexecutors: + """ + Static class managing will executor servers. + + This class provides methods to: + - Save and load executor configurations + - Communicate with executor servers via HTTP + - Push transactions to executors for broadcasting + - Download and update executor lists from remote sources + """ def save(bal_plugin, willexecutors): _logger.debug(f"save {willexecutors},{chainname}") @@ -322,6 +331,19 @@ class Willexecutors: class WillExecutor: + """ + Data class representing a single will executor. + + Attributes: + url: Executor server URL + base_fee: Fixed fee for executor service + chain: Bitcoin network chain (bitcoin/testnet) + info: Additional executor information + version: Plugin version compatibility + status: Connection status (OK/KO) + is_selected: Whether this executor is selected by user + promo_code: Promotional code for fee discounts + """ def __init__( self, url,