SYMBOL INDEX (9653 symbols across 338 files) FILE: contrib/android/apkdiff.py class ApkDiff (line 15) | class ApkDiff: method compare (line 18) | def compare(self, sourceApk, destinationApk) -> bool: method compareManifests (line 29) | def compareManifests(self, sourceZip, destinationZip): method compareEntries (line 47) | def compareEntries(self, sourceZip, destinationZip): method compareFiles (line 70) | def compareFiles(self, sourceFile, destinationFile): FILE: contrib/android/get_apk_versioncode.py function get_electrum_version (line 16) | def get_electrum_version() -> str: function get_android_versioncode (line 26) | def get_android_versioncode(*, arch_name: str) -> int: FILE: contrib/android/p4a_recipes/cffi/__init__.py class CffiRecipePinned (line 14) | class CffiRecipePinned(util.InheritedRecipeMixin, CffiRecipe): FILE: contrib/android/p4a_recipes/cryptography/__init__.py class CryptographyRecipePinned (line 9) | class CryptographyRecipePinned(CryptographyRecipe): FILE: contrib/android/p4a_recipes/hostpython3/__init__.py class HostPython3RecipePinned (line 13) | class HostPython3RecipePinned(util.InheritedRecipeMixin, HostPython3Reci... FILE: contrib/android/p4a_recipes/libffi/__init__.py class LibffiRecipePinned (line 14) | class LibffiRecipePinned(util.InheritedRecipeMixin, LibffiRecipe): FILE: contrib/android/p4a_recipes/libiconv/__init__.py class LibIconvRecipePinned (line 14) | class LibIconvRecipePinned(util.InheritedRecipeMixin, LibIconvRecipe): FILE: contrib/android/p4a_recipes/libsecp256k1/__init__.py class LibSecp256k1RecipePinned (line 8) | class LibSecp256k1RecipePinned(LibSecp256k1Recipe): FILE: contrib/android/p4a_recipes/libzbar/__init__.py class LibZBarRecipePinned (line 13) | class LibZBarRecipePinned(util.InheritedRecipeMixin, LibZBarRecipe): FILE: contrib/android/p4a_recipes/openssl/__init__.py class OpenSSLRecipePinned (line 14) | class OpenSSLRecipePinned(util.InheritedRecipeMixin, OpenSSLRecipe): FILE: contrib/android/p4a_recipes/packaging/__init__.py class PackagingRecipePinned (line 9) | class PackagingRecipePinned(PackagingRecipe): FILE: contrib/android/p4a_recipes/ply/__init__.py class PlyRecipePinned (line 14) | class PlyRecipePinned(util.InheritedRecipeMixin, PlyRecipe): FILE: contrib/android/p4a_recipes/plyer/__init__.py class PlyerRecipePinned (line 8) | class PlyerRecipePinned(PythonRecipe): FILE: contrib/android/p4a_recipes/pycparser/__init__.py class PycparserRecipePinned (line 9) | class PycparserRecipePinned(PycparserRecipe): FILE: contrib/android/p4a_recipes/pycryptodomex/__init__.py class PycryptodomexRecipe (line 8) | class PycryptodomexRecipe(PythonRecipe): FILE: contrib/android/p4a_recipes/pyjnius/__init__.py class PyjniusRecipePinned (line 14) | class PyjniusRecipePinned(util.InheritedRecipeMixin, PyjniusRecipe): FILE: contrib/android/p4a_recipes/pyparsing/__init__.py class PyparsingRecipePinned (line 9) | class PyparsingRecipePinned(PyparsingRecipe): FILE: contrib/android/p4a_recipes/pyqt6/__init__.py class PyQt6RecipePinned (line 14) | class PyQt6RecipePinned(util.InheritedRecipeMixin, PyQt6Recipe): FILE: contrib/android/p4a_recipes/pyqt6sip/__init__.py class PyQt6SipRecipePinned (line 14) | class PyQt6SipRecipePinned(util.InheritedRecipeMixin, PyQt6SipRecipe): FILE: contrib/android/p4a_recipes/pyqt_builder/__init__.py class PyQtBuilderRecipePinned (line 9) | class PyQtBuilderRecipePinned(PyQtBuilderRecipe): FILE: contrib/android/p4a_recipes/python3/__init__.py class Python3RecipePinned (line 13) | class Python3RecipePinned(util.InheritedRecipeMixin, Python3Recipe): FILE: contrib/android/p4a_recipes/qt6/__init__.py class Qt6RecipePinned (line 14) | class Qt6RecipePinned(util.InheritedRecipeMixin, Qt6Recipe): FILE: contrib/android/p4a_recipes/setuptools/__init__.py class SetuptoolsRecipePinned (line 9) | class SetuptoolsRecipePinned(SetuptoolsRecipe): FILE: contrib/android/p4a_recipes/sip/__init__.py class SipRecipePinned (line 9) | class SipRecipePinned(SipRecipe): FILE: contrib/android/p4a_recipes/six/__init__.py class SixRecipePinned (line 9) | class SixRecipePinned(SixRecipe): FILE: contrib/android/p4a_recipes/sqlite3/__init__.py class Sqlite3RecipePinned (line 14) | class Sqlite3RecipePinned(util.InheritedRecipeMixin, Sqlite3Recipe): FILE: contrib/android/p4a_recipes/toml/__init__.py class TomlRecipePinned (line 9) | class TomlRecipePinned(TomlRecipe): FILE: contrib/android/p4a_recipes/tomli/__init__.py class TomliRecipePinned (line 9) | class TomliRecipePinned(TomliRecipe): FILE: contrib/android/p4a_recipes/util.py class InheritedRecipeMixin (line 4) | class InheritedRecipeMixin: method get_recipe_dir (line 6) | def get_recipe_dir(self): FILE: contrib/deterministic-build/find_restricted_dependencies.py function is_dependency_edge_blacklisted (line 9) | def is_dependency_edge_blacklisted(*, parent_pkg: str, dep: str) -> bool: function check_restriction (line 22) | def check_restriction(*, dep: str, restricted: str, parent_pkg: str): function main (line 35) | def main(): FILE: electrum/__init__.py class GuiImportError (line 13) | class GuiImportError(ImportError): FILE: electrum/_vendor/distutils/version.py class Version (line 31) | class Version: method __init__ (line 38) | def __init__ (self, vstring=None): method __repr__ (line 42) | def __repr__ (self): method __eq__ (line 45) | def __eq__(self, other): method __lt__ (line 51) | def __lt__(self, other): method __le__ (line 57) | def __le__(self, other): method __gt__ (line 63) | def __gt__(self, other): method __ge__ (line 69) | def __ge__(self, other): class StrictVersion (line 93) | class StrictVersion (Version): method parse (line 134) | def parse (self, vstring): method __str__ (line 153) | def __str__ (self): method _cmp (line 166) | def _cmp (self, other): class LooseVersion (line 269) | class LooseVersion (Version): method __init__ (line 304) | def __init__ (self, vstring=None): method parse (line 309) | def parse (self, vstring): method __str__ (line 325) | def __str__ (self): method __repr__ (line 329) | def __repr__ (self): method _cmp (line 333) | def _cmp (self, other): FILE: electrum/_vendor/pyperclip/__init__.py function _executable_exists (line 87) | def _executable_exists(name): class PyperclipException (line 94) | class PyperclipException(RuntimeError): class PyperclipWindowsException (line 97) | class PyperclipWindowsException(PyperclipException): method __init__ (line 98) | def __init__(self, message): class PyperclipTimeoutException (line 102) | class PyperclipTimeoutException(PyperclipException): function _stringifyText (line 105) | def _stringifyText(text): function init_osx_pbcopy_clipboard (line 115) | def init_osx_pbcopy_clipboard(): function init_osx_pyobjc_clipboard (line 132) | def init_osx_pyobjc_clipboard(): function init_gtk_clipboard (line 151) | def init_gtk_clipboard(): function init_qt_clipboard (line 173) | def init_qt_clipboard(): function init_xclip_clipboard (line 205) | def init_xclip_clipboard(): function init_xsel_clipboard (line 233) | def init_xsel_clipboard(): function init_wl_clipboard (line 258) | def init_wl_clipboard(): function init_klipper_clipboard (line 285) | def init_klipper_clipboard(): function init_dev_clipboard_clipboard (line 314) | def init_dev_clipboard_clipboard(): function init_no_clipboard (line 335) | def init_no_clipboard(): class CheckedCall (line 354) | class CheckedCall(object): method __init__ (line 355) | def __init__(self, f): method __call__ (line 358) | def __call__(self, *args): method __setattr__ (line 364) | def __setattr__(self, key, value): function init_windows_clipboard (line 368) | def init_windows_clipboard(): function init_wsl_clipboard (line 509) | def init_wsl_clipboard(): function determine_clipboard (line 530) | def determine_clipboard(): function set_clipboard (line 615) | def set_clipboard(clipboard): function lazy_load_stub_copy (line 652) | def lazy_load_stub_copy(text): function lazy_load_stub_paste (line 674) | def lazy_load_stub_paste(): function is_available (line 696) | def is_available(): function waitForPaste (line 707) | def waitForPaste(timeout=None): function waitForNewPaste (line 725) | def waitForNewPaste(timeout=None): FILE: electrum/address_synchronizer.py class TxMinedDepth (line 61) | class TxMinedDepth(IntEnum): class HistoryItem (line 69) | class HistoryItem(NamedTuple): class AddressSynchronizer (line 77) | class AddressSynchronizer(Logger, EventListener): method __init__ (line 85) | def __init__(self, db: 'WalletDB', config: 'SimpleConfig', *, name: st... method invalidate_cache (line 109) | def invalidate_cache(self): method diagnostic_name (line 113) | def diagnostic_name(self): method load_and_cleanup (line 117) | def load_and_cleanup(self): method is_mine (line 123) | def is_mine(self, address: Optional[str]) -> bool: method get_addresses (line 136) | def get_addresses(self): method get_address_history (line 140) | def get_address_history(self, addr: str) -> Dict[str, int]: method get_address_history_len (line 155) | def get_address_history_len(self, addr: str) -> int: method get_txin_address (line 160) | def get_txin_address(self, txin: TxInput) -> Optional[str]: method get_txin_value (line 175) | def get_txin_value(self, txin: TxInput, *, address: str = None) -> Opt... method load_unverified_transactions (line 195) | def load_unverified_transactions(self): method start_network (line 203) | def start_network(self, network: Optional['Network']) -> None: method on_event_blockchain_updated (line 215) | def on_event_blockchain_updated(self, *args): method stop (line 219) | async def stop(self): method add_address (line 233) | def add_address(self, address: str) -> None: method get_conflicting_transactions (line 241) | def get_conflicting_transactions(self, tx: Transaction, *, include_sel... method get_transaction (line 272) | def get_transaction(self, txid: str) -> Optional[Transaction]: method add_transaction (line 282) | def add_transaction(self, tx: Transaction, *, allow_unrelated=False, i... method remove_transaction (line 382) | def remove_transaction(self, tx_hash: str) -> None: method _remove_transaction (line 391) | def _remove_transaction(self, tx_hash: str) -> None: method get_depending_transactions (line 432) | def get_depending_transactions(self, tx_hash: str) -> Set[str]: method receive_tx_callback (line 442) | def receive_tx_callback(self, tx: Transaction, *, tx_height: Optional[... method receive_history_callback (line 451) | def receive_history_callback(self, addr: str, hist, tx_fees: Dict[str,... method load_local_history (line 482) | def load_local_history(self): method check_history (line 490) | def check_history(self): method remove_local_transactions_we_dont_have (line 505) | def remove_local_transactions_we_dont_have(self): method clear_history (line 512) | def clear_history(self): method _get_tx_sort_key (line 518) | def _get_tx_sort_key(self, tx_hash: str) -> Tuple[int, int]: method tx_height_to_sort_height (line 526) | def tx_height_to_sort_height(cls, height: int = None): method with_local_height_cached (line 541) | def with_local_height_cached(func): method get_history (line 555) | def get_history(self, domain) -> Sequence[HistoryItem]: method _add_tx_to_local_history (line 591) | def _add_tx_to_local_history(self, txid): method _remove_tx_from_local_history (line 599) | def _remove_tx_from_local_history(self, txid): method _mark_address_history_changed (line 610) | def _mark_address_history_changed(self, addr: str) -> None: method wait_for_address_history_to_change (line 620) | async def wait_for_address_history_to_change(self, addr: str) -> None: method add_unverified_or_unconfirmed_tx (line 630) | def add_unverified_or_unconfirmed_tx(self, tx_hash: str, tx_height: in... method remove_unverified_tx (line 646) | def remove_unverified_tx(self, tx_hash: str, tx_height: int) -> None: method add_verified_tx (line 651) | def add_verified_tx(self, tx_hash: str, info: TxMinedInfo): method get_unverified_txs (line 660) | def get_unverified_txs(self) -> Dict[str, int]: method undo_verifications (line 664) | def undo_verifications(self, blockchain: Blockchain, above_height: int... method get_local_height (line 691) | def get_local_height(self) -> int: method _update_stored_local_height (line 698) | def _update_stored_local_height(self) -> None: method set_future_tx (line 701) | def set_future_tx(self, txid: str, *, wanted_height: int): method get_tx_height (line 713) | def get_tx_height( method up_to_date_changed (line 751) | def up_to_date_changed(self) -> None: method is_up_to_date (line 755) | def is_up_to_date(self): method reset_netrequest_counters (line 760) | def reset_netrequest_counters(self) -> None: method get_history_sync_state_details (line 766) | def get_history_sync_state_details(self) -> Tuple[int, int]: method get_tx_delta (line 779) | def get_tx_delta(self, tx_hash: str, address: str) -> int: method get_tx_fee (line 793) | def get_tx_fee(self, txid: str) -> Optional[int]: method get_addr_io (line 847) | def get_addr_io(self, address: str): method get_addr_outputs (line 862) | def get_addr_outputs(self, address: str) -> Dict[TxOutpoint, PartialTx... method get_addr_utxo (line 883) | def get_addr_utxo(self, address: str) -> Dict[TxOutpoint, PartialTxInp... method get_addr_received (line 891) | def get_addr_received(self, address): method get_balance (line 897) | def get_balance(self, domain, *, excluded_addresses: Set[str] = None, method get_utxos (line 963) | def get_utxos( method is_used (line 1013) | def is_used(self, address: str) -> bool: method is_used_as_from_address (line 1017) | def is_used_as_from_address(self, address: str) -> bool: method is_empty (line 1022) | def is_empty(self, address: str) -> bool: method address_is_old (line 1028) | def address_is_old(self, address: str, *, req_conf: int = 3) -> bool: method get_spender (line 1047) | def get_spender(self, outpoint: str) -> Optional[str]: method get_tx_mined_depth (line 1068) | def get_tx_mined_depth(self, txid: str): method is_deeply_mined (line 1087) | def is_deeply_mined(self, txid): FILE: electrum/base_crash_reporter.py function taint_reports_by_console_usage (line 43) | def taint_reports_by_console_usage(): class CrashReportResponse (line 48) | class CrashReportResponse(NamedTuple): class BaseCrashReporter (line 54) | class BaseCrashReporter(Logger): method __init__ (line 81) | def __init__( method send_report (line 90) | def send_report(self, asyncio_loop, proxy: 'ProxySettings', *, timeout... method do_post (line 124) | async def do_post(self, proxy: 'ProxySettings', url, data) -> str: method get_traceback_info (line 130) | def get_traceback_info( method get_traceback_groupid_hash (line 151) | def get_traceback_groupid_hash( method get_additional_info (line 161) | def get_additional_info(self): method _get_traceback_str_to_send (line 181) | def _get_traceback_str_to_send( method _get_traceback_str_to_display (line 192) | def _get_traceback_str_to_display(self) -> str: method get_report_string (line 196) | def get_report_string(self): method get_user_description (line 201) | def get_user_description(self): method get_wallet_type (line 204) | def get_wallet_type(self) -> str: class EarlyExceptionsQueue (line 208) | class EarlyExceptionsQueue: method set_hook_as_ready (line 221) | def set_hook_as_ready(cls): method send_exception_to_crash_reporter (line 231) | def send_exception_to_crash_reporter(cls, e: BaseException): method _send_exception_to_crash_reporter (line 238) | def _send_exception_to_crash_reporter(e: BaseException): function trigger_crash (line 246) | def trigger_crash(): FILE: electrum/bip21.py class InvalidBitcoinURI (line 17) | class InvalidBitcoinURI(Exception): function parse_bip21_URI (line 21) | def parse_bip21_URI(uri: str) -> dict: function create_bip21_uri (line 107) | def create_bip21_uri(addr, amount_sat: Optional[int], message: Optional[... FILE: electrum/bip32.py function protect_against_invalid_ecpoint (line 26) | def protect_against_invalid_ecpoint(func): function CKD_priv (line 42) | def CKD_priv(parent_privkey: bytes, parent_chaincode: bytes, child_index... function _CKD_priv (line 57) | def _CKD_priv(parent_privkey: bytes, parent_chaincode: bytes, function CKD_pub (line 80) | def CKD_pub(parent_pubkey: bytes, parent_chaincode: bytes, child_index: ... function _CKD_pub (line 94) | def _CKD_pub(parent_pubkey: bytes, parent_chaincode: bytes, child_index:... function xprv_header (line 104) | def xprv_header(xtype: str, *, net=None) -> bytes: function xpub_header (line 110) | def xpub_header(xtype: str, *, net=None) -> bytes: class InvalidMasterKeyVersionBytes (line 116) | class InvalidMasterKeyVersionBytes(BitcoinException): pass class BIP32Node (line 119) | class BIP32Node(NamedTuple): method from_xkey (line 128) | def from_xkey( method from_rootseed (line 169) | def from_rootseed(cls, seed: bytes, *, xtype: str) -> 'BIP32Node': method from_bytes (line 178) | def from_bytes(cls, b: bytes) -> 'BIP32Node': method to_xprv (line 184) | def to_xprv(self, *, net=None) -> str: method to_xprv_bytes (line 188) | def to_xprv_bytes(self, *, net=None) -> bytes: method to_xpub (line 201) | def to_xpub(self, *, net=None) -> str: method to_xpub_bytes (line 205) | def to_xpub_bytes(self, *, net=None) -> bytes: method to_xkey (line 215) | def to_xkey(self, *, net=None) -> str: method to_bytes (line 221) | def to_bytes(self, *, net=None) -> bytes: method convert_to_public (line 227) | def convert_to_public(self) -> 'BIP32Node': method is_private (line 233) | def is_private(self) -> bool: method subkey_at_private_derivation (line 236) | def subkey_at_private_derivation(self, path: Union[str, Iterable[int]]... method subkey_at_public_derivation (line 262) | def subkey_at_public_derivation(self, path: Union[str, Iterable[int]])... method calc_fingerprint_of_this_node (line 285) | def calc_fingerprint_of_this_node(self) -> bytes: function xpub_type (line 293) | def xpub_type(x: str) -> str: function is_xpub (line 298) | def is_xpub(text: str) -> bool: function is_xprv (line 306) | def is_xprv(text: str) -> bool: function xpub_from_xprv (line 314) | def xpub_from_xprv(xprv: str) -> str: function convert_bip32_strpath_to_intpath (line 318) | def convert_bip32_strpath_to_intpath(n: str) -> List[int]: function convert_bip32_intpath_to_strpath (line 357) | def convert_bip32_intpath_to_strpath(path: Sequence[int], *, hardened_ch... function is_bip32_derivation (line 376) | def is_bip32_derivation(s: str) -> bool: function normalize_bip32_derivation (line 387) | def normalize_bip32_derivation(s: Optional[str], *, hardened_char=BIP32_... function is_all_public_derivation (line 396) | def is_all_public_derivation(path: Union[str, Iterable[int]]) -> bool: function root_fp_and_der_prefix_from_xkey (line 408) | def root_fp_and_der_prefix_from_xkey(xkey: str) -> Tuple[Optional[str], ... function is_xkey_consistent_with_key_origin_info (line 426) | def is_xkey_consistent_with_key_origin_info(xkey: str, *, class KeyOriginInfo (line 449) | class KeyOriginInfo: method __init__ (line 457) | def __init__(self, fingerprint: bytes, path: Sequence[int]) -> None: method deserialize (line 466) | def deserialize(cls, s: bytes) -> 'KeyOriginInfo': method serialize (line 476) | def serialize(self) -> bytes: method _path_string (line 484) | def _path_string(self) -> str: method to_string (line 490) | def to_string(self) -> str: method from_string (line 500) | def from_string(cls, s: str) -> 'KeyOriginInfo': method get_derivation_path (line 513) | def get_derivation_path(self) -> str: method get_full_int_list (line 519) | def get_full_int_list(self) -> List[int]: method __eq__ (line 528) | def __eq__(self, other) -> bool: method __repr__ (line 533) | def __repr__(self) -> str: FILE: electrum/bip39_recovery.py function account_discovery (line 19) | async def account_discovery(network: Optional['Network'], get_account_xp... function scan_for_active_accounts (line 33) | async def scan_for_active_accounts(network: 'Network', get_account_xpub,... function account_has_history (line 49) | async def account_has_history(network: 'Network', account_node: BIP32Nod... function format_account (line 72) | def format_account(wallet_format, account_path): FILE: electrum/bitcoin.py class opcodes (line 60) | class opcodes(IntEnum): method hex (line 197) | def hex(self) -> str: function script_num_to_bytes (line 201) | def script_num_to_bytes(i: int) -> bytes: function var_int (line 225) | def var_int(i: int) -> bytes: function witness_push (line 240) | def witness_push(item: bytes) -> bytes: function _op_push (line 245) | def _op_push(i: int) -> bytes: function push_script (line 256) | def push_script(data: bytes) -> bytes: function make_op_return (line 275) | def make_op_return(x: bytes) -> bytes: function add_number_to_script (line 279) | def add_number_to_script(i: int) -> bytes: function construct_witness (line 283) | def construct_witness(items: Sequence[Union[str, int, bytes]]) -> bytes: function construct_script (line 299) | def construct_script( function relayfee (line 326) | def relayfee(network: 'Network' = None) -> int: function dust_threshold (line 348) | def dust_threshold(network: 'Network' = None) -> int: function hash_encode (line 353) | def hash_encode(x: bytes) -> str: function hash_decode (line 357) | def hash_decode(x: str) -> bytes: function hash160_to_b58_address (line 363) | def hash160_to_b58_address(h160: bytes, addrtype: int) -> str: function b58_address_to_hash160 (line 369) | def b58_address_to_hash160(addr: str) -> Tuple[int, bytes]: function hash160_to_p2pkh (line 377) | def hash160_to_p2pkh(h160: bytes, *, net=None) -> str: function hash160_to_p2sh (line 382) | def hash160_to_p2sh(h160: bytes, *, net=None) -> str: function public_key_to_p2pkh (line 387) | def public_key_to_p2pkh(public_key: bytes, *, net=None) -> str: function hash_to_segwit_addr (line 391) | def hash_to_segwit_addr(h: bytes, witver: int, *, net=None) -> str: function public_key_to_p2wpkh (line 398) | def public_key_to_p2wpkh(public_key: bytes, *, net=None) -> str: function script_to_p2wsh (line 402) | def script_to_p2wsh(script: bytes, *, net=None) -> str: function p2wsh_nested_script (line 406) | def p2wsh_nested_script(witness_script: bytes) -> bytes: function pubkey_to_address (line 411) | def pubkey_to_address(txin_type: str, pubkey: str, *, net=None) -> str: function redeem_script_to_address (line 418) | def redeem_script_to_address(txin_type: str, scriptcode: bytes, *, net=N... function script_to_address (line 434) | def script_to_address(script: bytes, *, net=None) -> Optional[str]: function address_to_script (line 439) | def address_to_script(addr: str, *, net=None) -> bytes: class OnchainOutputType (line 458) | class OnchainOutputType(Enum): function address_to_payload (line 469) | def address_to_payload(addr: str, *, net=None) -> Tuple[OnchainOutputTyp... function address_to_scripthash (line 498) | def address_to_scripthash(addr: str, *, net=None) -> str: function script_to_scripthash (line 503) | def script_to_scripthash(script: bytes) -> str: function pubkeyhash_to_p2pkh_script (line 508) | def pubkeyhash_to_p2pkh_script(pubkey_hash160: bytes) -> bytes: class BaseDecodeError (line 527) | class BaseDecodeError(BitcoinException): pass function base_encode (line 530) | def base_encode(v: bytes, *, base: int) -> str: function base_decode (line 553) | def base_decode(v: Union[bytes, str], *, base: int) -> Optional[bytes]: class InvalidChecksum (line 582) | class InvalidChecksum(BaseDecodeError): function EncodeBase58Check (line 586) | def EncodeBase58Check(vchIn: bytes) -> str: function DecodeBase58Check (line 591) | def DecodeBase58Check(psz: Union[bytes, str]) -> bytes: function is_segwit_script_type (line 616) | def is_segwit_script_type(txin_type: str) -> bool: function serialize_privkey (line 620) | def serialize_privkey(secret: bytes, compressed: bool, txin_type: str, *, function deserialize_privkey (line 637) | def deserialize_privkey(key: str) -> Tuple[str, bytes, bool]: function is_compressed_privkey (line 683) | def is_compressed_privkey(sec: str) -> bool: function address_from_private_key (line 687) | def address_from_private_key(sec: str) -> str: function is_segwit_address (line 693) | def is_segwit_address(addr: str, *, net=None) -> bool: function is_taproot_address (line 702) | def is_taproot_address(addr: str, *, net=None) -> bool: function is_b58_address (line 711) | def is_b58_address(addr: str, *, net=None) -> bool: function is_address (line 723) | def is_address(addr: str, *, net=None) -> bool: function is_private_key (line 728) | def is_private_key(key: str, *, raise_on_error=False) -> bool: function is_minikey (line 740) | def is_minikey(text: str) -> bool: function minikey_to_private_key (line 751) | def minikey_to_private_key(text: str) -> bytes: function _get_dummy_address (line 755) | def _get_dummy_address(purpose: str) -> str: class DummyAddress (line 762) | class DummyAddress: method purpose (line 766) | def purpose(func): method CHANNEL (line 771) | def CHANNEL(self) -> str: method SWAP (line 774) | def SWAP(self) -> str: method is_dummy_address (line 778) | def is_dummy_address(cls, addr: str) -> bool: class DummyAddressUsedInTxException (line 782) | class DummyAddressUsedInTxException(Exception): pass function taproot_tweak_pubkey (line 785) | def taproot_tweak_pubkey(pubkey32: bytes, h: bytes) -> Tuple[int, bytes]: function taproot_tweak_seckey (line 799) | def taproot_tweak_seckey(seckey0: bytes, h: bytes) -> bytes: function taproot_tree_helper (line 821) | def taproot_tree_helper(script_tree: TapTree): function taproot_output_script (line 834) | def taproot_output_script(internal_pubkey: bytes, *, script_tree: Option... function control_block_for_taproot_script_spend (line 846) | def control_block_for_taproot_script_spend( function usermessage_magic (line 863) | def usermessage_magic(message: bytes) -> bytes: function ecdsa_sign_usermessage (line 868) | def ecdsa_sign_usermessage(ec_privkey, message: Union[bytes, str], *, is... function verify_usermessage_with_address (line 874) | def verify_usermessage_with_address(address: str, sig65: bytes, message:... FILE: electrum/blockchain.py class MissingHeader (line 47) | class MissingHeader(Exception): class InvalidHeader (line 51) | class InvalidHeader(Exception): function serialize_header (line 55) | def serialize_header(header_dict: dict) -> bytes: function deserialize_header (line 66) | def deserialize_header(s: bytes, height: int) -> dict: function hash_header (line 82) | def hash_header(header: dict) -> str: function hash_raw_header (line 90) | def hash_raw_header(header: bytes) -> str: function read_blockchains (line 104) | def read_blockchains(config: 'SimpleConfig'): function get_best_chain (line 166) | def get_best_chain() -> 'Blockchain': function init_headers_file_for_best_chain (line 176) | def init_headers_file_for_best_chain(): class Blockchain (line 190) | class Blockchain(Logger): method __init__ (line 195) | def __init__(self, config: 'SimpleConfig', forkpoint: int, parent: Opt... method checkpoints (line 212) | def checkpoints(self): method get_max_child (line 215) | def get_max_child(self) -> Optional[int]: method get_max_forkpoint (line 219) | def get_max_forkpoint(self) -> int: method get_direct_children (line 226) | def get_direct_children(self) -> Sequence['Blockchain']: method get_parent_heights (line 230) | def get_parent_heights(self) -> Mapping['Blockchain', int]: method get_height_of_last_common_block_with_chain (line 242) | def get_height_of_last_common_block_with_chain(self, other_chain: 'Blo... method get_branch_size (line 253) | def get_branch_size(self) -> int: method get_name (line 256) | def get_name(self) -> str: method check_header (line 259) | def check_header(self, header: dict) -> bool: method check_hash (line 264) | def check_hash(self, height: int, header_hash: str) -> bool: method fork (line 274) | def fork(parent, header: dict) -> 'Blockchain': method height (line 294) | def height(self) -> int: method size (line 298) | def size(self) -> int: method update_size (line 302) | def update_size(self) -> None: method verify_header (line 307) | def verify_header(cls, header: dict, prev_hash: str, target: int, expe... method verify_chunk (line 323) | def verify_chunk(self, index: int, data: bytes) -> None: method path (line 340) | def path(self): method save_chunk (line 353) | def save_chunk(self, index: int, chunk: bytes): method swap_with_parent (line 373) | def swap_with_parent(self) -> None: method _swap_with_parent (line 390) | def _swap_with_parent(self) -> bool: method get_id (line 436) | def get_id(self) -> str: method assert_headers_file_available (line 439) | def assert_headers_file_available(self, path): method write (line 448) | def write(self, data: bytes, offset: int, truncate: bool = True, *, fs... method save_header (line 463) | def save_header(self, header: dict) -> None: method read_header (line 474) | def read_header(self, height: int) -> Optional[dict]: method header_at_tip (line 493) | def header_at_tip(self) -> Optional[dict]: method is_tip_stale (line 498) | def is_tip_stale(self) -> bool: method get_hash (line 512) | def get_hash(self, height: int) -> str: method get_target (line 532) | def get_target(self, index: int) -> int: method bits_to_target (line 558) | def bits_to_target(cls, bits: int) -> int: method target_to_bits (line 579) | def target_to_bits(cls, target: int) -> int: method chainwork_of_header_at_height (line 595) | def chainwork_of_header_at_height(self, height: int) -> int: method get_chainwork (line 603) | def get_chainwork(self, height=None) -> int: method can_connect (line 629) | def can_connect(self, header: dict, *, check_height: bool = True) -> b... method connect_chunk (line 653) | def connect_chunk(self, idx: int, data: bytes) -> bool: method get_checkpoints (line 663) | def get_checkpoints(self): function check_header (line 674) | def check_header(header: dict) -> Optional[Blockchain]: function can_connect (line 685) | def can_connect(header: dict) -> Optional[Blockchain]: function get_chains_that_contain_header (line 696) | def get_chains_that_contain_header(height: int, header_hash: str) -> Seq... FILE: electrum/channel_db.py class ChannelDBNotLoaded (line 64) | class ChannelDBNotLoaded(UserFacingException): pass class ChannelInfo (line 67) | class ChannelInfo(NamedTuple): method from_msg (line 75) | def from_msg(payload: dict) -> 'ChannelInfo': method from_raw_msg (line 92) | def from_raw_msg(raw: bytes) -> 'ChannelInfo': method from_route_edge (line 98) | def from_route_edge(route_edge: 'RouteEdge') -> 'ChannelInfo': class Policy (line 108) | class Policy(NamedTuple): method from_msg (line 121) | def from_msg(payload: dict) -> 'Policy': method from_raw_msg (line 136) | def from_raw_msg(key: bytes, raw: bytes) -> 'Policy': method from_route_edge (line 143) | def from_route_edge(route_edge: 'RouteEdge') -> 'Policy': method is_disabled (line 156) | def is_disabled(self): method short_channel_id (line 160) | def short_channel_id(self) -> ShortChannelID: method start_node (line 164) | def start_node(self) -> bytes: class NodeInfo (line 168) | class NodeInfo(NamedTuple): method from_msg (line 176) | def from_msg(payload) -> Tuple['NodeInfo', Sequence['LNPeerAddr']]: method from_raw_msg (line 202) | def from_raw_msg(raw: bytes) -> Tuple['NodeInfo', Sequence['LNPeerAddr... method to_addresses_field (line 208) | def to_addresses_field(hostname: str, port: int) -> bytes: method invalid_announcement_hostname (line 238) | def invalid_announcement_hostname(hostname: Optional[str]) -> bool: method parse_addresses_field (line 251) | def parse_addresses_field(addresses_field): class UpdateStatus (line 296) | class UpdateStatus(IntEnum): class CategorizedChannelUpdates (line 304) | class CategorizedChannelUpdates(NamedTuple): function get_mychannel_info (line 312) | def get_mychannel_info(short_channel_id: ShortChannelID, function get_mychannel_policy (line 322) | def get_mychannel_policy(short_channel_id: bytes, node_id: bytes, class _LoadDataAborted (line 342) | class _LoadDataAborted(Exception): pass class ChannelDB (line 376) | class ChannelDB(SqlDB): method __init__ (line 382) | def __init__(self, network: 'Network'): method get_file_path (line 418) | def get_file_path(cls, config: 'SimpleConfig') -> str: method update_counts (line 421) | def update_counts(self): method get_channel_ids (line 428) | def get_channel_ids(self): method add_recent_peer (line 432) | def add_recent_peer(self, peer: LNPeerAddr): method get_200_randomly_sorted_nodes_not_in (line 444) | def get_200_randomly_sorted_nodes_not_in(self, node_ids): method get_last_good_address (line 449) | def get_last_good_address(self, node_id: bytes) -> Optional[LNPeerAddr]: method get_recent_peers (line 460) | def get_recent_peers(self): method add_channel_announcements (line 473) | def add_channel_announcements(self, msg_payloads, *, trusted=True): method add_verified_channel_info (line 498) | def add_verified_channel_info(self, msg: dict, *, capacity_sat: int = ... method policy_changed (line 515) | def policy_changed(self, old_policy: Policy, new_policy: Policy, verbo... method add_channel_update (line 549) | def add_channel_update( method add_channel_updates (line 588) | def add_channel_updates(self, payloads, max_age=None) -> CategorizedCh... method create_database (line 614) | def create_database(self): method _db_save_policy (line 623) | def _db_save_policy(self, key: bytes, msg: bytes): method _db_delete_policy (line 629) | def _db_delete_policy(self, node_id: bytes, short_channel_id: ShortCha... method _db_save_channel (line 635) | def _db_save_channel(self, short_channel_id: ShortChannelID, msg: bytes): method _db_delete_channel (line 641) | def _db_delete_channel(self, short_channel_id: ShortChannelID): method _db_save_node_info (line 646) | def _db_save_node_info(self, node_id: bytes, msg: bytes): method _db_save_node_address (line 652) | def _db_save_node_address(self, peer: LNPeerAddr, timestamp: int): method _db_save_node_addresses (line 658) | def _db_save_node_addresses(self, node_addresses: Sequence[LNPeerAddr]): method verify_channel_update (line 667) | def verify_channel_update(cls, payload, *, start_node: bytes = None) -... method verify_channel_announcement (line 678) | def verify_channel_announcement(cls, payload) -> None: method verify_node_announcement (line 687) | def verify_node_announcement(cls, payload) -> None: method add_node_announcements (line 694) | def add_node_announcements(self, msg_payloads): method get_old_policies (line 729) | def get_old_policies(self, delta) -> Sequence[Tuple[bytes, ShortChanne... method prune_old_policies (line 735) | def prune_old_policies(self, delta): method prune_orphaned_channels (line 747) | def prune_orphaned_channels(self): method _get_channel_update_for_private_channel (line 756) | def _get_channel_update_for_private_channel( method add_channel_update_for_private_channel (line 772) | def add_channel_update_for_private_channel( method remove_channel (line 798) | def remove_channel(self, short_channel_id: ShortChannelID): method get_node_addresses (line 809) | def get_node_addresses(self, node_id: bytes) -> Sequence[Tuple[str, in... method handle_abort (line 817) | def handle_abort(func): method load_data (line 829) | def load_data(self): method _update_num_policies_for_chan (line 898) | def _update_num_policies_for_chan(self, short_channel_id: ShortChannel... method get_num_channels_partitioned_by_policy_count (line 919) | def get_num_channels_partitioned_by_policy_count(self) -> Tuple[int, i... method get_policy_for_node (line 925) | def get_policy_for_node( method get_channel_info (line 951) | def get_channel_info( method get_channels_for_node (line 971) | def get_channels_for_node( method get_endnodes_for_chan (line 995) | def get_endnodes_for_chan(self, short_channel_id: ShortChannelID, *, method get_node_info_for_node_id (line 1008) | def get_node_info_for_node_id(self, node_id: bytes) -> Optional['NodeI... method get_node_infos (line 1011) | def get_node_infos(self) -> Dict[bytes, NodeInfo]: method get_node_policies (line 1015) | def get_node_policies(self) -> Dict[Tuple[bytes, ShortChannelID], Poli... method get_node_by_prefix (line 1019) | def get_node_by_prefix(self, prefix): method clear_forwarding_gossip (line 1026) | def clear_forwarding_gossip(self) -> None: method filter_orphan_channel_anns (line 1032) | def filter_orphan_channel_anns( method set_fwd_channel_anns_ts (line 1048) | def set_fwd_channel_anns_ts(self, channel_anns: List[GossipForwardingM... method get_forwarding_gossip_batch (line 1077) | def get_forwarding_gossip_batch(self) -> List[GossipForwardingMessage]: method get_gossip_in_timespan (line 1088) | def get_gossip_in_timespan(self, timespan: GossipTimestampFilter) \ method get_channels_in_range (line 1121) | def get_channels_in_range(self, first_blocknum: int, number_of_blocks:... method get_gossip_for_scid_request (line 1131) | def get_gossip_for_scid_request(self, scid: ShortChannelID) -> List[by... method to_dict (line 1147) | def to_dict(self) -> dict: FILE: electrum/coinchooser.py class PRNG (line 45) | class PRNG: method __init__ (line 46) | def __init__(self, seed): method get_bytes (line 50) | def get_bytes(self, n: int) -> bytes: method randint (line 57) | def randint(self, start, end): method choice (line 67) | def choice(self, seq): method shuffle (line 70) | def shuffle(self, x): class Bucket (line 77) | class Bucket(NamedTuple): class ScoredCandidate (line 87) | class ScoredCandidate(NamedTuple): function strip_unneeded (line 93) | def strip_unneeded(bkts: List[Bucket], sufficient_funds: Callable) -> Li... class CoinChooserBase (line 107) | class CoinChooserBase(Logger): method __init__ (line 109) | def __init__(self, *, enable_output_value_rounding: bool): method keys (line 113) | def keys(self, coins: Sequence[PartialTxInput]) -> Sequence[str]: method bucketize_coins (line 116) | def bucketize_coins( method penalty_func (line 159) | def penalty_func( method _change_amounts (line 167) | def _change_amounts(self, tx: PartialTransaction, count: int, fee_esti... method _change_outputs (line 224) | def _change_outputs(self, tx: PartialTransaction, change_addrs, fee_es... method _construct_tx_from_selected_buckets (line 239) | def _construct_tx_from_selected_buckets( method _get_tx_weight (line 267) | def _get_tx_weight(self, buckets: Sequence[Bucket], *, base_weight: in... method make_tx (line 287) | def make_tx( method choose_buckets (line 376) | def choose_buckets(self, buckets: List[Bucket], class CoinChooserRandom (line 382) | class CoinChooserRandom(CoinChooserBase): method bucket_candidates_any (line 384) | def bucket_candidates_any( method bucket_candidates_prefer_confirmed (line 426) | def bucket_candidates_prefer_confirmed( method choose_buckets (line 472) | def choose_buckets(self, buckets, sufficient_funds, penalty_func): class CoinChooserPrivacy (line 482) | class CoinChooserPrivacy(CoinChooserRandom): method keys (line 493) | def keys(self, coins): method penalty_func (line 496) | def penalty_func(self, base_tx, *, tx_from_buckets): function get_name (line 531) | def get_name(config: 'SimpleConfig') -> str: function get_coin_chooser (line 538) | def get_coin_chooser(config: 'SimpleConfig') -> CoinChooserBase: FILE: electrum/commands.py class NotSynchronizedException (line 93) | class NotSynchronizedException(UserFacingException): function satoshis_or_max (line 97) | def satoshis_or_max(amount): function satoshis (line 101) | def satoshis(amount): function format_satoshis (line 106) | def format_satoshis(x: Union[float, int, Decimal, None]) -> Optional[str]: class Command (line 116) | class Command: method __init__ (line 117) | def __init__(self, func, name, s): method parse_docstring (line 145) | def parse_docstring(self, docstring): function command (line 158) | def command(s): class Commands (line 209) | class Commands(Logger): method __init__ (line 211) | def __init__(self, *, config: 'SimpleConfig', method _run (line 220) | def _run(self, method, args, password_getter=None, **kwargs): method getinfo (line 249) | async def getinfo(self): method stop (line 267) | async def stop(self): method list_wallets (line 273) | async def list_wallets(self): method load_wallet (line 285) | async def load_wallet(self, wallet_path=None, password=None): method close_wallet (line 296) | async def close_wallet(self, wallet_path=None): method create (line 301) | async def create(self, passphrase=None, password=None, encrypt_file=Tr... method restore (line 323) | async def restore(self, text, passphrase=None, password=None, encrypt_... method password (line 347) | async def password(self, password=None, new_password=None, encrypt_fil... method get (line 367) | async def get(self, key, wallet: Abstract_Wallet = None): method getconfig (line 376) | async def getconfig(self, key): method _setconfig_normalize_value (line 388) | def _setconfig_normalize_value(cls, key, value): method _setconfig (line 398) | def _setconfig(self, key, value): method setconfig (line 411) | async def setconfig(self, key, value): method unsetconfig (line 421) | async def unsetconfig(self, key): method listconfig (line 431) | async def listconfig(self): method helpconfig (line 436) | async def helpconfig(self, key): method make_seed (line 452) | async def make_seed(self, nbits=None, language=None, seed_type=None): method getaddresshistory (line 464) | async def getaddresshistory(self, address): method unlock (line 475) | async def unlock(self, wallet: Abstract_Wallet = None, password=None): method listunspent (line 480) | async def listunspent(self, wallet: Abstract_Wallet = None): method getaddressunspent (line 492) | async def getaddressunspent(self, address): method serialize (line 503) | async def serialize(self, jsontx): method signtransaction_with_privkey (line 562) | async def signtransaction_with_privkey(self, tx, privkey): method signtransaction (line 590) | async def signtransaction(self, tx, password=None, wallet: Abstract_Wa... method deserialize (line 602) | async def deserialize(self, tx): method broadcast (line 612) | async def broadcast(self, tx): method createmultisig (line 623) | async def createmultisig(self, num, pubkeys): method freeze (line 636) | async def freeze(self, address: str, wallet: Abstract_Wallet = None): method unfreeze (line 645) | async def unfreeze(self, address: str, wallet: Abstract_Wallet = None): method freeze_utxo (line 654) | async def freeze_utxo(self, coin: str, wallet: Abstract_Wallet = None): method unfreeze_utxo (line 664) | async def unfreeze_utxo(self, coin: str, wallet: Abstract_Wallet = None): method getprivatekeys (line 673) | async def getprivatekeys(self, address, password=None, wallet: Abstrac... method getprivatekeyforpath (line 687) | async def getprivatekeyforpath(self, path, password=None, wallet: Abst... method ismine (line 695) | async def ismine(self, address, wallet: Abstract_Wallet = None): method dumpprivkeys (line 704) | async def dumpprivkeys(self): method validateaddress (line 709) | async def validateaddress(self, address): method getpubkeys (line 717) | async def getpubkeys(self, address, wallet: Abstract_Wallet = None): method getbalance (line 726) | async def getbalance(self, wallet: Abstract_Wallet = None): method getaddressbalance (line 740) | async def getaddressbalance(self, address): method getmerkle (line 754) | async def getmerkle(self, txid, height): method getservers (line 764) | async def getservers(self): method version (line 769) | async def version(self): method version_info (line 774) | async def version_info(self): method getmpk (line 815) | async def getmpk(self, wallet: Abstract_Wallet = None): method getmasterprivate (line 820) | async def getmasterprivate(self, password=None, wallet: Abstract_Walle... method convert_xkey (line 825) | async def convert_xkey(self, xkey, xtype): method getseed (line 838) | async def getseed(self, password=None, wallet: Abstract_Wallet = None): method importprivkey (line 844) | async def importprivkey(self, privkey, password=None, wallet: Abstract... method _resolver (line 869) | async def _resolver(self, x, wallet: Abstract_Wallet): method sweep (line 876) | async def sweep(self, privkey, destination, fee=None, feerate=None, im... method signmessage (line 901) | async def signmessage(self, address, message, password=None, wallet: A... method verifymessage (line 912) | async def verifymessage(self, address, signature, message): method _get_fee_policy (line 926) | def _get_fee_policy(self, fee: str, feerate: str): method payto (line 940) | async def payto(self, destination, amount, fee=None, feerate=None, fro... method paytomany (line 972) | async def paytomany(self, outputs, fee=None, feerate=None, from_addr=N... method get_year_timestamps (line 1017) | def get_year_timestamps(self, year: int) -> dict[str, Any]: method onchain_capital_gains (line 1027) | async def onchain_capital_gains(self, year=None, wallet: Abstract_Wall... method bumpfee (line 1040) | async def bumpfee(self, tx, new_fee_rate, from_coins=None, decrease_pa... method onchain_history (line 1077) | async def onchain_history( method lightning_history (line 1116) | async def lightning_history(self, wallet: Abstract_Wallet = None): method setlabel (line 1123) | async def setlabel(self, key, label, wallet: Abstract_Wallet = None): method listcontacts (line 1134) | async def listcontacts(self, wallet: Abstract_Wallet = None): method getopenalias (line 1139) | async def getopenalias(self, key, wallet: Abstract_Wallet = None): method searchcontacts (line 1152) | async def searchcontacts(self, query, wallet: Abstract_Wallet = None): method listaddresses (line 1165) | async def listaddresses(self, receiving=False, change=False, labels=Fa... method gettransaction (line 1199) | async def gettransaction(self, txid, wallet: Abstract_Wallet = None): method encrypt (line 1218) | async def encrypt(self, pubkey, message) -> str: method decrypt (line 1236) | async def decrypt(self, pubkey, encrypted, password=None, wallet: Abst... method get_request (line 1250) | async def get_request(self, request_id, wallet: Abstract_Wallet = None): method get_invoice (line 1261) | async def get_invoice(self, invoice_id, wallet: Abstract_Wallet = None): method _filter_invoices (line 1272) | def _filter_invoices(self, _list, wallet, pending, expired, paid): method list_requests (line 1286) | async def list_requests(self, pending=False, expired=False, paid=False... method list_invoices (line 1298) | async def list_invoices(self, pending=False, expired=False, paid=False... method createnewaddress (line 1310) | async def createnewaddress(self, wallet: Abstract_Wallet = None): method changegaplimit (line 1315) | async def changegaplimit(self, new_limit, iknowwhatimdoing=False, wall... method getminacceptablegap (line 1334) | async def getminacceptablegap(self, wallet: Abstract_Wallet = None): method getunusedaddress (line 1345) | async def getunusedaddress(self, wallet: Abstract_Wallet = None): method add_request (line 1351) | async def add_request(self, amount, memo='', expiry=3600, lightning=Fa... method add_hold_invoice (line 1379) | async def add_hold_invoice( method settle_hold_invoice (line 1432) | async def settle_hold_invoice(self, preimage: str, wallet: Abstract_Wa... method cancel_hold_invoice (line 1456) | async def cancel_hold_invoice(self, payment_hash: str, wallet: Abstrac... method check_hold_invoice (line 1480) | async def check_hold_invoice(self, payment_hash: str, wallet: Abstract... method export_lightning_preimage (line 1524) | async def export_lightning_preimage(self, payment_hash: str, wallet: '... method addtransaction (line 1535) | async def addtransaction(self, tx, wallet: Abstract_Wallet = None): method delete_request (line 1548) | async def delete_request(self, request_id, wallet: Abstract_Wallet = N... method delete_invoice (line 1556) | async def delete_invoice(self, invoice_id, wallet: Abstract_Wallet = N... method clear_requests (line 1564) | async def clear_requests(self, wallet: Abstract_Wallet = None): method clear_invoices (line 1570) | async def clear_invoices(self, wallet: Abstract_Wallet = None): method notify (line 1576) | async def notify(self, address: str, URL: Optional[str]): method is_synchronized (line 1593) | async def is_synchronized(self, wallet: Abstract_Wallet = None): method wait_for_sync (line 1598) | async def wait_for_sync(self, wallet: Abstract_Wallet = None): method getfeerate (line 1606) | async def getfeerate(self): method test_inject_fee_etas (line 1623) | async def test_inject_fee_etas(self, fee_est): method removelocaltx (line 1646) | async def removelocaltx(self, txid, wallet: Abstract_Wallet = None): method get_tx_status (line 1661) | async def get_tx_status(self, txid, wallet: Abstract_Wallet = None): method help (line 1674) | async def help(self): method add_peer (line 1681) | async def add_peer(self, connection_string, timeout=20, gossip=False, ... method gossip_info (line 1699) | async def gossip_info(self, wallet: Abstract_Wallet = None): method list_peers (line 1721) | async def list_peers(self, gossip=False, wallet: Abstract_Wallet = None): method open_channel (line 1737) | async def open_channel(self, connection_string, amount, push_amount=0,... method decode_invoice (line 1761) | async def decode_invoice(self, invoice: str): method lnpay (line 1771) | async def lnpay( method nodeid (line 1826) | async def nodeid(self, wallet: Abstract_Wallet = None): method list_channels (line 1832) | async def list_channels(self, public: bool = False, private: bool = Fa... method list_channel_backups (line 1875) | async def list_channel_backups(self, wallet: Abstract_Wallet = None): method enable_htlc_settle (line 1890) | async def enable_htlc_settle(self, b: bool, wallet: Abstract_Wallet = ... method clear_ln_blacklist (line 1899) | async def clear_ln_blacklist(self): method reset_liquidity_hints (line 1904) | async def reset_liquidity_hints(self): method close_channel (line 1910) | async def close_channel(self, channel_point, force=False, password=Non... method request_force_close (line 1926) | async def request_force_close(self, channel_point, connection_string=N... method export_channel_backup (line 1942) | async def export_channel_backup(self, channel_point, password=None, wa... method import_channel_backup (line 1955) | async def import_channel_backup(self, encrypted, wallet: Abstract_Wall... method get_channel_ctx (line 1962) | async def get_channel_ctx(self, channel_point, password=None, iknowwha... method get_watchtower_ctn (line 1982) | async def get_watchtower_ctn(self, channel_point, wallet: Abstract_Wal... method rebalance_channels (line 1991) | async def rebalance_channels(self, from_scid, dest_scid, amount, passw... method get_submarine_swap_providers (line 2018) | async def get_submarine_swap_providers(self, query_time=15, wallet: Ab... method normal_swap (line 2044) | async def normal_swap(self, onchain_amount, lightning_amount, password... method reverse_swap (line 2084) | async def reverse_swap( method convert_currency (line 2134) | async def convert_currency(self, from_amount=1, from_ccy='', to_ccy=''): method send_onion_message (line 2176) | async def send_onion_message(self, node_id_or_blinded_path_hex: str, m... method get_blinded_path_via (line 2207) | async def get_blinded_path_via(self, node_id: str, dummy_hops: int = 0... function plugin_command (line 2239) | def plugin_command(s, plugin_name): function eval_bool (line 2267) | def eval_bool(x: str) -> bool: function check_txid (line 2280) | def check_txid(txid): function set_default_subparser (line 2310) | def set_default_subparser(self, name, args=None): function subparser_call (line 2338) | def subparser_call(self, parser, namespace, values, option_string=None): function add_network_options (line 2364) | def add_network_options(parser): function add_global_options (line 2393) | def add_global_options(parser, suppress=False): function get_simple_parser (line 2425) | def get_simple_parser(): function get_parser (line 2446) | def get_parser(): FILE: electrum/constants.py function read_json (line 35) | def read_json(filename, default=None): function create_fallback_node_list (line 49) | def create_fallback_node_list(fallback_nodes_dict: dict[str, dict]) -> L... class AbstractNet (line 64) | class AbstractNet: method max_checkpoint (line 85) | def max_checkpoint(cls) -> int: method rev_genesis_bytes (line 89) | def rev_genesis_bytes(cls) -> bytes: method set_as_network (line 93) | def set_as_network(cls) -> None: method DEFAULT_SERVERS (line 99) | def DEFAULT_SERVERS(cls) -> Mapping[str, Mapping[str, str]]: method FALLBACK_LN_NODES (line 107) | def FALLBACK_LN_NODES(cls) -> Sequence[LNPeerAddr]: method CHECKPOINTS (line 116) | def CHECKPOINTS(cls) -> Sequence[Tuple[str, int]]: method datadir_subdir (line 123) | def datadir_subdir(cls) -> Optional[str]: method cli_flag (line 130) | def cli_flag(cls) -> str: method config_key (line 135) | def config_key(cls) -> str: class BitcoinMainnet (line 140) | class BitcoinMainnet(AbstractNet): method datadir_subdir (line 178) | def datadir_subdir(cls): class BitcoinTestnet (line 182) | class BitcoinTestnet(AbstractNet): class BitcoinTestnet4 (line 218) | class BitcoinTestnet4(BitcoinTestnet): class BitcoinRegtest (line 225) | class BitcoinRegtest(BitcoinTestnet): class BitcoinSimnet (line 234) | class BitcoinSimnet(BitcoinTestnet): class BitcoinSignet (line 246) | class BitcoinSignet(BitcoinTestnet): class BitcoinMutinynet (line 254) | class BitcoinMutinynet(BitcoinTestnet): FILE: electrum/contacts.py class AliasNotFoundException (line 43) | class AliasNotFoundException(Exception): class Contacts (line 47) | class Contacts(dict, Logger): method __init__ (line 49) | def __init__(self, db: 'WalletDB'): method save (line 64) | def save(self): method import_file (line 68) | def import_file(self, path): method export_file (line 74) | def export_file(self, path): method __setitem__ (line 77) | def __setitem__(self, key, value): method pop (line 81) | def pop(self, key): method resolve (line 88) | async def resolve(self, k) -> dict: method resolve_openalias (line 107) | async def resolve_openalias(cls, url: str) -> Dict[str, Any]: method by_name (line 118) | def by_name(self, name): method fetch_openalias (line 129) | def fetch_openalias(self, config: 'SimpleConfig'): method _resolve_openalias (line 140) | async def _resolve_openalias(cls, url: str) -> Optional[Tuple[str, str]]: method find_regex (line 167) | def find_regex(haystack, needle): method _validate (line 174) | def _validate(self, data): FILE: electrum/crypto.py function version_info (line 89) | def version_info() -> Mapping[str, Optional[str]]: class InvalidPadding (line 110) | class InvalidPadding(Exception): class CiphertextFormatError (line 114) | class CiphertextFormatError(Exception): function append_PKCS7_padding (line 118) | def append_PKCS7_padding(data: bytes) -> bytes: function strip_PKCS7_padding (line 124) | def strip_PKCS7_padding(data: bytes) -> bytes: function aes_encrypt_with_iv (line 137) | def aes_encrypt_with_iv(key: bytes, iv: bytes, data: bytes) -> bytes: function aes_decrypt_with_iv (line 155) | def aes_decrypt_with_iv(key: bytes, iv: bytes, data: bytes) -> bytes: function EncodeAES_bytes (line 176) | def EncodeAES_bytes(secret: bytes, msg: bytes) -> bytes: function DecodeAES_bytes (line 183) | def DecodeAES_bytes(secret: bytes, ciphertext: bytes) -> bytes: class UnexpectedPasswordHashVersion (line 197) | class UnexpectedPasswordHashVersion(InvalidPassword, WalletFileException): method __init__ (line 198) | def __init__(self, version): method __str__ (line 203) | def __str__(self): class UnsupportedPasswordHashVersion (line 210) | class UnsupportedPasswordHashVersion(InvalidPassword, WalletFileException): method __init__ (line 211) | def __init__(self, version): method __str__ (line 216) | def __str__(self): function _hash_password (line 224) | def _hash_password(password: Union[bytes, str], *, version: int) -> bytes: function _pw_encode_raw (line 235) | def _pw_encode_raw(data: bytes, password: Union[bytes, str], *, version:... function _pw_decode_raw (line 245) | def _pw_decode_raw(data_bytes: bytes, password: Union[bytes, str], *, ve... function pw_encode_bytes (line 258) | def pw_encode_bytes(data: bytes, password: Union[bytes, str], *, version... function pw_decode_bytes (line 265) | def pw_decode_bytes(data: str, password: Union[bytes, str], *, version:i... function pw_encode_with_version_and_mac (line 276) | def pw_encode_with_version_and_mac(data: bytes, password: Union[bytes, s... function pw_decode_with_version_and_mac (line 287) | def pw_decode_with_version_and_mac(data: str, password: Union[bytes, str... function pw_encode (line 304) | def pw_encode(data: str, password: Union[bytes, str, None], *, version: ... function pw_decode (line 312) | def pw_decode(data: str, password: Union[bytes, str, None], *, version: ... function sha256 (line 324) | def sha256(x: Union[bytes, str]) -> bytes: function sha256d (line 329) | def sha256d(x: Union[bytes, str]) -> bytes: function hash_160 (line 335) | def hash_160(x: bytes) -> bytes: function ripemd (line 338) | def ripemd(x: bytes) -> bytes: function hmac_oneshot (line 353) | def hmac_oneshot(key: bytes, msg: bytes, digest) -> bytes: function chacha20_poly1305_encrypt (line 357) | def chacha20_poly1305_encrypt( function chacha20_poly1305_decrypt (line 382) | def chacha20_poly1305_decrypt( function chacha20_encrypt (line 410) | def chacha20_encrypt(*, key: bytes, nonce: bytes, data: bytes) -> bytes: function chacha20_decrypt (line 431) | def chacha20_decrypt(*, key: bytes, nonce: bytes, data: bytes) -> bytes: function ecies_encrypt_message (line 449) | def ecies_encrypt_message( function ecies_decrypt_message (line 470) | def ecies_decrypt_message( function get_ecdh (line 497) | def get_ecdh(priv: bytes, pub: bytes) -> bytes: function privkey_to_pubkey (line 501) | def privkey_to_pubkey(priv: bytes) -> bytes: FILE: electrum/daemon.py class DaemonNotRunning (line 65) | class DaemonNotRunning(Exception): function get_rpcsock_defaultpath (line 69) | def get_rpcsock_defaultpath(config: SimpleConfig): function get_rpcsock_default_type (line 73) | def get_rpcsock_default_type(config: SimpleConfig): function get_lockfile (line 84) | def get_lockfile(config: SimpleConfig): function remove_lockfile (line 88) | def remove_lockfile(lockfile): function get_file_descriptor (line 92) | def get_file_descriptor(config: SimpleConfig): function request (line 112) | def request(config: SimpleConfig, endpoint, args=(), timeout: Union[floa... function wait_until_daemon_becomes_ready (line 167) | def wait_until_daemon_becomes_ready(*, config: SimpleConfig, timeout=5) ... function get_rpc_credentials (line 180) | def get_rpc_credentials(config: SimpleConfig) -> Tuple[str, str]: class AuthenticationError (line 196) | class AuthenticationError(Exception): class AuthenticationInvalidOrMissing (line 200) | class AuthenticationInvalidOrMissing(AuthenticationError): class AuthenticationCredentialsInvalid (line 204) | class AuthenticationCredentialsInvalid(AuthenticationError): class AuthenticatedServer (line 208) | class AuthenticatedServer(Logger): method __init__ (line 210) | def __init__(self, rpc_user, rpc_password): method register_method (line 217) | def register_method(self, name: str, f): method authenticate (line 221) | async def authenticate(self, headers): method handle (line 239) | async def handle(self, request): class CommandsServer (line 287) | class CommandsServer(AuthenticatedServer): method __init__ (line 289) | def __init__(self, daemon: 'Daemon', fd): method _socket_config_str (line 309) | def _socket_config_str(self) -> str: method run (line 317) | async def run(self): method ping (line 341) | async def ping(self): method gui (line 344) | async def gui(self, config_options): method run_cmdline (line 361) | async def run_cmdline(self, config_options): class Daemon (line 385) | class Daemon(Logger): method __init__ (line 391) | def __init__( method _run (line 430) | async def _run(self): method start_network (line 444) | def start_network(self): method _wallet_key_from_path (line 454) | def _wallet_key_from_path(path) -> str: method with_wallet_lock (line 476) | def with_wallet_lock(func): method load_wallet (line 483) | def load_wallet( method _load_wallet (line 522) | def _load_wallet( method add_wallet (line 548) | def add_wallet(self, wallet: Abstract_Wallet) -> None: method get_wallet (line 554) | def get_wallet(self, path: str) -> Optional[Abstract_Wallet]: method get_wallets (line 559) | def get_wallets(self) -> Dict[str, Abstract_Wallet]: method delete_wallet (line 562) | def delete_wallet(self, path: str) -> bool: method stop_wallet (line 572) | def stop_wallet(self, path: str) -> bool: method _stop_wallet (line 579) | async def _stop_wallet(self, path: str) -> bool: method run_daemon (line 594) | def run_daemon(self): method stop (line 612) | async def stop(self): method run_gui (line 643) | def run_gui(self) -> None: method check_password_for_directory (line 670) | def check_password_for_directory(self, *, old_password, new_password=N... method update_password_for_directory (line 721) | def update_password_for_directory( method update_recently_opened_wallets (line 744) | def update_recently_opened_wallets(self, wallet_path, *, remove: bool ... FILE: electrum/descriptor.py class ExpandedScripts (line 52) | class ExpandedScripts: method __init__ (line 54) | def __init__( method scriptcode_for_sighash (line 68) | def scriptcode_for_sighash(self) -> Optional[bytes]: method scriptcode_for_sighash (line 74) | def scriptcode_for_sighash(self, value: Optional[bytes]): method address (line 77) | def address(self, *, net=None) -> Optional[str]: class ScriptSolutionInner (line 81) | class ScriptSolutionInner(NamedTuple): class ScriptSolutionTop (line 85) | class ScriptSolutionTop(NamedTuple): class MissingSolutionPiece (line 90) | class MissingSolutionPiece(Exception): pass function PolyMod (line 93) | def PolyMod(c: int, val: int) -> int: function DescriptorChecksum (line 118) | def DescriptorChecksum(desc: str) -> str: function AddChecksum (line 151) | def AddChecksum(desc: str) -> str: class PubkeyProvider (line 161) | class PubkeyProvider(object): method __init__ (line 167) | def __init__( method parse (line 202) | def parse(cls, s: str) -> 'PubkeyProvider': method to_string (line 225) | def to_string(self) -> str: method get_pubkey_bytes (line 239) | def get_pubkey_bytes(self, *, pos: Optional[int] = None) -> bytes: method get_full_derivation_path (line 260) | def get_full_derivation_path(self, *, pos: Optional[int] = None) -> str: method get_full_derivation_int_list (line 272) | def get_full_derivation_int_list(self, *, pos: Optional[int] = None) -... method get_der_suffix_int_list (line 283) | def get_der_suffix_int_list(self, *, pos: Optional[int] = None) -> Lis... method __lt__ (line 291) | def __lt__(self, other: 'PubkeyProvider') -> bool: method is_range (line 294) | def is_range(self) -> bool: method has_uncompressed_pubkey (line 301) | def has_uncompressed_pubkey(self) -> bool: class Descriptor (line 307) | class Descriptor(object): method __init__ (line 317) | def __init__( method to_string_no_checksum (line 332) | def to_string_no_checksum(self) -> str: method to_string (line 344) | def to_string(self) -> str: method expand (line 352) | def expand(self, *, pos: Optional[int] = None) -> "ExpandedScripts": method _satisfy_inner (line 358) | def _satisfy_inner( method satisfy (line 366) | def satisfy( method get_satisfaction_progress (line 390) | def get_satisfaction_progress( method is_range (line 406) | def is_range(self) -> bool: method is_segwit (line 415) | def is_segwit(self) -> bool: method is_taproot (line 418) | def is_taproot(self) -> bool: method get_all_pubkeys (line 421) | def get_all_pubkeys(self) -> Set[bytes]: method get_simple_singlesig (line 429) | def get_simple_singlesig(self) -> Optional['Descriptor']: method get_simple_multisig (line 438) | def get_simple_multisig(self) -> Optional['MultisigDescriptor']: method to_legacy_electrum_script_type (line 444) | def to_legacy_electrum_script_type(self) -> str: class PKDescriptor (line 463) | class PKDescriptor(Descriptor): method __init__ (line 467) | def __init__( method expand (line 476) | def expand(self, *, pos: Optional[int] = None) -> "ExpandedScripts": method _satisfy_inner (line 481) | def _satisfy_inner(self, *, sigdata=None, allow_dummy=False) -> Script... method get_satisfaction_progress (line 495) | def get_satisfaction_progress(self, *, sigdata=None) -> Tuple[int, int]: method get_simple_singlesig (line 500) | def get_simple_singlesig(self) -> Optional['Descriptor']: class PKHDescriptor (line 504) | class PKHDescriptor(Descriptor): method __init__ (line 508) | def __init__( method expand (line 517) | def expand(self, *, pos: Optional[int] = None) -> "ExpandedScripts": method _satisfy_inner (line 523) | def _satisfy_inner(self, *, sigdata=None, allow_dummy=False) -> Script... method get_satisfaction_progress (line 537) | def get_satisfaction_progress(self, *, sigdata=None) -> Tuple[int, int]: method get_simple_singlesig (line 542) | def get_simple_singlesig(self) -> Optional['Descriptor']: class WPKHDescriptor (line 546) | class WPKHDescriptor(Descriptor): method __init__ (line 550) | def __init__( method expand (line 559) | def expand(self, *, pos: Optional[int] = None) -> "ExpandedScripts": method _satisfy_inner (line 568) | def _satisfy_inner(self, *, sigdata=None, allow_dummy=False) -> Script... method get_satisfaction_progress (line 582) | def get_satisfaction_progress(self, *, sigdata=None) -> Tuple[int, int]: method is_segwit (line 587) | def is_segwit(self) -> bool: method get_simple_singlesig (line 590) | def get_simple_singlesig(self) -> Optional['Descriptor']: class MultisigDescriptor (line 594) | class MultisigDescriptor(Descriptor): method __init__ (line 598) | def __init__( method to_string_no_checksum (line 624) | def to_string_no_checksum(self) -> str: method expand (line 627) | def expand(self, *, pos: Optional[int] = None) -> "ExpandedScripts": method _satisfy_inner (line 634) | def _satisfy_inner(self, *, sigdata=None, allow_dummy=False) -> Script... method get_satisfaction_progress (line 657) | def get_satisfaction_progress(self, *, sigdata=None) -> Tuple[int, int]: method get_simple_multisig (line 662) | def get_simple_multisig(self) -> Optional['MultisigDescriptor']: class SHDescriptor (line 666) | class SHDescriptor(Descriptor): method __init__ (line 670) | def __init__( method expand (line 679) | def expand(self, *, pos: Optional[int] = None) -> "ExpandedScripts": method _satisfy_inner (line 692) | def _satisfy_inner(self, *, sigdata=None, allow_dummy=False) -> Script... method satisfy (line 695) | def satisfy(self, *, sigdata=None, allow_dummy=False) -> ScriptSolutio... class WSHDescriptor (line 713) | class WSHDescriptor(Descriptor): method __init__ (line 717) | def __init__( method expand (line 726) | def expand(self, *, pos: Optional[int] = None) -> "ExpandedScripts": method _satisfy_inner (line 736) | def _satisfy_inner(self, *, sigdata=None, allow_dummy=False) -> Script... method satisfy (line 739) | def satisfy(self, *, sigdata=None, allow_dummy=False) -> ScriptSolutio... method is_segwit (line 749) | def is_segwit(self) -> bool: class TRDescriptor (line 753) | class TRDescriptor(Descriptor): method __init__ (line 757) | def __init__( method to_string_no_checksum (line 785) | def to_string_no_checksum(self) -> str: method is_segwit (line 798) | def is_segwit(self) -> bool: method is_taproot (line 801) | def is_taproot(self) -> bool: method expand (line 805) | def expand(self, *, pos: Optional[int] = None) -> "ExpandedScripts": method get_max_tree_depth (line 822) | def get_max_tree_depth(self) -> Optional[int]: function _get_func_expr (line 833) | def _get_func_expr(s: str) -> Tuple[str, str]: function _get_const (line 849) | def _get_const(s: str, const: str) -> str: function _get_expr (line 864) | def _get_expr(s: str) -> Tuple[str, str]: function parse_pubkey (line 886) | def parse_pubkey(expr: str, *, ctx: '_ParseDescriptorContext') -> Tuple[... class _ParseDescriptorContext (line 906) | class _ParseDescriptorContext(Enum): function _parse_descriptor (line 921) | def _parse_descriptor(desc: str, *, ctx: '_ParseDescriptorContext') -> '... function parse_descriptor (line 1012) | def parse_descriptor(desc: str) -> 'Descriptor': class NotLegacySinglesigScriptType (line 1034) | class NotLegacySinglesigScriptType(Exception): pass function get_singlesig_descriptor_from_legacy_leaf (line 1037) | def get_singlesig_descriptor_from_legacy_leaf(*, pubkey: str, script_typ... function create_dummy_descriptor_from_address (line 1052) | def create_dummy_descriptor_from_address(addr: Optional[str]) -> 'Descri... FILE: electrum/dns_hacks.py function configure_dns_resolver (line 22) | def configure_dns_resolver() -> None: function _prepare_windows_dns_hack (line 38) | def _prepare_windows_dns_hack(): function _is_force_system_dns_for_host (line 47) | def _is_force_system_dns_for_host(host: str) -> bool: function _fast_getaddrinfo (line 51) | def _fast_getaddrinfo(host, *args, **kwargs): FILE: electrum/dnssec.py function _check_query (line 72) | async def _check_query(ns, sub, _type, keys) -> dns.rrset.RRset: function _get_and_validate (line 91) | async def _get_and_validate(ns, url, _type) -> dns.rrset.RRset: function query (line 141) | async def query(url: str, rtype: dns.rdatatype.RdataType) -> Tuple[dns.r... FILE: electrum/exchange_rate.py class ExchangeBase (line 45) | class ExchangeBase(Logger): method __init__ (line 47) | def __init__(self, on_quotes, on_history): method get_raw (line 55) | async def get_raw(self, site, get_string): method get_json (line 65) | async def get_json(self, site, get_string): method get_csv (line 76) | async def get_csv(self, site, get_string): method name (line 81) | def name(self): method update_safe (line 84) | async def update_safe(self, ccy: str) -> None: method _read_historical_rates_from_file (line 102) | def _read_historical_rates_from_file( method read_historical_rates (line 120) | def read_historical_rates(self, ccy: str, cache_dir: str) -> Optional[... method _write_historical_rates_to_file (line 135) | def _write_historical_rates_to_file( method get_historical_rates_safe (line 149) | async def get_historical_rates_safe(self, ccy: str, cache_dir: str) ->... method get_historical_rates (line 176) | def get_historical_rates(self, ccy: str, cache_dir: str) -> None: method history_ccys (line 185) | def history_ccys(self) -> Sequence[str]: method historical_rate (line 188) | def historical_rate(self, ccy: str, d_t: datetime) -> Decimal: method request_history (line 197) | async def request_history(self, ccy: str) -> Dict[str, Union[str, floa... method get_rates (line 200) | async def get_rates(self, ccy: str) -> Mapping[str, Optional[Decimal]]: method get_currencies (line 203) | async def get_currencies(self) -> Sequence[str]: method get_cached_spot_quote (line 207) | def get_cached_spot_quote(self, ccy: str) -> Decimal: class Yadio (line 220) | class Yadio(ExchangeBase): method get_currencies (line 222) | async def get_currencies(self): method get_rates (line 226) | async def get_rates(self, ccy: str) -> Mapping[str, Optional[Decimal]]: class BitcoinAverage (line 231) | class BitcoinAverage(ExchangeBase): method get_rates (line 235) | async def get_rates(self, ccy): class Bitcointoyou (line 241) | class Bitcointoyou(ExchangeBase): method get_rates (line 243) | async def get_rates(self, ccy): class BitcoinVenezuela (line 248) | class BitcoinVenezuela(ExchangeBase): method get_rates (line 250) | async def get_rates(self, ccy): method history_ccys (line 256) | def history_ccys(self): method request_history (line 259) | async def request_history(self, ccy): class Bitbank (line 264) | class Bitbank(ExchangeBase): method get_rates (line 266) | async def get_rates(self, ccy): class BitFinex (line 271) | class BitFinex(ExchangeBase): method get_currencies (line 273) | async def get_currencies(self): method history_ccys (line 281) | def history_ccys(self): method get_rates (line 284) | async def get_rates(self, ccy): method request_history (line 291) | async def request_history(self, ccy): class BitFlyer (line 300) | class BitFlyer(ExchangeBase): method get_rates (line 302) | async def get_rates(self, ccy): class BitPay (line 307) | class BitPay(ExchangeBase): method get_rates (line 309) | async def get_rates(self, ccy): class Bitso (line 314) | class Bitso(ExchangeBase): method get_rates (line 316) | async def get_rates(self, ccy): class BitStamp (line 321) | class BitStamp(ExchangeBase): method get_currencies (line 323) | async def get_currencies(self): method get_rates (line 333) | async def get_rates(self, ccy): method history_ccys (line 340) | def history_ccys(self): method request_history (line 343) | async def request_history(self, ccy): class Bitvalor (line 369) | class Bitvalor(ExchangeBase): method get_rates (line 371) | async def get_rates(self,ccy): class BlockchainInfo (line 376) | class BlockchainInfo(ExchangeBase): method get_rates (line 378) | async def get_rates(self, ccy): class Bylls (line 383) | class Bylls(ExchangeBase): method get_rates (line 385) | async def get_rates(self, ccy): class Coinbase (line 390) | class Coinbase(ExchangeBase): method get_rates (line 392) | async def get_rates(self, ccy): class CoinCap (line 398) | class CoinCap(ExchangeBase): method get_rates (line 400) | async def get_rates(self, ccy): method history_ccys (line 404) | def history_ccys(self): method request_history (line 407) | async def request_history(self, ccy): class CoinDesk (line 416) | class CoinDesk(ExchangeBase): method get_currencies (line 418) | async def get_currencies(self): method get_rates (line 423) | async def get_rates(self, ccy): method history_starts (line 429) | def history_starts(self): method history_ccys (line 432) | def history_ccys(self): method request_history (line 435) | async def request_history(self, ccy): class CoinGecko (line 445) | class CoinGecko(ExchangeBase): method get_rates (line 447) | async def get_rates(self, ccy): method history_ccys (line 452) | def history_ccys(self): method request_history (line 456) | async def request_history(self, ccy): class Bit2C (line 469) | class Bit2C(ExchangeBase): method get_rates (line 471) | async def get_rates(self, ccy): method history_ccys (line 475) | def history_ccys(self): method request_history (line 478) | async def request_history(self, ccy): class CointraderMonitor (line 486) | class CointraderMonitor(ExchangeBase): method get_rates (line 488) | async def get_rates(self, ccy): class itBit (line 493) | class itBit(ExchangeBase): method get_rates (line 495) | async def get_rates(self, ccy): class Kraken (line 504) | class Kraken(ExchangeBase): method get_rates (line 506) | async def get_rates(self, ccy): class MercadoBitcoin (line 520) | class MercadoBitcoin(ExchangeBase): method get_rates (line 522) | async def get_rates(self, ccy): class Winkdex (line 527) | class Winkdex(ExchangeBase): method get_rates (line 529) | async def get_rates(self, ccy): method history_ccys (line 533) | def history_ccys(self): method request_history (line 536) | async def request_history(self, ccy): class Zaif (line 544) | class Zaif(ExchangeBase): method get_rates (line 545) | async def get_rates(self, ccy): class Bitragem (line 550) | class Bitragem(ExchangeBase): method get_rates (line 552) | async def get_rates(self,ccy): class Biscoint (line 557) | class Biscoint(ExchangeBase): method get_rates (line 559) | async def get_rates(self,ccy): class Walltime (line 564) | class Walltime(ExchangeBase): method get_rates (line 566) | async def get_rates(self, ccy): function dictinvert (line 572) | def dictinvert(d): function get_exchanges_and_currencies (line 580) | def get_exchanges_and_currencies(): function get_exchanges_by_ccy (line 625) | def get_exchanges_by_ccy(history=True): class FxThread (line 637) | class FxThread(ThreadJob, EventListener, NetworkRetryManager[str]): method __init__ (line 639) | def __init__(self, *, config: SimpleConfig): method on_event_proxy_set (line 661) | def on_event_proxy_set(self, *args): method get_currencies (line 666) | def get_currencies(history: bool) -> Sequence[str]: method get_exchanges_by_ccy (line 671) | def get_exchanges_by_ccy(ccy: str, history: bool) -> Sequence[str]: method remove_thousands_separator (line 676) | def remove_thousands_separator(text: str) -> str: method ccy_amount_str (line 679) | def ccy_amount_str(self, amount, *, add_thousands_sep: bool = False, c... method ccy_precision (line 695) | def ccy_precision(self, ccy=None) -> int: method run (line 698) | async def run(self): method is_enabled (line 724) | def is_enabled(self) -> bool: method set_enabled (line 727) | def set_enabled(self, b: bool) -> None: method can_have_history (line 731) | def can_have_history(self): method has_history (line 734) | def has_history(self) -> bool: method get_currency (line 737) | def get_currency(self) -> str: method config_exchange (line 741) | def config_exchange(self): method set_currency (line 744) | def set_currency(self, ccy: str): method trigger_update (line 750) | def trigger_update(self): method set_exchange (line 755) | def set_exchange(self, name): method on_quotes (line 767) | def on_quotes(self, *, received_new_data: bool = False): method on_history (line 772) | def on_history(self): method exchange_rate (line 775) | def exchange_rate(self) -> Decimal: method format_amount (line 781) | def format_amount(self, btc_balance, *, timestamp: int = None) -> str: method format_amount_and_units (line 788) | def format_amount_and_units(self, btc_balance, *, timestamp: int = Non... method get_fiat_status_text (line 795) | def get_fiat_status_text(self, btc_balance, base_unit, decimal_point): method fiat_value (line 803) | def fiat_value(self, satoshis, rate) -> Decimal: method value_str (line 806) | def value_str(self, satoshis, rate, *, add_thousands_sep: bool = None)... method format_fiat (line 810) | def format_fiat(self, value: Decimal, *, add_thousands_sep: bool = Non... method history_rate (line 817) | def history_rate(self, d_t: Optional[datetime]) -> Decimal: method historical_value_str (line 830) | def historical_value_str(self, satoshis, d_t: Optional[datetime]) -> str: method historical_value (line 833) | def historical_value(self, satoshis, d_t: Optional[datetime]) -> Decimal: method timestamp_rate (line 836) | def timestamp_rate(self, timestamp: Optional[int]) -> Decimal: FILE: electrum/fee_policy.py function closest_index (line 49) | def closest_index(value, array) -> int: class FeeMethod (line 54) | class FeeMethod(IntEnum): method slider_values (line 62) | def slider_values(cls): method name_for_GUI (line 65) | def name_for_GUI(self): method slider_index_of_method (line 75) | def slider_index_of_method(cls, method): class FeePolicy (line 83) | class FeePolicy(Logger): method __init__ (line 86) | def __init__(self, descriptor: str): method __repr__ (line 97) | def __repr__(self): method get_descriptor (line 100) | def get_descriptor(self) -> str: method set_method (line 103) | def set_method(self, method: FeeMethod): method _get_array (line 116) | def _get_array(self) -> Sequence[int]: method set_value_from_slider_pos (line 126) | def set_value_from_slider_pos(self, slider_pos: int): method get_slider_pos (line 131) | def get_slider_pos(self) -> int: method get_slider_max (line 135) | def get_slider_max(self) -> int: method use_dynamic_estimates (line 141) | def use_dynamic_estimates(self): method depth_target (line 145) | def depth_target(cls, slider_pos: int) -> int: method eta_target (line 151) | def eta_target(self, slider_pos: int) -> int: method eta_tooltip (line 156) | def eta_tooltip(cls, x): method get_target_text (line 168) | def get_target_text(self): method get_estimate_text (line 180) | def get_estimate_text(self, network: 'Network') -> str: method get_tooltip (line 201) | def get_tooltip(self, network: 'Network'): method depth_tooltip (line 210) | def depth_tooltip(cls, depth: Optional[int]) -> str: method get_depth_mb_str (line 218) | def get_depth_mb_str(cls, depth: int) -> str: method fee_per_kb (line 223) | def fee_per_kb(self, network: 'Network') -> Optional[int]: method fee_per_byte (line 247) | def fee_per_byte(self, network: 'Network') -> Optional[int]: method estimate_fee (line 254) | def estimate_fee( method estimate_fee_for_feerate (line 271) | def estimate_fee_for_feerate( class FixedFeePolicy (line 287) | class FixedFeePolicy(FeePolicy): method __init__ (line 288) | def __init__(self, fee): function impose_hard_limits_on_fee (line 292) | def impose_hard_limits_on_fee(func): class FeeHistogram (line 305) | class FeeHistogram: method __init__ (line 307) | def __init__(self): method has_data (line 310) | def has_data(self) -> bool: method set_data (line 313) | def set_data(self, data): method fee_to_depth (line 316) | def fee_to_depth(self, target_fee: Real) -> Optional[int]: method depth_target_to_fee (line 331) | def depth_target_to_fee(self, target: int) -> Optional[int]: method depth_to_fee (line 353) | def depth_to_fee(self, slider_pos) -> Optional[int]: method get_capped_data (line 358) | def get_capped_data(self): class FeeTimeEstimates (line 380) | class FeeTimeEstimates: method __init__ (line 382) | def __init__(self): method get_data (line 385) | def get_data(self): method has_data (line 388) | def has_data(self) -> bool: method set_data (line 398) | def set_data(self, nblock_target: int, fee_per_kb: int): method fee_to_eta (line 403) | def fee_to_eta(self, fee_per_kb: Optional[int]) -> int: method eta_to_fee (line 420) | def eta_to_fee(self, slider_pos) -> Optional[int]: method eta_target_to_fee (line 432) | def eta_target_to_fee(self, num_blocks: int) -> Optional[int]: FILE: electrum/gui/__init__.py class BaseElectrumGui (line 16) | class BaseElectrumGui: method __init__ (line 17) | def __init__(self, *, config: 'SimpleConfig', daemon: 'Daemon', plugin... method main (line 22) | def main(self) -> None: method stop (line 25) | def stop(self) -> None: method version_info (line 32) | def version_info(cls) -> Mapping[str, Optional[str]]: FILE: electrum/gui/common_qt/i18n.py class ElectrumTranslator (line 6) | class ElectrumTranslator(QTranslator): method __init__ (line 8) | def __init__(self, parent=None): method translate (line 16) | def translate(self, context, source_text: str, disambiguation, n): FILE: electrum/gui/common_qt/plugins.py class PluginQObject (line 13) | class PluginQObject(QObject): method __init__ (line 20) | def __init__(self, plugin: 'BasePlugin', parent: Optional['ElectrumQml... method name (line 29) | def name(self): return self._name method busy (line 32) | def busy(self): return self._busy method pluginEnabled (line 37) | def pluginEnabled(self): return self.plugin.is_enabled() method pluginEnabled (line 40) | def pluginEnabled(self, enabled): FILE: electrum/gui/common_qt/util.py function get_font_id (line 19) | def get_font_id(filename: str) -> int: function draw_qr (line 31) | def draw_qr( function paintQR (line 97) | def paintQR(data) -> Optional[QImage]: class TaskThread (line 125) | class TaskThread(QThread, Logger): class Task (line 129) | class Task(NamedTuple): method __init__ (line 138) | def __init__(self, parent, on_error=None): method add (line 148) | def add(self, task, on_success=None, on_done=None, on_error=None, *, c... method run (line 156) | def run(self): method on_done (line 170) | def on_done(self, result, cb_done, cb_result): method stop (line 177) | def stop(self): class QtEventListener (line 197) | class QtEventListener(EventListener): method register_callbacks (line 200) | def register_callbacks(self): method unregister_callbacks (line 204) | def unregister_callbacks(self): method on_qt_callback_signal (line 212) | def on_qt_callback_signal(self, args): function qt_event_listener (line 218) | def qt_event_listener(func): FILE: electrum/gui/default_lang.py function get_default_language (line 21) | def get_default_language(*, gui_name: Optional[str] = None) -> str: FILE: electrum/gui/messages.py function to_rtf (line 5) | def to_rtf(msg): FILE: electrum/gui/qml/__init__.py class ElectrumGui (line 41) | class ElectrumGui(BaseElectrumGui, Logger): method __init__ (line 43) | def __init__(self, config: 'SimpleConfig', daemon: 'Daemon', plugins: ... method close (line 91) | def close(self): method main (line 94) | def main(self): method _handle_sigint (line 104) | def _handle_sigint(self): method stop (line 108) | def stop(self): FILE: electrum/gui/qml/auth.py function auth_protect (line 8) | def auth_protect(func=None, reject=None, method='payment_auth', message=... class AuthMixin (line 36) | class AuthMixin: method authProceed (line 41) | def authProceed(self): method authCancel (line 55) | def authCancel(self): FILE: electrum/gui/qml/java_classes/org/electrum/biometry/BiometricActivity.java class BiometricActivity (line 27) | public class BiometricActivity extends Activity { method onCreate (line 34) | @Override method handleIntent (line 48) | private void handleIntent() { method handleAuthenticationSuccess (line 120) | private void handleAuthenticationSuccess(BiometricPrompt.Authenticatio... method getSecretKey (line 148) | private SecretKey getSecretKey() throws Exception { method genSecretKey (line 154) | private SecretKey genSecretKey() throws Exception { method getCipher (line 170) | private Cipher getCipher() throws Exception { FILE: electrum/gui/qml/java_classes/org/electrum/biometry/BiometricHelper.java class BiometricHelper (line 9) | public class BiometricHelper { method isAvailable (line 10) | public static boolean isAvailable(Context context) { FILE: electrum/gui/qml/java_classes/org/electrum/qr/SimpleScannerActivity.java class SimpleScannerActivity (line 32) | public class SimpleScannerActivity extends Activity { method onCreate (line 40) | @Override method onResume (line 76) | @Override method onPause (line 87) | @Override method startCamera (line 95) | private void startCamera() { method setResultAndClose (line 115) | private void setResultAndClose(Result scanResult, String textOnly) { method hasPermission (line 135) | private boolean hasPermission() { method requestPermission (line 141) | private void requestPermission() { method onRequestPermissionsResult (line 147) | @Override method enforcesEdgeToEdge (line 165) | private boolean enforcesEdgeToEdge() { method setupEdgeToEdge (line 170) | private void setupEdgeToEdge() { FILE: electrum/gui/qml/qeaddressdetails.py class QEAddressDetails (line 12) | class QEAddressDetails(AuthMixin, QObject): method __init__ (line 18) | def __init__(self, parent=None): method wallet (line 39) | def wallet(self): method wallet (line 43) | def wallet(self, wallet: QEWallet): method address (line 50) | def address(self): method address (line 54) | def address(self, address: str): method scriptType (line 62) | def scriptType(self): method balance (line 66) | def balance(self): method pubkeys (line 70) | def pubkeys(self): method privkey (line 74) | def privkey(self): method derivationPath (line 78) | def derivationPath(self): method numTx (line 82) | def numTx(self): method canDelete (line 86) | def canDelete(self): method isFrozen (line 91) | def isFrozen(self): method label (line 96) | def label(self): method freeze (line 100) | def freeze(self, freeze: bool): method setLabel (line 108) | def setLabel(self, label: str): method historyModel (line 116) | def historyModel(self): method requestShowPrivateKey (line 123) | def requestShowPrivateKey(self): method retrieve_private_key (line 127) | def retrieve_private_key(self): method deleteAddress (line 137) | def deleteAddress(self): method update (line 147) | def update(self): FILE: electrum/gui/qml/qeaddresslistmodel.py class QEAddressCoinFilterProxyModel (line 20) | class QEAddressCoinFilterProxyModel(QSortFilterProxyModel): method __init__ (line 23) | def __init__(self, parent_model, parent=None): method count (line 34) | def count(self): method filterAcceptsRow (line 37) | def filterAcceptsRow(self, s_row, s_parent): method showAddressesCoins (line 65) | def showAddressesCoins(self) -> int: method showAddressesCoins (line 74) | def showAddressesCoins(self, show_addresses_coins: int): method showUsed (line 86) | def showUsed(self) -> bool: method showUsed (line 90) | def showUsed(self, show_used: bool): method filterText (line 98) | def filterText(self) -> str: method filterText (line 102) | def filterText(self, filter_text: str): class QEAddressCoinListModel (line 109) | class QEAddressCoinListModel(QAbstractListModel, QtEventListener): method __init__ (line 119) | def __init__(self, wallet: 'Abstract_Wallet', parent=None): method on_destroy (line 133) | def on_destroy(self): method on_event_labels_received (line 137) | def on_event_labels_received(self, wallet, labels): method rowCount (line 141) | def rowCount(self, index): method roleNames (line 144) | def roleNames(self): method data (line 147) | def data(self, index, role): method clear (line 160) | def clear(self): method addr_to_model (line 165) | def addr_to_model(self, addrtype: str, addridx: int, address: str): method coin_to_model (line 178) | def coin_to_model(self, addrtype: str, coin: 'PartialTxInput'): method setDirty (line 200) | def setDirty(self): method initModel (line 206) | def initModel(self, force: bool = False): method updateAddress (line 241) | def updateAddress(self, address): method deleteAddress (line 248) | def deleteAddress(self, address): method updateCoin (line 262) | def updateCoin(self, outpoint): method do_update (line 268) | def do_update(self, modelindex, modelitem): method filterModel (line 280) | def filterModel(self): method setFrozenForItems (line 286) | def setFrozenForItems(self, freeze: bool, items: List[str]): FILE: electrum/gui/qml/qeapp.py class QEAppController (line 71) | class QEAppController(BaseCrashReporter, QObject): method __init__ (line 84) | def __init__(self, qeapp: 'ElectrumQmlApplication', plugins: 'Plugins'): method on_wallet_loaded (line 118) | def on_wallet_loaded(self): method on_wallet_usernotify (line 134) | def on_wallet_usernotify(self, wallet, message): method on_notification_timer (line 142) | def on_notification_timer(self): method doNotify (line 166) | def doNotify(self, wallet_name, message): method bindIntent (line 185) | def bindIntent(self): method hasPermission (line 195) | def hasPermission(self, permissionFqcn: str) -> bool: method request_permission (line 201) | def request_permission(self, permissionFqcn: str, permission_result_cb... method on_request_permissions_result (line 210) | def on_request_permissions_result( method on_new_intent (line 230) | def on_new_intent(self, intent): method startup_finished (line 241) | def startup_finished(self): method wantClose (line 250) | def wantClose(self): method wantClose (line 254) | def wantClose(self, want_close): method doShare (line 260) | def doShare(self, data, title): method isMaxBrightnessOnQrDisplayEnabled (line 272) | def isMaxBrightnessOnQrDisplayEnabled(self): method setMaxScreenBrightness (line 276) | def setMaxScreenBrightness(self): method resetScreenBrightness (line 280) | def resetScreenBrightness(self): method _set_screen_brightness (line 283) | def _set_screen_brightness(self, br: float) -> None: method textToClipboard (line 300) | def textToClipboard(self, text): method clipboardToText (line 304) | def clipboardToText(self): method plugin (line 309) | def plugin(self, plugin_name): method plugins (line 320) | def plugins(self): method setPluginEnabled (line 332) | def setPluginEnabled(self, plugin: str, enabled: bool): method isPluginEnabled (line 341) | def isPluginEnabled(self, plugin: str): method isAndroid (line 345) | def isAndroid(self): method crashData (line 349) | def crashData(self): method crash (line 357) | def crash(self, e, text, tb): method sendReport (line 362) | def sendReport(self, user_text: str): method _get_traceback_str_to_display (line 386) | def _get_traceback_str_to_display(self) -> str: method get_user_description (line 393) | def get_user_description(self): method get_wallet_type (line 396) | def get_wallet_type(self): method haptic (line 401) | def haptic(self): method secureWindow (line 407) | def secureWindow(self): method secureWindow (line 411) | def secureWindow(self, secure): method enforcesEdgeToEdge (line 422) | def enforcesEdgeToEdge(self) -> bool: method _getSystemBarHeight (line 428) | def _getSystemBarHeight(self, bar_type: str) -> int: method getStatusBarHeight (line 462) | def getStatusBarHeight(self) -> int: method getNavigationBarHeight (line 466) | def getNavigationBarHeight(self) -> int: class ElectrumQmlApplication (line 470) | class ElectrumQmlApplication(QGuiApplication): method __init__ (line 474) | def __init__(self, args, *, config: 'SimpleConfig', daemon: 'Daemon', ... method objectCreated (line 573) | def objectCreated(self, object, url): method message_handler (line 580) | def message_handler(self, line, funct, file): class Exception_Hook (line 587) | class Exception_Hook(QObject, Logger): method __init__ (line 592) | def __init__(self, *, slot): method maybe_setup (line 607) | def maybe_setup(cls, *, wallet: 'Abstract_Wallet' = None, slot=None) -... method handler (line 613) | def handler(self, *exc_info): FILE: electrum/gui/qml/qebiometrics.py class BiometricAction (line 41) | class BiometricAction(str, Enum): class QEBiometrics (line 46) | class QEBiometrics(AuthMixin, QObject): method __init__ (line 55) | def __init__(self, *, config: 'SimpleConfig', parent=None): method isAvailable (line 61) | def isAvailable(self) -> bool: method isEnabled (line 72) | def isEnabled(self) -> bool: method enable (line 76) | def enable(self, unified_wallet_password: str): method disable (line 95) | def disable(self): method disableProtected (line 104) | def disableProtected(self): method _disable_protected_failed (line 114) | def _disable_protected_failed(self): method unlock (line 119) | def unlock(self, auth_message: str = None): method _start_activity (line 130) | def _start_activity(self, action: BiometricAction, data: str, auth_mes... method _on_activity_result (line 150) | def _on_activity_result(self, requestCode: int, resultCode: int, intent): method _on_wrap_key_decrypted (line 190) | def _on_wrap_key_decrypted(self, *, wrap_key: str): method _on_wrap_key_encrypted (line 201) | def _on_wrap_key_encrypted(self, *, encrypted_bundle: str): FILE: electrum/gui/qml/qebip39recovery.py class QEBip39RecoveryListModel (line 17) | class QEBip39RecoveryListModel(QAbstractListModel): class State (line 21) | class State(IntEnum): method __init__ (line 36) | def __init__(self, config, parent=None): method rowCount (line 43) | def rowCount(self, index): method roleNames (line 46) | def roleNames(self): method data (line 49) | def data(self, index, role): method clear (line 57) | def clear(self): method state (line 63) | def state(self): method state (line 67) | def state(self, state: State): method startScan (line 74) | def startScan(self, wallet_type: str, seed: str, seed_extra_words: str... method addAccount (line 96) | def addAccount(self, account): method on_recovery_success (line 102) | def on_recovery_success(self, accounts): method on_recovery_error (line 110) | def on_recovery_error(self, exc_info): method get_account_xpub (line 119) | def get_account_xpub(self, account_path): FILE: electrum/gui/qml/qebitcoin.py class QEBitcoin (line 17) | class QEBitcoin(QObject): method __init__ (line 24) | def __init__(self, config, parent=None): method generatedSeed (line 33) | def generatedSeed(self): method seedType (line 37) | def seedType(self): method validationMessage (line 41) | def validationMessage(self): method validationMessage (line 45) | def validationMessage(self, msg): method generateSeed (line 53) | def generateSeed(self, seed_type='segwit', language='en'): method verifyMasterKey (line 64) | def verifyMasterKey(self, key, wallet_type='standard'): method verifyDerivationPath (line 98) | def verifyDerivationPath(self, path): method isRawTx (line 102) | def isRawTx(self, rawtx): method isAddress (line 110) | def isAddress(self, addr: str): method isAddressList (line 114) | def isAddressList(self, csv: str): method isPrivateKeyList (line 118) | def isPrivateKeyList(self, csv: str): method mnemonicsFor (line 122) | def mnemonicsFor(self, fragment): FILE: electrum/gui/qml/qechanneldetails.py class QEChannelDetails (line 24) | class QEChannelDetails(AuthMixin, QObject, QtEventListener): class State (line 28) | class State(IntEnum): # subset, only ones we currently need in UI method __init__ (line 38) | def __init__(self, parent=None): method on_event_channel (line 56) | def on_event_channel(self, wallet: 'Abstract_Wallet', channel: 'Abstra... method on_destroy (line 60) | def on_destroy(self): method wallet (line 65) | def wallet(self) -> QEWallet: method wallet (line 69) | def wallet(self, wallet: QEWallet): method channelid (line 76) | def channelid(self) -> str: method channelid (line 80) | def channelid(self, channelid: str): method load (line 87) | def load(self): method name (line 95) | def name(self) -> str: method pubkey (line 101) | def pubkey(self) -> str: method shortCid (line 105) | def shortCid(self) -> str: method localScidAlias (line 109) | def localScidAlias(self) -> str: method remoteScidAlias (line 114) | def remoteScidAlias(self) -> str: method currentFeerate (line 119) | def currentFeerate(self) -> str: method state (line 126) | def state(self) -> str: method stateCode (line 130) | def stateCode(self) -> ChannelState: method initiator (line 134) | def initiator(self) -> str: method fundingOutpoint (line 141) | def fundingOutpoint(self) -> dict: method closingTxid (line 149) | def closingTxid(self) -> str: method capacity (line 160) | def capacity(self) -> QEAmount: method localCapacity (line 165) | def localCapacity(self) -> QEAmount: method remoteCapacity (line 171) | def remoteCapacity(self) -> QEAmount: method canSend (line 177) | def canSend(self) -> QEAmount: method canReceive (line 183) | def canReceive(self) -> QEAmount: method frozenForSending (line 189) | def frozenForSending(self) -> bool: method frozenForReceiving (line 193) | def frozenForReceiving(self) -> bool: method channelType (line 197) | def channelType(self) -> str: method isOpen (line 201) | def isOpen(self) -> bool: method canClose (line 205) | def canClose(self) -> bool: method canCoopClose (line 209) | def canCoopClose(self) -> bool: method canLocalForceClose (line 213) | def canLocalForceClose(self) -> bool: method canRequestForceClose (line 217) | def canRequestForceClose(self) -> bool: method canDelete (line 221) | def canDelete(self) -> bool: method messageForceClose (line 225) | def messageForceClose(self) -> str: method messageForceCloseBackup (line 229) | def messageForceCloseBackup(self): method isBackup (line 238) | def isBackup(self): method backupType (line 242) | def backupType(self): method toSelfDelay (line 249) | def toSelfDelay(self): method isClosing (line 253) | def isClosing(self): method freezeForSending (line 259) | def freezeForSending(self): method freezeForReceiving (line 270) | def freezeForReceiving(self): method closeChannel (line 280) | def closeChannel(self, closetype): method do_close_channel (line 284) | def do_close_channel(self, closetype: str): method deleteChannel (line 318) | def deleteChannel(self): method channelBackup (line 325) | def channelBackup(self): method channelBackupHelpText (line 329) | def channelBackupHelpText(self): FILE: electrum/gui/qml/qechannellistmodel.py class QEChannelListModel (line 16) | class QEChannelListModel(QAbstractListModel, QtEventListener): method __init__ (line 30) | def __init__(self, wallet, parent=None): method on_event_channel (line 48) | def on_event_channel(self, wallet, channel): method on_event_channels_updated (line 53) | def on_event_channels_updated(self, wallet): method on_destroy (line 57) | def on_destroy(self): method rowCount (line 60) | def rowCount(self, index): method count (line 66) | def count(self): method roleNames (line 69) | def roleNames(self): method data (line 72) | def data(self, index, role): method clear (line 82) | def clear(self): method channel_to_model (line 87) | def channel_to_model(self, lnc): method numOpenChannels (line 120) | def numOpenChannels(self): method initModel (line 124) | def initModel(self): method on_channel_updated (line 149) | def on_channel_updated(self, channel): method do_update (line 155) | def do_update(self, modelindex, channel): method newChannel (line 165) | def newChannel(self, cid): method removeChannel (line 179) | def removeChannel(self, cid): method filterModel (line 190) | def filterModel(self, role, match): method filterModelBackups (line 198) | def filterModelBackups(self): method filterModelNoBackups (line 203) | def filterModelNoBackups(self): method lightningWarningMessage (line 208) | def lightningWarningMessage(self): FILE: electrum/gui/qml/qechannelopener.py class QEChannelOpener (line 27) | class QEChannelOpener(QObject, AuthMixin): method __init__ (line 39) | def __init__(self, parent=None): method wallet (line 59) | def wallet(self): method wallet (line 63) | def wallet(self, wallet: QEWallet): method connectStr (line 70) | def connectStr(self): method connectStr (line 74) | def connectStr(self, connect_str: str): method amount (line 83) | def amount(self): method amount (line 87) | def amount(self, amount: QEAmount): method valid (line 95) | def valid(self): method setValid (line 98) | def setValid(self, is_valid): method warning (line 105) | def warning(self): method setWarning (line 108) | def setWarning(self, warning): method finalizer (line 115) | def finalizer(self): method txDetails (line 120) | def txDetails(self): method trampolineNodeNames (line 124) | def trampolineNodeNames(self): method validate (line 128) | def validate(self): method validateConnectString (line 181) | def validateConnectString(self, connect_str): method openChannel (line 192) | def openChannel(self, confirm_backup_conflict=False): method do_open_channel (line 223) | def do_open_channel(self, funding_tx: PartialTransaction, conn_str, pa... method channelBackup (line 268) | def channelBackup(self, cid): method updateMaxAmount (line 272) | def updateMaxAmount(self): FILE: electrum/gui/qml/qeconfig.py class QEConfig (line 20) | class QEConfig(AuthMixin, QObject): method __init__ (line 24) | def __init__(self, config: 'SimpleConfig', parent=None): method shortDescFor (line 32) | def shortDescFor(self, key) -> str: method longDescFor (line 37) | def longDescFor(self, key) -> str: method getTranslatedMessage (line 45) | def getTranslatedMessage(self, key) -> str: method language (line 50) | def language(self): method language (line 54) | def language(self, language): method languagesAvailable (line 64) | def languagesAvailable(self): method termsOfUseAccepted (line 71) | def termsOfUseAccepted(self) -> bool: method termsOfUseAccepted (line 75) | def termsOfUseAccepted(self, accepted: bool) -> None: method baseUnit (line 84) | def baseUnit(self): method baseUnit (line 88) | def baseUnit(self, unit): method btcAmountRegex (line 93) | def btcAmountRegex(self): method btcAmountRegexMsat (line 97) | def btcAmountRegexMsat(self): method _btcAmountRegex (line 100) | def _btcAmountRegex(self, extra_precision: int = 0): method thousandsSeparator (line 114) | def thousandsSeparator(self): method thousandsSeparator (line 118) | def thousandsSeparator(self, checked): method spendUnconfirmed (line 125) | def spendUnconfirmed(self): method spendUnconfirmed (line 129) | def spendUnconfirmed(self, checked): method freezeReusedAddressUtxos (line 135) | def freezeReusedAddressUtxos(self): method freezeReusedAddressUtxos (line 139) | def freezeReusedAddressUtxos(self, checked): method requestExpiry (line 145) | def requestExpiry(self): method requestExpiry (line 149) | def requestExpiry(self, expiry): method paymentAuthentication (line 155) | def paymentAuthentication(self): method paymentAuthentication (line 159) | def paymentAuthentication(self, enabled: bool): method _disable_payment_authentication (line 167) | def _disable_payment_authentication(self): method _payment_auth_reject (line 171) | def _payment_auth_reject(self): method useGossip (line 176) | def useGossip(self): method useGossip (line 180) | def useGossip(self, gossip): method enableDebugLogs (line 186) | def enableDebugLogs(self): method canToggleDebugLogs (line 191) | def canToggleDebugLogs(self): method enableDebugLogs (line 196) | def enableDebugLogs(self, enable): method alwaysAllowScreenshots (line 202) | def alwaysAllowScreenshots(self): method alwaysAllowScreenshots (line 206) | def alwaysAllowScreenshots(self, enable): method setMaxBrightnessOnQrDisplay (line 212) | def setMaxBrightnessOnQrDisplay(self): method setMaxBrightnessOnQrDisplay (line 216) | def setMaxBrightnessOnQrDisplay(self, enable): method useRecoverableChannels (line 221) | def useRecoverableChannels(self): method useRecoverableChannels (line 225) | def useRecoverableChannels(self, useRecoverableChannels): method trustedcoinPrepay (line 231) | def trustedcoinPrepay(self): method trustedcoinPrepay (line 235) | def trustedcoinPrepay(self, num_prepay): method preferredRequestType (line 242) | def preferredRequestType(self): method preferredRequestType (line 246) | def preferredRequestType(self, preferred_request_type): method userKnowsPressAndHold (line 253) | def userKnowsPressAndHold(self): method userKnowsPressAndHold (line 257) | def userKnowsPressAndHold(self, userKnowsPressAndHold): method addresslistShowType (line 264) | def addresslistShowType(self): method addresslistShowType (line 268) | def addresslistShowType(self, addresslistShowType): method addresslistShowUsed (line 275) | def addresslistShowUsed(self): method addresslistShowUsed (line 279) | def addresslistShowUsed(self, addresslistShowUsed): method outputValueRounding (line 286) | def outputValueRounding(self): method outputValueRounding (line 290) | def outputValueRounding(self, outputValueRounding): method lightningPaymentFeeMaxMillionths (line 297) | def lightningPaymentFeeMaxMillionths(self): method lightningPaymentFeeMaxMillionths (line 301) | def lightningPaymentFeeMaxMillionths(self, lightningPaymentFeeMaxMilli... method nostrRelays (line 308) | def nostrRelays(self): method nostrRelays (line 312) | def nostrRelays(self, nostr_relays): method swapServerNPub (line 319) | def swapServerNPub(self): method swapServerNPub (line 323) | def swapServerNPub(self, swapserver_npub): method lnUtxoReserve (line 330) | def lnUtxoReserve(self): method walletShouldUseSinglePassword (line 336) | def walletShouldUseSinglePassword(self): method walletDidUseSinglePassword (line 345) | def walletDidUseSinglePassword(self): method formatSatsForEditing (line 355) | def formatSatsForEditing(self, satoshis): method formatSats (line 367) | def formatSats(self, satoshis, with_unit=False): method formatMilliSats (line 377) | def formatMilliSats(self, amount, with_unit=False): method unitsToSats (line 387) | def unitsToSats(self, unitAmount): method satsToUnits (line 402) | def satsToUnits(self, satoshis): FILE: electrum/gui/qml/qedaemon.py class QEWalletListModel (line 33) | class QEWalletListModel(QAbstractListModel): method __init__ (line 41) | def __init__(self, daemon: 'Daemon', parent=None): method rowCount (line 47) | def rowCount(self, index): method roleNames (line 50) | def roleNames(self): method data (line 53) | def data(self, index, role): method reload (line 65) | def reload(self): method add_wallet (line 81) | def add_wallet(self, wallet_path): method remove_wallet (line 89) | def remove_wallet(self, path): method wallet_name_exists (line 106) | def wallet_name_exists(self, name): method updateWallet (line 113) | def updateWallet(self, path): class QEDaemon (line 123) | class QEDaemon(AuthMixin, QObject): method __init__ (line 154) | def __init__(self, daemon: 'Daemon', plugins: 'Plugins', parent=None): method passwordValidityCheck (line 166) | def passwordValidityCheck(self): method loadWallet (line 173) | def loadWallet(self, path=None, password=None): method _on_backend_wallet_loaded (line 265) | def _on_backend_wallet_loaded(self, password=None): method checkThenDeleteWallet (line 280) | def checkThenDeleteWallet(self, wallet, confirm_requests=False, confir... method delete_wallet (line 300) | def delete_wallet(self, wallet): method loading (line 314) | def loading(self): method currentWallet (line 318) | def currentWallet(self): method availableWallets (line 322) | def availableWallets(self): method fx (line 329) | def fx(self): method getWalletsUnlockableWithPassword (line 333) | def getWalletsUnlockableWithPassword(self, password: str) -> list[str]: method numWalletsWithPassword (line 351) | def numWalletsWithPassword(self, password: str) -> int: method singlePasswordEnabled (line 358) | def singlePasswordEnabled(self): method singlePassword (line 369) | def singlePassword(self): method singlePassword (line 378) | def singlePassword(self, password: str): method suggestWalletName (line 386) | def suggestWalletName(self): method startChangePassword (line 395) | def startChangePassword(self): method setPassword (line 402) | def setPassword(self, password): method _update_password_for_directory_and_unlock_wallets (line 410) | def _update_password_for_directory_and_unlock_wallets(self, *, old_pas... method newWalletWizard (line 424) | def newWalletWizard(self): method serverConnectWizard (line 431) | def serverConnectWizard(self): method termsOfUseWizard (line 438) | def termsOfUseWizard(self): method startNetwork (line 444) | def startNetwork(self): method verifyMessage (line 448) | def verifyMessage(self, address, message, signature): method passwordStrength (line 462) | def passwordStrength(self, password): FILE: electrum/gui/qml/qefx.py class QEFX (line 17) | class QEFX(QObject, QtEventListener): method __init__ (line 22) | def __init__(self, fxthread: FxThread, config: SimpleConfig, parent=No... method on_destroy (line 29) | def on_destroy(self): method on_event_on_quotes (line 33) | def on_event_on_quotes(self, *args): method on_event_on_history (line 39) | def on_event_on_history(self, *args): method currencies (line 45) | def currencies(self): method rateSources (line 50) | def rateSources(self): method fiatCurrency (line 55) | def fiatCurrency(self): method fiatCurrency (line 59) | def fiatCurrency(self, currency): method fiatAmountRegex (line 67) | def fiatAmountRegex(self): method historicRates (line 77) | def historicRates(self): method historicRates (line 83) | def historicRates(self, checked): method rateSource (line 91) | def rateSource(self): method rateSource (line 95) | def rateSource(self, source): method enabled (line 102) | def enabled(self): method enabled (line 106) | def enabled(self, enable): method fiatValue (line 115) | def fiatValue(self, satoshis, plain=True): method fiatValueHistoric (line 133) | def fiatValueHistoric(self, satoshis, timestamp, plain=True): method satoshiValue (line 156) | def satoshiValue(self, fiat, plain=True): method isRecent (line 171) | def isRecent(self, timestamp): FILE: electrum/gui/qml/qeinvoice.py class QEInvoice (line 32) | class QEInvoice(QObject, QtEventListener): class Type (line 34) | class Type(IntEnum): class Status (line 41) | class Status(IntEnum): method __init__ (line 58) | def __init__(self, parent=None): method on_destroy (line 84) | def on_destroy(self): method on_event_payment_succeeded (line 88) | def on_event_payment_succeeded(self, wallet, key): method on_event_payment_failed (line 95) | def on_event_payment_failed(self, wallet, key, reason): method on_event_invoice_status (line 102) | def on_event_invoice_status(self, wallet, key, status): method on_event_channel (line 109) | def on_event_channel(self, wallet, channel): method wallet (line 116) | def wallet(self): method wallet (line 120) | def wallet(self, wallet: QEWallet): method invoiceType (line 126) | def invoiceType(self): method setInvoiceType (line 130) | def setInvoiceType(self, invoiceType: Type): method message (line 134) | def message(self): method time (line 138) | def time(self): method expiration (line 142) | def expiration(self): method address (line 146) | def address(self): method amount (line 150) | def amount(self): method amountOverride (line 158) | def amountOverride(self): method amountOverride (line 162) | def amountOverride(self, new_amount: QEAmount): method _on_amountoverride_value_changed (line 168) | def _on_amountoverride_value_changed(self): method status (line 174) | def status(self): method statusString (line 183) | def statusString(self): method isSaved (line 191) | def isSaved(self): method canSave (line 196) | def canSave(self): method canSave (line 200) | def canSave(self, canSave): method canPay (line 207) | def canPay(self): method canPay (line 211) | def canPay(self, canPay): method key (line 218) | def key(self): method key (line 222) | def key(self, key): method userinfo (line 231) | def userinfo(self): method userinfo (line 235) | def userinfo(self, userinfo): method lnprops (line 241) | def lnprops(self): method set_lnprops (line 244) | def set_lnprops(self): method name_for_node_id (line 262) | def name_for_node_id(self, node_id): method set_effective_invoice (line 266) | def set_effective_invoice(self, invoice: Invoice): method set_status_timer (line 289) | def set_status_timer(self): method updateStatusString (line 301) | def updateStatusString(self): method update_userinfo (line 305) | def update_userinfo(self): method determine_can_pay (line 338) | def determine_can_pay(self): method check_can_pay_amount (line 360) | def check_can_pay_amount(self, amount: QEAmount) -> Tuple[bool, Option... method payLightningInvoice (line 378) | def payLightningInvoice(self): method get_max_spendable_onchain (line 393) | def get_max_spendable_onchain(self): method get_max_spendable_lightning (line 396) | def get_max_spendable_lightning(self): method updateMaxAmount (line 400) | def updateMaxAmount(self): class QEInvoiceParser (line 432) | class QEInvoiceParser(QEInvoice): method __init__ (line 446) | def __init__(self, parent=None): method fromResolvedPaymentIdentifier (line 456) | def fromResolvedPaymentIdentifier(self, resolved_pi: PaymentIdentifier... method lnurlData (line 464) | def lnurlData(self): method isLnurlPay (line 468) | def isLnurlPay(self): method busy (line 472) | def busy(self): method clear (line 476) | def clear(self): method setValidOnchainInvoice (line 484) | def setValidOnchainInvoice(self, invoice: Invoice): method setValidLightningInvoice (line 490) | def setValidLightningInvoice(self, invoice: Invoice): method setValidLNURLPayRequest (line 497) | def setValidLNURLPayRequest(self): method create_onchain_invoice (line 503) | def create_onchain_invoice(self, outputs, message, payment_request, uri): method _bip70_payment_request_resolved (line 511) | def _bip70_payment_request_resolved(self, pr: 'PaymentRequest'): method validateRecipient (line 525) | def validateRecipient(self, pi: PaymentIdentifier): method _update_from_payment_identifier (line 549) | def _update_from_payment_identifier(self): method _validateRecipient_bip21_onchain (line 590) | def _validateRecipient_bip21_onchain(self, bip21: Dict[str, Any]) -> N... method on_lnurl_pay (line 605) | def on_lnurl_pay(self, lnurldata: LNURL6Data): method lnurlGetInvoice (line 623) | def lnurlGetInvoice(self, comment=None): method on_lnurl_invoice (line 651) | def on_lnurl_invoice(self, orig_amount, invoice): method saveInvoice (line 665) | def saveInvoice(self) -> bool: FILE: electrum/gui/qml/qeinvoicelistmodel.py class QEAbstractInvoiceListModel (line 20) | class QEAbstractInvoiceListModel(QAbstractListModel): method __init__ (line 31) | def __init__(self, wallet: 'Abstract_Wallet', parent=None): method rowCount (line 46) | def rowCount(self, index): method roleNames (line 49) | def roleNames(self): method data (line 52) | def data(self, index, role): method clear (line 63) | def clear(self): method initModel (line 69) | def initModel(self): method add_invoice (line 82) | def add_invoice(self, invoice: BaseInvoice): method addInvoice (line 99) | def addInvoice(self, key): method delete_invoice (line 102) | def delete_invoice(self, key: str): method get_model_invoice (line 111) | def get_model_invoice(self, key: str): method updateInvoice (line 118) | def updateInvoice(self, key, status): method invoice_to_model (line 129) | def invoice_to_model(self, invoice: BaseInvoice): method set_status_timer (line 141) | def set_status_timer(self): method updateStatusStrings (line 155) | def updateStatusStrings(self): method get_invoice_for_key (line 169) | def get_invoice_for_key(self, key: str): method get_invoice_list (line 173) | def get_invoice_list(self) -> List[BaseInvoice]: method get_invoice_as_dict (line 177) | def get_invoice_as_dict(self, invoice: BaseInvoice) -> Dict[str, Any]: class QEInvoiceListModel (line 181) | class QEInvoiceListModel(QEAbstractInvoiceListModel, QtEventListener): method __init__ (line 182) | def __init__(self, wallet, parent=None): method on_destroy (line 189) | def on_destroy(self): method on_event_invoice_status (line 193) | def on_event_invoice_status(self, wallet, key, status): method invoice_to_model (line 198) | def invoice_to_model(self, invoice: BaseInvoice): method get_invoice_list (line 204) | def get_invoice_list(self): method get_invoice_for_key (line 209) | def get_invoice_for_key(self, key: str): method get_invoice_as_dict (line 212) | def get_invoice_as_dict(self, invoice: Invoice): class QERequestListModel (line 216) | class QERequestListModel(QEAbstractInvoiceListModel, QtEventListener): method __init__ (line 217) | def __init__(self, wallet, parent=None): method on_destroy (line 224) | def on_destroy(self): method on_event_request_status (line 228) | def on_event_request_status(self, wallet, key, status): method invoice_to_model (line 233) | def invoice_to_model(self, invoice: BaseInvoice): method get_invoice_list (line 239) | def get_invoice_list(self): method get_invoice_for_key (line 244) | def get_invoice_for_key(self, key: str): method get_invoice_as_dict (line 247) | def get_invoice_as_dict(self, invoice: Request): method updateRequest (line 251) | def updateRequest(self, key, status): FILE: electrum/gui/qml/qelnpaymentdetails.py class QELnPaymentDetails (line 10) | class QELnPaymentDetails(QObject): method __init__ (line 15) | def __init__(self, parent=None): method wallet (line 31) | def wallet(self): method wallet (line 35) | def wallet(self, wallet: QEWallet): method key (line 42) | def key(self): method key (line 46) | def key(self, key: str): method label (line 55) | def label(self): method setLabel (line 59) | def setLabel(self, label: str): method status (line 66) | def status(self): method date (line 70) | def date(self): method timestamp (line 74) | def timestamp(self): method paymentHash (line 78) | def paymentHash(self): method preimage (line 82) | def preimage(self): method amount (line 86) | def amount(self): method fee (line 90) | def fee(self): method update (line 93) | def update(self): FILE: electrum/gui/qml/qemodelfilter.py class QEFilterProxyModel (line 6) | class QEFilterProxyModel(QSortFilterProxyModel): method __init__ (line 9) | def __init__(self, parent_model, parent=None): method count (line 16) | def count(self): method isCustomFilter (line 19) | def isCustomFilter(self): method setFilterValue (line 23) | def setFilterValue(self, filter_value): method filterAcceptsRow (line 27) | def filterAcceptsRow(self, s_row, s_parent): FILE: electrum/gui/qml/qenetwork.py class QENetwork (line 21) | class QENetwork(QObject, QtEventListener): method __init__ (line 54) | def __init__(self, network: 'Network', parent=None): method on_destroy (line 66) | def on_destroy(self): method on_event_network_updated (line 70) | def on_event_network_updated(self, *args): method on_event_blockchain_updated (line 75) | def on_event_blockchain_updated(self): method on_event_default_server_changed (line 83) | def on_event_default_server_changed(self, *args): method on_event_proxy_set (line 87) | def on_event_proxy_set(self, *args): method on_event_tor_probed (line 93) | def on_event_tor_probed(self, *args): method _update_status (line 96) | def _update_status(self): method on_event_status (line 132) | def on_event_status(self, *args): method on_event_fee_histogram (line 136) | def on_event_fee_histogram(self, histogram): method update_histogram (line 140) | def update_histogram(self, histogram): method on_event_channel_db (line 152) | def on_event_channel_db(self, num_nodes, num_channels, num_policies): method on_event_gossip_peers (line 168) | def on_event_gossip_peers(self, num_peers): method on_event_unknown_channels (line 174) | def on_event_unknown_channels(self, unknown): method on_gossip_setting_changed (line 181) | def on_gossip_setting_changed(self): method height (line 190) | def height(self): # local blockchain height method serverHeight (line 194) | def serverHeight(self): method autoConnect (line 199) | def autoConnect(self): method autoConnectDefined (line 204) | def autoConnectDefined(self): method server (line 208) | def server(self): method isValidServerAddress (line 212) | def isValidServerAddress(self, server: str) -> bool: method setServerParameters (line 216) | def setServerParameters(self, server_str: str, auto_connect: bool, one... method serverWithStatus (line 234) | def serverWithStatus(self): method status (line 241) | def status(self): method serverStatus (line 245) | def serverStatus(self): method isConnected (line 249) | def isConnected(self): method chaintips (line 253) | def chaintips(self): method isLagging (line 257) | def isLagging(self): method isTestNet (line 261) | def isTestNet(self): method networkName (line 265) | def networkName(self): method proxy (line 269) | def proxy(self): method proxy (line 275) | def proxy(self, proxy_dict): method isProxyTor (line 284) | def isProxyTor(self): method oneServer (line 288) | def oneServer(self): method feeHistogram (line 292) | def feeHistogram(self): method gossipInfo (line 296) | def gossipInfo(self): method serverListModel (line 307) | def serverListModel(self): method probeTor (line 313) | def probeTor(self): FILE: electrum/gui/qml/qepiresolver.py class QEPIResolver (line 13) | class QEPIResolver(QObject): method __init__ (line 23) | def __init__(self, parent=None): method recipient (line 35) | def recipient(self) -> Optional[str]: method recipient (line 39) | def recipient(self, recipient: str) -> None: method wallet (line 55) | def wallet(self) -> Optional[QEWallet]: method wallet (line 59) | def wallet(self, wallet: QEWallet) -> None: method busy (line 63) | def busy(self): method resolve_pi (line 66) | def resolve_pi(self) -> None: method clear (line 95) | def clear(self) -> None: FILE: electrum/gui/qml/qeqr.py class QEQRParser (line 26) | class QEQRParser(QObject): method __init__ (line 34) | def __init__(self, text=None, parent=None): method videoSink (line 47) | def videoSink(self): method videoSink (line 51) | def videoSink(self, sink: QVideoSink): method onVideoFrame (line 56) | def onVideoFrame(self, videoframe): method _parseQR (line 73) | def _parseQR(self, image: QImage): method _get_crop (line 100) | def _get_crop(self, image: QImage, scan_size: int) -> QRect: method busy (line 107) | def busy(self): method size (line 111) | def size(self): method data (line 115) | def data(self): method reset (line 121) | def reset(self): class QEQRImageProvider (line 126) | class QEQRImageProvider(QQuickImageProvider): method __init__ (line 132) | def __init__(self, max_size, parent=None): method requestImage (line 140) | def requestImage(self, qstr, size): class QEQRImageProviderHelper (line 177) | class QEQRImageProviderHelper(QObject): method __init__ (line 178) | def __init__(self, max_size, parent=None): method getDimensions (line 183) | def getDimensions(self, qstr): FILE: electrum/gui/qml/qeqrscanner.py class QEQRScanner (line 21) | class QEQRScanner(QObject): method __init__ (line 31) | def __init__(self, parent=None): method on_destroy (line 38) | def on_destroy(self): method hint (line 42) | def hint(self): method hint (line 46) | def hint(self, v: str): method open (line 50) | def open(self): method close (line 62) | def close(self): method on_qr_activity_result (line 66) | def on_qr_activity_result(self, requestCode, resultCode, intent): method _unbind (line 83) | def _unbind(self): method _scan_qr_non_android (line 87) | def _scan_qr_non_android(self): FILE: electrum/gui/qml/qerequestdetails.py class QERequestDetails (line 24) | class QERequestDetails(QObject, QtEventListener): class Status (line 27) | class Status(IntEnum): method __init__ (line 45) | def __init__(self, parent=None): method on_destroy (line 64) | def on_destroy(self): method on_event_request_status (line 71) | def on_event_request_status(self, wallet, key, status): method wallet (line 78) | def wallet(self): method wallet (line 82) | def wallet(self, wallet: QEWallet): method key (line 90) | def key(self): method key (line 94) | def key(self, key): method status (line 102) | def status(self): method status_str (line 106) | def status_str(self): method isLightning (line 110) | def isLightning(self): method address (line 114) | def address(self): method message (line 119) | def message(self): method amount (line 123) | def amount(self): method timestamp (line 127) | def timestamp(self): method expiration (line 131) | def expiration(self): method paidTxid (line 135) | def paidTxid(self): method bolt11 (line 145) | def bolt11(self): method bip21 (line 163) | def bip21(self): method lnurlData (line 167) | def lnurlData(self) -> Optional[dict]: method busy (line 171) | def busy(self): method initRequest (line 174) | def initRequest(self): method set_status_timer (line 190) | def set_status_timer(self): method updateStatusString (line 201) | def updateStatusString(self): method fromResolvedPaymentIdentifier (line 206) | def fromResolvedPaymentIdentifier(self, resolved_pi: PaymentIdentifier... method lnurlRequestWithdrawal (line 230) | def lnurlRequestWithdrawal(self, amount_sat: int) -> None: FILE: electrum/gui/qml/qeserverlistmodel.py class QEServerListModel (line 12) | class QEServerListModel(QAbstractListModel, QtEventListener): method __init__ (line 21) | def __init__(self, network, parent=None): method on_event_network_updated (line 33) | def on_event_network_updated(self): method on_event_blockchain_updated (line 38) | def on_event_blockchain_updated(self): method on_event_default_server_changed (line 43) | def on_event_default_server_changed(self): method rowCount (line 47) | def rowCount(self, index): method roleNames (line 50) | def roleNames(self): method data (line 53) | def data(self, index, role): method clear (line 64) | def clear(self): method chaintips (line 71) | def chaintips(self): method get_chains (line 74) | def get_chains(self): method initModel (line 83) | def initModel(self): FILE: electrum/gui/qml/qeswaphelper.py class InvalidSwapParameters (line 32) | class InvalidSwapParameters(Exception): pass class QESwapServerNPubListModel (line 35) | class QESwapServerNPubListModel(QAbstractListModel): method __init__ (line 44) | def __init__(self, config, parent=None): method rowCount (line 49) | def rowCount(self, index): method count (line 55) | def count(self): method roleNames (line 58) | def roleNames(self): method data (line 61) | def data(self, index, role): method clear (line 69) | def clear(self): method offer_to_model (line 74) | def offer_to_model(self, x: 'SwapOffer'): method updateModel (line 88) | def updateModel(self, items: Sequence['SwapOffer']): method indexFor (line 127) | def indexFor(self, npub: str): class QESwapHelper (line 134) | class QESwapHelper(AuthMixin, QObject, QtEventListener): class State (line 143) | class State(IntEnum): method __init__ (line 159) | def __init__(self, parent=None): method on_destroy (line 202) | def on_destroy(self): method wallet (line 209) | def wallet(self): method wallet (line 213) | def wallet(self, wallet: QEWallet): method sliderPos (line 221) | def sliderPos(self): method sliderPos (line 225) | def sliderPos(self, sliderPos): method rangeMin (line 233) | def rangeMin(self): method rangeMin (line 237) | def rangeMin(self, rangeMin): method rangeMax (line 244) | def rangeMax(self): method rangeMax (line 248) | def rangeMax(self, rangeMax): method leftVoid (line 255) | def leftVoid(self): method rightVoid (line 260) | def rightVoid(self): method valid (line 265) | def valid(self): method valid (line 269) | def valid(self, valid): method state (line 276) | def state(self): method state (line 280) | def state(self, state): method userinfo (line 287) | def userinfo(self): method userinfo (line 291) | def userinfo(self, userinfo): method tosend (line 298) | def tosend(self): method tosend (line 302) | def tosend(self, tosend): method toreceive (line 309) | def toreceive(self): method toreceive (line 313) | def toreceive(self, toreceive): method serverMiningfee (line 320) | def serverMiningfee(self): method serverMiningfee (line 324) | def serverMiningfee(self, server_miningfee): method serverfeeperc (line 331) | def serverfeeperc(self): method serverfeeperc (line 335) | def serverfeeperc(self, serverfeeperc): method miningfee (line 342) | def miningfee(self): method miningfee (line 346) | def miningfee(self, miningfee): method isReverse (line 353) | def isReverse(self): method isReverse (line 357) | def isReverse(self, isReverse): method canCancel (line 364) | def canCancel(self): method canCancel (line 368) | def canCancel(self, canCancel): method availableSwapServers (line 375) | def availableSwapServers(self): method on_offers_updated (line 381) | def on_offers_updated(self): method isNostr (line 385) | def isNostr(self): method run_swap_manager (line 388) | def run_swap_manager(self): method npubSelectionCancelled (line 476) | def npubSelectionCancelled(self): method setReadyState (line 487) | def setReadyState(self): method update_swap_manager_pair (line 494) | def update_swap_manager_pair(self): method initSwapSliderRange (line 503) | def initSwapSliderRange(self): method update_tx (line 553) | def update_tx(self, onchain_amount: Union[int, str]): method on_event_fee_histogram (line 572) | def on_event_fee_histogram(self, *args): method on_event_fee (line 576) | def on_event_fee(self, *args): method swap_slider_moved (line 579) | def swap_slider_moved(self): method tx_update_pushback_timer (line 607) | def tx_update_pushback_timer(self): method check_valid (line 610) | def check_valid(self, send_amount, receive_amount): method fwd_swap_updatetx (line 617) | def fwd_swap_updatetx(self): method do_normal_swap (line 627) | def do_normal_swap(self, lightning_amount, onchain_amount): method _create_tx (line 681) | def _create_tx(self, onchain_amount: Union[int, str, None]) -> Partial... method do_reverse_swap (line 708) | def do_reverse_swap(self, lightning_amount, onchain_amount): method executeSwap (line 746) | def executeSwap(self): method _do_execute_swap (line 753) | def _do_execute_swap(self): method cancelNormalSwap (line 764) | def cancelNormalSwap(self): FILE: electrum/gui/qml/qetransactionlistmodel.py class QETransactionListModel (line 19) | class QETransactionListModel(QAbstractListModel, QtEventListener): method __init__ (line 32) | def __init__(self, wallet: 'Abstract_Wallet', parent=None, *, onchain_... method on_destroy (line 47) | def on_destroy(self): method on_event_verified (line 51) | def on_event_verified(self, wallet, txid, info): method on_event_adb_set_future_tx (line 57) | def on_event_adb_set_future_tx(self, adb, txid): method on_event_fee_histogram (line 67) | def on_event_fee_histogram(self, histogram): method on_event_labels_received (line 86) | def on_event_labels_received(self, wallet, labels): method rowCount (line 90) | def rowCount(self, index): method count (line 96) | def count(self): method roleNames (line 99) | def roleNames(self): method data (line 102) | def data(self, index, role): method setDirty (line 119) | def setDirty(self): method clear (line 122) | def clear(self): method tx_to_model (line 127) | def tx_to_model(self, tx_item): method get_section_by_timestamp (line 167) | def get_section_by_timestamp(timestamp): method format_date_by_section (line 183) | def format_date_by_section(section: str, date: datetime): method _tx_mined_info_from_tx_item (line 197) | def _tx_mined_info_from_tx_item(tx_item: Dict[str, Any]) -> TxMinedInfo: method initModel (line 209) | def initModel(self, force: bool = False): method on_tx_verified (line 233) | def on_tx_verified(self, txid: str, info: TxMinedInfo): method _update_future_txitem (line 246) | def _update_future_txitem(self, tx_item_idx: int): method updateTxLabel (line 265) | def updateTxLabel(self, key, label): method updateBlockchainHeight (line 274) | def updateBlockchainHeight(self, height): FILE: electrum/gui/qml/qetxdetails.py class QETxDetails (line 21) | class QETxDetails(QObject, QtEventListener): method __init__ (line 31) | def __init__(self, parent=None): method on_destroy (line 76) | def on_destroy(self): method on_event_verified (line 80) | def on_event_verified(self, wallet, txid, info): method on_event_new_transaction (line 86) | def on_event_new_transaction(self, wallet, tx): method on_event_removed_transaction (line 92) | def on_event_removed_transaction(self, wallet, tx): method on_event_fee_histogram (line 100) | def on_event_fee_histogram(self, histogram): method wallet (line 107) | def wallet(self): method wallet (line 111) | def wallet(self, wallet: QEWallet): method txid (line 118) | def txid(self): method txid (line 122) | def txid(self, txid: str): method rawtx (line 130) | def rawtx(self): method rawtx (line 134) | def rawtx(self, rawtx: str): method label (line 151) | def label(self): method setLabel (line 155) | def setLabel(self, label: str): method status (line 162) | def status(self): method warning (line 166) | def warning(self): method amount (line 170) | def amount(self): method lnAmount (line 174) | def lnAmount(self): method fee (line 178) | def fee(self): method feeRateStr (line 182) | def feeRateStr(self): method inputs (line 186) | def inputs(self): method outputs (line 190) | def outputs(self): method isMined (line 194) | def isMined(self): method isRemoved (line 198) | def isRemoved(self): method mempoolDepth (line 202) | def mempoolDepth(self): method inMempool (line 206) | def inMempool(self): method date (line 210) | def date(self): method timestamp (line 214) | def timestamp(self): method confirmations (line 218) | def confirmations(self): method shortId (line 222) | def shortId(self): method headerHash (line 226) | def headerHash(self): method isLightningFundingTx (line 230) | def isLightningFundingTx(self): method canBump (line 234) | def canBump(self): method canCancel (line 238) | def canCancel(self): method canBroadcast (line 242) | def canBroadcast(self): method canCpfp (line 246) | def canCpfp(self): method canSaveAsLocal (line 250) | def canSaveAsLocal(self): method canRemove (line 254) | def canRemove(self): method canSign (line 258) | def canSign(self): method isUnrelated (line 262) | def isUnrelated(self): method isComplete (line 266) | def isComplete(self): method isRbfEnabled (line 270) | def isRbfEnabled(self): method lockDelay (line 274) | def lockDelay(self): method shouldConfirm (line 278) | def shouldConfirm(self): method update (line 281) | def update(self, from_txid: bool = False): method update_mined_status (line 401) | def update_mined_status(self, tx_mined_info: TxMinedInfo): method signAndBroadcast (line 410) | def signAndBroadcast(self): method sign (line 414) | def sign(self): method _sign (line 417) | def _sign(self, broadcast): method on_signed_tx (line 436) | def on_signed_tx(self, tx: Transaction): method broadcast (line 441) | def broadcast(self): method onBroadcastSucceeded (line 456) | def onBroadcastSucceeded(self, txid): method onBroadcastFailed (line 470) | def onBroadcastFailed(self, txid, code, reason): method removeLocalTx (line 484) | def removeLocalTx(self, confirm=False): method save (line 507) | def save(self): method getSerializedTx (line 517) | def getSerializedTx(self): FILE: electrum/gui/qml/qetxfinalizer.py class FeeSlider (line 33) | class FeeSlider(QObject): class FSMethod (line 36) | class FSMethod(IntEnum): method to_fee_method (line 42) | def to_fee_method(self) -> 'FeeMethod': method from_fee_method (line 51) | def from_fee_method(cls, fm: FeeMethod) -> 'FeeSlider.FSMethod': method __init__ (line 59) | def __init__(self, parent=None): method wallet (line 72) | def wallet(self): method wallet (line 76) | def wallet(self, wallet: QEWallet): method sliderSteps (line 85) | def sliderSteps(self): method sliderPos (line 90) | def sliderPos(self): method sliderPos (line 94) | def sliderPos(self, sliderPos): method method (line 102) | def method(self) -> int: method method (line 107) | def method(self, method: int): method target (line 117) | def target(self): method target (line 121) | def target(self, target): method update_slider (line 126) | def update_slider(self): method update_target (line 134) | def update_target(self): method read_config (line 137) | def read_config(self): method save_config (line 144) | def save_config(self): method update (line 151) | def update(self): class TxFeeSlider (line 155) | class TxFeeSlider(FeeSlider): method __init__ (line 156) | def __init__(self, parent=None): method fee (line 174) | def fee(self): method fee (line 178) | def fee(self, fee): method feeRate (line 185) | def feeRate(self): method feeRate (line 189) | def feeRate(self, feeRate): method userFee (line 196) | def userFee(self): method userFee (line 200) | def userFee(self, userFee): method userFeerate (line 212) | def userFeerate(self): method userFeerate (line 216) | def userFeerate(self, userFeerate): method isUserFeerateLast (line 229) | def isUserFeerateLast(self): method isUserFeerateLast (line 233) | def isUserFeerateLast(self, isUserFeerateLast): method rbf (line 240) | def rbf(self): method rbf (line 244) | def rbf(self, rbf): method inputs (line 252) | def inputs(self): method inputs (line 256) | def inputs(self, inputs): method outputs (line 263) | def outputs(self): method outputs (line 267) | def outputs(self, outputs): method finalizedTxid (line 274) | def finalizedTxid(self): method finalizedTxid (line 278) | def finalizedTxid(self, finalized_txid): method warning (line 285) | def warning(self): method warning (line 289) | def warning(self, warning): method valid (line 296) | def valid(self): method doUpdate (line 300) | def doUpdate(self): method update_from_tx (line 303) | def update_from_tx(self, tx: PartialTransaction): method update_manual_fields (line 317) | def update_manual_fields(self): method update_inputs_from_tx (line 326) | def update_inputs_from_tx(self, tx: Transaction): method update_outputs_from_tx (line 347) | def update_outputs_from_tx(self, tx: PartialTransaction): method update_fee_warning_from_tx (line 365) | def update_fee_warning_from_tx(self, *, tx: PartialTransaction, invoic... method save_config (line 378) | def save_config(self): class QETxFinalizer (line 387) | class QETxFinalizer(TxFeeSlider): method __init__ (line 393) | def __init__( method address (line 412) | def address(self): method address (line 416) | def address(self, address): method amount (line 423) | def amount(self): method amount (line 427) | def amount(self, amount): method effectiveAmount (line 435) | def effectiveAmount(self): method extraFee (line 440) | def extraFee(self): method extraFee (line 444) | def extraFee(self, extrafee): method canRbf (line 451) | def canRbf(self): method canRbf (line 455) | def canRbf(self, canRbf): method make_tx (line 462) | def make_tx(self, amount): method update (line 481) | def update(self): method saveOrShow (line 539) | def saveOrShow(self): method signAndSend (line 552) | def signAndSend(self): method sign (line 564) | def sign(self): method on_signed_tx (line 571) | def on_signed_tx(self, save: bool, tx: Transaction): method on_sign_failed (line 581) | def on_sign_failed(self, msg: str = None): method getSerializedTx (line 586) | def getSerializedTx(self): class TxMonMixin (line 594) | class TxMonMixin(QtEventListener): method __init__ (line 605) | def __init__(self, parent=None): method on_destroy (line 613) | def on_destroy(self): method on_event_verified (line 617) | def on_event_verified(self, wallet, txid, info): method on_event_removed_transaction (line 624) | def on_event_removed_transaction(self, wallet, tx): method txid (line 632) | def txid(self): method txid (line 636) | def txid(self, txid): method get_tx (line 643) | def get_tx(self) -> None: method tx_verified (line 647) | def tx_verified(self) -> None: method tx_removed (line 651) | def tx_removed(self) -> None: class QETxRbfFeeBumper (line 655) | class QETxRbfFeeBumper(TxFeeSlider, TxMonMixin): method __init__ (line 658) | def __init__(self, parent=None): method oldfee (line 670) | def oldfee(self): method oldfee (line 674) | def oldfee(self, oldfee): method oldfeeRate (line 681) | def oldfeeRate(self): method oldfeeRate (line 685) | def oldfeeRate(self, oldfeerate): method bumpMethod (line 692) | def bumpMethod(self): method bumpMethod (line 696) | def bumpMethod(self, bumpmethod: str) -> None: method bumpMethodsAvailable (line 704) | def bumpMethodsAvailable(self): method get_tx (line 707) | def get_tx(self): method tx_verified (line 729) | def tx_verified(self): method tx_removed (line 734) | def tx_removed(self): method update (line 739) | def update(self): method getNewTx (line 792) | def getNewTx(self): class QETxCanceller (line 796) | class QETxCanceller(TxFeeSlider, TxMonMixin): method __init__ (line 799) | def __init__(self, parent=None): method oldfee (line 810) | def oldfee(self): method oldfee (line 814) | def oldfee(self, oldfee): method oldfeeRate (line 821) | def oldfeeRate(self): method oldfeeRate (line 825) | def oldfeeRate(self, oldfeerate): method get_tx (line 830) | def get_tx(self): method tx_verified (line 847) | def tx_verified(self): method tx_removed (line 852) | def tx_removed(self): method update (line 857) | def update(self): method getNewTx (line 916) | def getNewTx(self): class QETxCpfpFeeBumper (line 920) | class QETxCpfpFeeBumper(TxFeeSlider, TxMonMixin): method __init__ (line 923) | def __init__(self, parent=None): method totalFee (line 942) | def totalFee(self): method totalFee (line 946) | def totalFee(self, totalfee): method totalFeeRate (line 953) | def totalFeeRate(self): method totalFeeRate (line 957) | def totalFeeRate(self, totalfeerate): method inputAmount (line 964) | def inputAmount(self): method outputAmount (line 969) | def outputAmount(self): method totalSize (line 974) | def totalSize(self): method get_tx (line 977) | def get_tx(self): method get_child_fee_from_total_feerate (line 1002) | def get_child_fee_from_total_feerate(self, fee_per_kb: Optional[int]) ... method get_child_fee_from_total_fee (line 1008) | def get_child_fee_from_total_fee(self, fee: int) -> int: method tx_verified (line 1013) | def tx_verified(self): method tx_removed (line 1018) | def tx_removed(self): method update (line 1023) | def update(self): method update_manual_fields (line 1096) | def update_manual_fields(self): method getNewTx (line 1106) | def getNewTx(self): class QETxSweepFinalizer (line 1110) | class QETxSweepFinalizer(QETxFinalizer): method __init__ (line 1115) | def __init__(self, parent=None): method privateKeys (line 1126) | def privateKeys(self): method privateKeys (line 1130) | def privateKeys(self, private_keys): method make_sweep_tx (line 1136) | def make_sweep_tx(self): method update_privkeys (line 1151) | def update_privkeys(self): method update (line 1168) | def update(self): method send (line 1209) | def send(self): FILE: electrum/gui/qml/qetypes.py class QEAmount (line 7) | class QEAmount(QObject): method __init__ (line 23) | def __init__(self, *, amount_sat: int = 0, amount_msat: int = 0, is_ma... method satsInt (line 39) | def satsInt(self): method satsInt (line 46) | def satsInt(self, sats): method msatsInt (line 52) | def msatsInt(self): method msatsInt (line 59) | def msatsInt(self, msats): method satsStr (line 65) | def satsStr(self): method msatsStr (line 69) | def msatsStr(self): method isMax (line 73) | def isMax(self): method isMax (line 77) | def isMax(self, ismax): method isEmpty (line 83) | def isEmpty(self): method clear (line 87) | def clear(self): method copyFrom (line 94) | def copyFrom(self, amount): method __eq__ (line 102) | def __eq__(self, other): method __str__ (line 112) | def __str__(self): method __repr__ (line 118) | def __repr__(self): class QEBytes (line 122) | class QEBytes(QObject): method __init__ (line 123) | def __init__(self, data: bytes = None, *, parent=None): method data (line 128) | def data(self): method data (line 132) | def data(self, _data): method isEmpty (line 136) | def isEmpty(self): method __str__ (line 139) | def __str__(self): method __repr__ (line 142) | def __repr__(self): FILE: electrum/gui/qml/qewallet.py class QEWallet (line 39) | class QEWallet(AuthMixin, QObject, QtEventListener): method getInstanceFor (line 45) | def getInstanceFor(cls, wallet): method __init__ (line 87) | def __init__(self, wallet: 'Abstract_Wallet', parent=None): method synchronizing (line 142) | def synchronizing(self): method synchronizing (line 146) | def synchronizing(self, synchronizing): method synchronizingProgress (line 160) | def synchronizingProgress(self): method synchronizingProgress (line 164) | def synchronizingProgress(self, progress): method multipleChange (line 172) | def multipleChange(self): method multipleChange (line 176) | def multipleChange(self, multiple_change): method on_event_request_status (line 183) | def on_event_request_status(self, wallet, key, status): method on_event_invoice_status (line 195) | def on_event_invoice_status(self, wallet, key, status): method on_event_new_transaction (line 201) | def on_event_new_transaction(self, wallet: 'Abstract_Wallet', tx: Tran... method on_event_adb_tx_height_changed (line 210) | def on_event_adb_tx_height_changed(self, adb, txid, old_height, new_he... method on_event_removed_transaction (line 216) | def on_event_removed_transaction(self, wallet, tx): method on_event_wallet_updated (line 226) | def on_event_wallet_updated(self, wallet): method on_event_channel (line 236) | def on_event_channel(self, wallet, channel): method on_event_channels_updated (line 242) | def on_event_channels_updated(self, wallet): method on_event_payment_succeeded (line 248) | def on_event_payment_succeeded(self, wallet, key): method on_event_payment_failed (line 254) | def on_event_payment_failed(self, wallet, key, reason): method on_destroy (line 258) | def on_destroy(self): method add_tx_notification (line 261) | def add_tx_notification(self, tx: Transaction): method notify_transactions (line 268) | def notify_transactions(self): method update_sync_progress (line 291) | def update_sync_progress(self): method historyModel (line 299) | def historyModel(self): method addressCoinModel (line 306) | def addressCoinModel(self): method requestModel (line 313) | def requestModel(self): method invoiceModel (line 320) | def invoiceModel(self): method channelModel (line 327) | def channelModel(self): method name (line 334) | def name(self): method isLightning (line 339) | def isLightning(self): method billingInfo (line 344) | def billingInfo(self): method canHaveLightning (line 350) | def canHaveLightning(self): method walletType (line 354) | def walletType(self): method isMultisig (line 358) | def isMultisig(self): method hasSeed (line 362) | def hasSeed(self): method seed (line 366) | def seed(self): method seedPassphrase (line 370) | def seedPassphrase(self): method txinType (line 374) | def txinType(self): method seedType (line 380) | def seedType(self): method isWatchOnly (line 384) | def isWatchOnly(self): method isDeterministic (line 388) | def isDeterministic(self): method isEncrypted (line 392) | def isEncrypted(self): method isHardware (line 396) | def isHardware(self): method keystores (line 400) | def keystores(self): method lightningNodePubkey (line 414) | def lightningNodePubkey(self): method lightningHasDeterministicNodeId (line 418) | def lightningHasDeterministicNodeId(self): method derivationPrefix (line 422) | def derivationPrefix(self): method masterPubkey (line 434) | def masterPubkey(self): method canSignWithoutServer (line 438) | def canSignWithoutServer(self): method canSignWithoutCosigner (line 442) | def canSignWithoutCosigner(self): method canSignMessage (line 450) | def canSignMessage(self): method canGetZeroconfChannel (line 455) | def canGetZeroconfChannel(self) -> bool: method frozenBalance (line 459) | def frozenBalance(self): method unconfirmedBalance (line 465) | def unconfirmedBalance(self): method confirmedBalance (line 470) | def confirmedBalance(self): method lightningBalance (line 476) | def lightningBalance(self): method lightningBalanceFrozen (line 482) | def lightningBalanceFrozen(self): method totalBalance (line 488) | def totalBalance(self): method lightningCanSend (line 494) | def lightningCanSend(self): method lightningCanReceive (line 500) | def lightningCanReceive(self): method isLowReserve (line 506) | def isLowReserve(self): method minChannelFunding (line 510) | def minChannelFunding(self): method lightningNumPeers (line 514) | def lightningNumPeers(self): method enableLightning (line 520) | def enableLightning(self): method sign_and_broadcast (line 526) | def sign_and_broadcast(self, tx, *, method sign (line 532) | def sign(self, tx, *, method do_sign (line 537) | def do_sign(self, tx, broadcast, on_success: Callable[[Transaction], N... method on_sign_complete (line 579) | def on_sign_complete(self, broadcast, cb: Callable[[Transaction], None... method on_sign_failed (line 587) | def on_sign_failed(self, cb: Callable[[], None] = None, error: str = N... method request_otp (line 592) | def request_otp(self, on_submit): method submitOtp (line 597) | def submitOtp(self, otp): method broadcast (line 602) | def broadcast(self, tx): method save_tx (line 628) | def save_tx(self, tx: 'PartialTransaction') -> bool: method ln_auth_rejected (line 644) | def ln_auth_rejected(self): method pay_lightning_invoice (line 648) | def pay_lightning_invoice(self, invoice: 'Invoice', amount_msat: int =... method deleteExpiredRequests (line 678) | def deleteExpiredRequests(self): method createRequest (line 687) | def createRequest(self, amount: QEAmount, message: str, expiration: in... method deleteRequest (line 719) | def deleteRequest(self, key: str): method deleteInvoice (line 725) | def deleteInvoice(self, key: str): method verifyPassword (line 731) | def verifyPassword(self, password): method setPassword (line 741) | def setPassword(self, password): method password (line 764) | def password(self): method importAddresses (line 768) | def importAddresses(self, addresslist): method importPrivateKeys (line 775) | def importPrivateKeys(self, keyslist): method importChannelBackup (line 782) | def importChannelBackup(self, backup_str): method isValidChannelBackup (line 790) | def isValidChannelBackup(self, backup_str): method requestShowSeed (line 801) | def requestShowSeed(self): method retrieve_seed (line 805) | def retrieve_seed(self): method getSerializedTx (line 817) | def getSerializedTx(self, txid): method getBalancesForPiechart (line 823) | def getBalancesForPiechart(self): method isAddressMine (line 836) | def isAddressMine(self, addr): method signMessage (line 841) | def signMessage(self, address, message): method determine_max (line 846) | def determine_max(self, *, mktx: Callable[[FeePolicy], PartialTransact... FILE: electrum/gui/qml/qewizard.py class QEAbstractWizard (line 19) | class QEAbstractWizard(QObject): method __init__ (line 26) | def __init__(self, parent=None): method startWizard (line 30) | def startWizard(self): method viewToComponent (line 35) | def viewToComponent(self, view): method submit (line 39) | def submit(self, wizard_data): method prev (line 45) | def prev(self): method isLast (line 50) | def isLast(self, wizard_data): class QENewWalletWizard (line 55) | class QENewWalletWizard(NewWalletWizard, QEAbstractWizard): method __init__ (line 59) | def __init__(self, daemon: 'QEDaemon', plugins: 'Plugins', parent=None): method path (line 91) | def path(self): method path (line 95) | def path(self, path): method is_single_password (line 99) | def is_single_password(self): method hasDuplicateMasterKeys (line 103) | def hasDuplicateMasterKeys(self, js_data): method hasHeterogeneousMasterKeys (line 109) | def hasHeterogeneousMasterKeys(self, js_data): method isMatchingSeed (line 115) | def isMatchingSeed(self, seed, seed_again): method verifySeed (line 119) | def verifySeed(self, seed, seed_variant, wallet_type='standard'): method _wallet_path_from_wallet_name (line 128) | def _wallet_path_from_wallet_name(self, wallet_name: str) -> str: method isValidNewWalletName (line 132) | def isValidNewWalletName(self, wallet_name: str) -> bool: method createStorage (line 158) | def createStorage(self, js_data, single_password_enabled, single_passw... class QEServerConnectWizard (line 184) | class QEServerConnectWizard(ServerConnectWizard, QEAbstractWizard): method __init__ (line 185) | def __init__(self, daemon: 'QEDaemon', parent=None): class QETermsOfUseWizard (line 197) | class QETermsOfUseWizard(TermsOfUseWizard, QEAbstractWizard): method __init__ (line 198) | def __init__(self, daemon: 'QEDaemon', parent=None): method termsOfUseText (line 209) | def termsOfUseText(self): FILE: electrum/gui/qml/util.py function status_update_timer_interval (line 12) | def status_update_timer_interval(exp): function check_password_strength (line 31) | def check_password_strength(password: str) -> Tuple[int, str]: FILE: electrum/gui/qt/__init__.py class OpenFileEventFilter (line 101) | class OpenFileEventFilter(QObject): method __init__ (line 102) | def __init__(self, windows: Sequence[ElectrumWindow]): method eventFilter (line 106) | def eventFilter(self, obj, event): class ScreenshotProtectionEventFilter (line 114) | class ScreenshotProtectionEventFilter(QObject): method __init__ (line 115) | def __init__(self): method eventFilter (line 118) | def eventFilter(self, obj, event): class QElectrumApplication (line 128) | class QElectrumApplication(QApplication): class ElectrumGui (line 138) | class ElectrumGui(BaseElectrumGui, Logger): method __init__ (line 144) | def __init__(self, *, config: 'SimpleConfig', daemon: 'Daemon', plugin... method _init_tray (line 184) | def _init_tray(self): method reload_app_stylesheet (line 191) | def reload_app_stylesheet(self): method build_tray_menu (line 218) | def build_tray_menu(self): method tray_icon (line 243) | def tray_icon(self): method toggle_tray_icon (line 249) | def toggle_tray_icon(self): method tray_activated (line 256) | def tray_activated(self, reason): method _cleanup_before_exit (line 265) | def _cleanup_before_exit(self): method _maybe_quit_if_no_windows_open (line 293) | def _maybe_quit_if_no_windows_open(self) -> None: method new_window (line 304) | def new_window(self, path, uri=None): method show_lightning_dialog (line 308) | def show_lightning_dialog(self): method show_plugins_dialog (line 315) | def show_plugins_dialog(self): method show_network_dialog (line 320) | def show_network_dialog(self, proxy_tab=False): method _create_window_for_wallet (line 328) | def _create_window_for_wallet(self, wallet): method count_wizards_in_progress (line 336) | def count_wizards_in_progress(func): method get_window_for_wallet (line 348) | def get_window_for_wallet(self, wallet): method start_new_window (line 354) | def start_new_window( method _start_wizard_to_select_or_create_wallet (line 446) | def _start_wizard_to_select_or_create_wallet(self, path) -> Optional[A... method close_window (line 512) | def close_window(self, window: ElectrumWindow): method reload_window (line 520) | def reload_window(self, window): method reload_windows (line 529) | def reload_windows(self): method has_accepted_terms_of_use (line 533) | def has_accepted_terms_of_use(self) -> bool: method ask_terms_of_use (line 539) | def ask_terms_of_use(self): method init_network (line 552) | def init_network(self): method main (line 566) | def main(self): method stop (line 598) | def stop(self): method version_info (line 603) | def version_info(cls): method do_copy (line 612) | def do_copy(self, text: str, *, title: str = None) -> None: function standalone_exception_dialog (line 619) | def standalone_exception_dialog(exception: Union[str, BaseException]) ->... FILE: electrum/gui/qt/address_dialog.py class AddressHistoryModel (line 40) | class AddressHistoryModel(HistoryModel): method __init__ (line 41) | def __init__(self, window: 'ElectrumWindow', address): method get_domain (line 45) | def get_domain(self): method should_include_lightning_payments (line 48) | def should_include_lightning_payments(self) -> bool: class AddressDialog (line 52) | class AddressDialog(WindowModalDialog): method __init__ (line 54) | def __init__(self, window: 'ElectrumWindow', address: str, *, parent=N... method show_qr (line 116) | def show_qr(self): FILE: electrum/gui/qt/address_list.py class AddressUsageStateFilter (line 50) | class AddressUsageStateFilter(IntEnum): method ui_text (line 57) | def ui_text(self) -> str: class AddressTypeFilter (line 67) | class AddressTypeFilter(IntEnum): method ui_text (line 72) | def ui_text(self) -> str: class AddressList (line 80) | class AddressList(MyTreeView): class Columns (line 82) | class Columns(MyTreeView.BaseColumnsEnum): method __init__ (line 96) | def __init__(self, main_window: 'ElectrumWindow'): method on_double_click (line 125) | def on_double_click(self, idx): method create_toolbar (line 129) | def create_toolbar(self, config: 'SimpleConfig'): method should_show_fiat (line 138) | def should_show_fiat(self): method get_toolbar_buttons (line 141) | def get_toolbar_buttons(self): method on_hide_toolbar (line 144) | def on_hide_toolbar(self): method refresh_headers (line 149) | def refresh_headers(self): method toggle_change (line 164) | def toggle_change(self, state: int): method toggle_used (line 170) | def toggle_used(self, state: int): method update (line 177) | def update(self): method address_index_as_sortable_key (line 253) | def address_index_as_sortable_key(address_index: Optional['AddressInde... method refresh_row (line 261) | def refresh_row(self, key, row): method create_menu (line 293) | def create_menu(self, position): method place_text_on_clipboard (line 353) | def place_text_on_clipboard(self, text: str, *, title: str = None) -> ... method get_edit_key_from_coordinate (line 362) | def get_edit_key_from_coordinate(self, row, col): method on_edited (line 367) | def on_edited(self, idx, edit_key, *, text): FILE: electrum/gui/qt/amountedit.py class FreezableLineEdit (line 19) | class FreezableLineEdit(QLineEdit): method setFrozen (line 22) | def setFrozen(self, b): method isFrozen (line 27) | def isFrozen(self): class SizedFreezableLineEdit (line 31) | class SizedFreezableLineEdit(FreezableLineEdit): method __init__ (line 33) | def __init__(self, *, width: int, parent=None): method sizeHint (line 39) | def sizeHint(self) -> QSize: class AmountEdit (line 44) | class AmountEdit(SizedFreezableLineEdit): method __init__ (line 47) | def __init__(self, base_unit, is_int=False, parent=None, *, max_amount... method decimal_point (line 58) | def decimal_point(self): method max_precision (line 61) | def max_precision(self): method numbify (line 64) | def numbify(self): method paintEvent (line 87) | def paintEvent(self, event): method _get_amount_from_text (line 98) | def _get_amount_from_text(self, text: str) -> Union[None, Decimal, int]: method get_amount (line 105) | def get_amount(self) -> Union[None, Decimal, int]: method _get_text_from_amount (line 111) | def _get_text_from_amount(self, amount) -> str: method setAmount (line 114) | def setAmount(self, amount): class BTCAmountEdit (line 119) | class BTCAmountEdit(AmountEdit): method __init__ (line 121) | def __init__(self, decimal_point, is_int=False, parent=None, *, max_am... method _base_unit (line 127) | def _base_unit(self): method _get_amount_from_text (line 130) | def _get_amount_from_text(self, text): method _get_text_from_amount (line 147) | def _get_text_from_amount(self, amount_sat): method setAmount (line 152) | def setAmount(self, amount_sat): class FeerateEdit (line 162) | class FeerateEdit(BTCAmountEdit): method __init__ (line 164) | def __init__(self, decimal_point, is_int=False, parent=None, *, max_am... method _base_unit (line 168) | def _base_unit(self): method _get_amount_from_text (line 171) | def _get_amount_from_text(self, text): method _get_text_from_amount (line 175) | def _get_text_from_amount(self, amount): FILE: electrum/gui/qt/balance_dialog.py class PieChartObject (line 54) | class PieChartObject: method paintEvent (line 56) | def paintEvent(self, event): class PieChartWidget (line 81) | class PieChartWidget(QWidget, PieChartObject): method __init__ (line 83) | def __init__(self, size, l): method update_list (line 95) | def update_list(self, l): class BalanceToolButton (line 100) | class BalanceToolButton(QToolButton, PieChartObject): method __init__ (line 102) | def __init__(self): method has_warning (line 109) | def has_warning(self) -> bool: method update_list (line 112) | def update_list(self, l, warning: bool): method setText (line 117) | def setText(self, text): method paintEvent (line 121) | def paintEvent(self, event): method resizeEvent (line 132) | def resizeEvent(self, e): method _update_size (line 136) | def _update_size(self): class LegendWidget (line 141) | class LegendWidget(QWidget): method __init__ (line 144) | def __init__(self, color): method paintEvent (line 154) | def paintEvent(self, event): class BalanceDialog (line 165) | class BalanceDialog(WindowModalDialog): method __init__ (line 167) | def __init__(self, parent: 'ElectrumWindow', *, wallet: 'Abstract_Wall... method run (line 274) | def run(self): FILE: electrum/gui/qt/bip39_recovery_dialog.py class Bip39RecoveryDialog (line 24) | class Bip39RecoveryDialog(WindowModalDialog): method __init__ (line 28) | def __init__(self, parent: QWidget, get_account_xpub, on_account_select): method on_finished (line 59) | def on_finished(self): method on_ok_button_click (line 62) | def on_ok_button_click(self): method on_recovery_success (line 67) | def on_recovery_success(self, accounts): method on_recovery_error (line 81) | def on_recovery_error(self, exc_info): method clear_content (line 93) | def clear_content(self): FILE: electrum/gui/qt/channel_details.py class HTLCItem (line 24) | class HTLCItem(QtGui.QStandardItem): method __init__ (line 25) | def __init__(self, *args, **kwargs): class SelectableLabel (line 30) | class SelectableLabel(QtWidgets.QLabel): method __init__ (line 31) | def __init__(self, text=''): class LinkedLabel (line 36) | class LinkedLabel(QtWidgets.QLabel): method __init__ (line 37) | def __init__(self, text, on_clicked): class ChannelDetailsDialog (line 42) | class ChannelDetailsDialog(QtWidgets.QDialog, MessageBoxMixin, QtEventLi... method __init__ (line 44) | def __init__(self, window: 'ElectrumWindow', chan: AbstractChannel): method make_htlc_item (line 88) | def make_htlc_item(self, i: UpdateAddHtlc, direction: Direction) -> HT... method make_model (line 95) | def make_model(self, htlcs: Sequence[HTLCWithStatus]) -> QtGui.QStanda... method move (line 127) | def move(self, fro: str, to: str, payment_hash: bytes): method on_event_channel (line 136) | def on_event_channel(self, wallet, chan): method on_event_htlc_added (line 141) | def on_event_htlc_added(self, chan, htlc, direction): method on_event_htlc_fulfilled (line 149) | def on_event_htlc_fulfilled(self, payment_hash, chan, htlc_id): method on_event_htlc_failed (line 156) | def on_event_htlc_failed(self, payment_hash, chan, htlc_id): method update (line 162) | def update(self): method show_tx (line 175) | def show_tx(self, link_text: str): method get_common_form (line 182) | def get_common_form(self, chan: AbstractChannel): method get_hbox_stats (line 217) | def get_hbox_stats(self, chan: Channel): method create_htlc_list (line 271) | def create_htlc_list(self, chan): method closeEvent (line 282) | def closeEvent(self, event): FILE: electrum/gui/qt/channels_list.py class ChannelsList (line 30) | class ChannelsList(MyTreeView): class Columns (line 35) | class Columns(MyTreeView.BaseColumnsEnum): method __init__ (line 65) | def __init__(self, main_window: 'ElectrumWindow'): method lnworker (line 81) | def lnworker(self): method format_fields (line 84) | def format_fields(self, chan: AbstractChannel) -> Dict['ChannelsList.C... method on_channel_closed (line 114) | def on_channel_closed(self, txid): method on_failure (line 117) | def on_failure(self, exc_info): method close_channel (line 122) | def close_channel(self, channel_id): method force_close (line 136) | def force_close(self, channel_id): method remove_channel (line 164) | def remove_channel(self, channel_id): method remove_channel_backup (line 168) | def remove_channel_backup(self, channel_id): method export_channel_backup (line 172) | def export_channel_backup(self, channel_id): method request_force_close (line 178) | def request_force_close(self, channel_id): method set_frozen (line 193) | def set_frozen(self, chan, *, for_sending, value): method get_rebalance_pair (line 203) | def get_rebalance_pair(self): method on_rebalance (line 216) | def on_rebalance(self): method on_double_click (line 223) | def on_double_click(self, idx): method create_menu (line 228) | def create_menu(self, position): method do_update_single_row (line 287) | def do_update_single_row(self, wallet: Abstract_Wallet, chan: Abstract... method on_gossip_db (line 302) | def on_gossip_db(self): method do_update_rows (line 306) | def do_update_rows(self, wallet): method _update_chan_frozen_bg (line 334) | def _update_chan_frozen_bg(self, *, chan: AbstractChannel, items: Sequ... method update_can_send (line 353) | def update_can_send(self, lnworker: LNWallet): method create_toolbar (line 360) | def create_toolbar(self, config): method statistics_dialog (line 379) | def statistics_dialog(self): method set_visibility_of_columns (line 396) | def set_visibility_of_columns(self): class ChannelFeature (line 402) | class ChannelFeature(ABC): method __init__ (line 403) | def __init__(self): method tooltip (line 407) | def tooltip(self) -> str: method icon (line 411) | def icon(self) -> QIcon: class ChanFeatChannel (line 415) | class ChanFeatChannel(ChannelFeature): method tooltip (line 416) | def tooltip(self) -> str: method icon (line 418) | def icon(self) -> QIcon: class ChanFeatBackup (line 422) | class ChanFeatBackup(ChannelFeature): method tooltip (line 423) | def tooltip(self) -> str: method icon (line 425) | def icon(self) -> QIcon: class ChanFeatTrampoline (line 429) | class ChanFeatTrampoline(ChannelFeature): method tooltip (line 430) | def tooltip(self) -> str: method icon (line 432) | def icon(self) -> QIcon: class ChanFeatNoOnchainBackup (line 436) | class ChanFeatNoOnchainBackup(ChannelFeature): method tooltip (line 437) | def tooltip(self) -> str: method icon (line 439) | def icon(self) -> QIcon: class ChannelFeatureIcons (line 444) | class ChannelFeatureIcons: method __init__ (line 446) | def __init__(self, features: Sequence['ChannelFeature']): method from_channel (line 452) | def from_channel(cls, chan: AbstractChannel) -> 'ChannelFeatureIcons': method paint (line 466) | def paint(self, painter: QPainter, rect: QRect) -> None: method sizeHint (line 477) | def sizeHint(self, default_size: QSize) -> QSize: method show_tooltip (line 483) | def show_tooltip(self, evt: QHelpEvent) -> bool: FILE: electrum/gui/qt/completion_text_edit.py class CompletionTextEdit (line 33) | class CompletionTextEdit(ButtonsTextEdit): method __init__ (line 35) | def __init__(self): method set_completer (line 41) | def set_completer(self, completer): method initialize_completer (line 45) | def initialize_completer(self): method insert_completion (line 51) | def insert_completion(self, completion): method text_under_cursor (line 64) | def text_under_cursor(self): method enable_suggestions (line 69) | def enable_suggestions(self): method disable_suggestions (line 72) | def disable_suggestions(self): method keyPressEvent (line 75) | def keyPressEvent(self, e): method is_special_key (line 111) | def is_special_key(self, e): FILE: electrum/gui/qt/confirm_tx_dialog.py class TxEditorContext (line 65) | class TxEditorContext(Enum): class TxEditor (line 74) | class TxEditor(WindowModalDialog, QtEventListener, Logger): method __init__ (line 78) | def __init__( method accept (line 171) | def accept(self): method reject (line 175) | def reject(self): method closeEvent (line 179) | def closeEvent(self, event): method _cleanup (line 183) | def _cleanup(self): method on_tab_changed (line 191) | def on_tab_changed(self, index): method is_batching (line 198) | def is_batching(self) -> bool: method timer_actions (line 201) | def timer_actions(self): method update (line 206) | def update(self): method stop_editor_updates (line 211) | def stop_editor_updates(self): method update_tx (line 214) | def update_tx(self, *, fallback_to_zero_fee: bool = False): method create_grid (line 218) | def create_grid(self) -> QGridLayout: method help_text (line 222) | def help_text(self) -> str: method update_fee_target (line 225) | def update_fee_target(self): method update_feerate_label (line 232) | def update_feerate_label(self): method create_fee_controls (line 235) | def create_fee_controls(self): method update_tab_visibility (line 315) | def update_tab_visibility(self): method trigger_update (line 341) | def trigger_update(self): method fee_slider_callback (line 349) | def fee_slider_callback(self, fee_rate): method on_fee_or_feerate (line 361) | def on_fee_or_feerate(self, edit_changed, editing_finished): method is_send_fee_frozen (line 377) | def is_send_fee_frozen(self) -> bool: method is_send_feerate_frozen (line 381) | def is_send_feerate_frozen(self) -> bool: method feerounding_text (line 385) | def feerounding_text(self): method set_feerounding_visibility (line 388) | def set_feerounding_visibility(self, b:bool): method get_fee_policy (line 393) | def get_fee_policy(self): method entry_changed (line 405) | def entry_changed(self): method update_fee_fields (line 424) | def update_fee_fields(self): method create_buttons_bar (line 485) | def create_buttons_bar(self): method create_top_bar (line 506) | def create_top_bar(self, text): method resize_to_fit_content (line 573) | def resize_to_fit_content(self): method toggle_use_change (line 579) | def toggle_use_change(self): method toggle_multiple_change (line 585) | def toggle_multiple_change(self): method set_io_visible (line 590) | def set_io_visible(self): method set_fee_edit_visible (line 593) | def set_fee_edit_visible(self): method set_locktime_visible (line 603) | def set_locktime_visible(self): method run (line 610) | def run(self): method on_send (line 619) | def on_send(self): method on_preview (line 625) | def on_preview(self): method _update_widgets (line 630) | def _update_widgets(self): method get_messages (line 669) | def get_messages(self): method set_locktime (line 742) | def set_locktime(self): method _update_amount_label (line 749) | def _update_amount_label(self): method _update_extra_fees (line 752) | def _update_extra_fees(self): method _update_message (line 755) | def _update_message(self): method _update_send_button (line 761) | def _update_send_button(self): method can_pay_assuming_zero_fees (line 770) | def can_pay_assuming_zero_fees(self, confirmed_only: bool) -> bool: method prepare_swap_transport (line 774) | def prepare_swap_transport(self): method wait_for_swap_transport (line 816) | async def wait_for_swap_transport(self, new_swap_transport: Union[Http... method on_event_swap_provider_changed (line 847) | def on_event_swap_provider_changed(self): method on_event_channel (line 851) | def on_event_channel(self, wallet, _channel): method on_event_swap_offers_changed (line 857) | def on_event_swap_offers_changed(self, _): method on_swap_availability_changed (line 865) | def on_swap_availability_changed(self): method create_submarine_payment_tab (line 873) | def create_submarine_payment_tab(self) -> QWidget: method show_swap_transport_connection_message (line 937) | def show_swap_transport_connection_message(self): method start_submarine_payment (line 942) | def start_submarine_payment(self): method update_submarine_payment_tab (line 972) | def update_submarine_payment_tab(self): method get_swap_warning (line 1040) | def get_swap_warning(self) -> Optional[str]: method set_submarine_payment_tab_warning (line 1089) | def set_submarine_payment_tab_warning(self, warning: str): method request_forward_swap (line 1096) | def request_forward_swap(self): class ConfirmTxDialog (line 1116) | class ConfirmTxDialog(TxEditor): method __init__ (line 1119) | def __init__( method _update_amount_label (line 1141) | def _update_amount_label(self): method update_tx (line 1154) | def update_tx(self, *, fallback_to_zero_fee: bool = False): method can_pay_assuming_zero_fees (line 1191) | def can_pay_assuming_zero_fees(self, confirmed_only: bool) -> bool: method create_grid (line 1200) | def create_grid(self): method _update_extra_fees (line 1237) | def _update_extra_fees(self): FILE: electrum/gui/qt/console.py class OverlayLabel (line 22) | class OverlayLabel(QtWidgets.QLabel): method __init__ (line 32) | def __init__(self, text, parent): method mousePressEvent (line 41) | def mousePressEvent(self, e): method on_resize (line 44) | def on_resize(self, w): class Console (line 49) | class Console(QtWidgets.QPlainTextEdit): method __init__ (line 54) | def __init__(self, parent=None): method set_font_size (line 79) | def set_font_size(self, size: int): method resizeEvent (line 84) | def resizeEvent(self, e): method set_json (line 89) | def set_json(self, b): method run_script (line 92) | def run_script(self, filename): method updateNamespace (line 98) | def updateNamespace(self, namespace): method showMessage (line 101) | def showMessage(self, message): method clear (line 106) | def clear(self): method keyboard_interrupt (line 111) | def keyboard_interrupt(self): method newPrompt (line 116) | def newPrompt(self, curr_line): method getCommand (line 128) | def getCommand(self, *, strip=True): method setCommand (line 136) | def setCommand(self, command): method show_completions (line 150) | def show_completions(self, completions): method hide_completions (line 167) | def hide_completions(self): method getConstruct (line 178) | def getConstruct(self, command): method addToHistory (line 194) | def addToHistory(self, command): method getPrevHistoryEntry (line 204) | def getPrevHistoryEntry(self): method getNextHistoryEntry (line 210) | def getNextHistoryEntry(self): method getCursorPosition (line 218) | def getCursorPosition(self): method setCursorPosition (line 222) | def setCursorPosition(self, position): method run_command (line 227) | def run_command(self): method _exec_command (line 238) | def _exec_command(self, command): method keyPressEvent (line 291) | def keyPressEvent(self, event): method completions (line 329) | def completions(self): FILE: electrum/gui/qt/contact_list.py class ContactList (line 46) | class ContactList(MyTreeView): class Columns (line 48) | class Columns(MyTreeView.BaseColumnsEnum): method __init__ (line 61) | def __init__(self, main_window: 'ElectrumWindow'): method on_edited (line 73) | def on_edited(self, idx, edit_key, *, text): method create_menu (line 78) | def create_menu(self, position): method update (line 106) | def update(self): method refresh_row (line 136) | def refresh_row(self, key, row): method get_edit_key_from_coordinate (line 140) | def get_edit_key_from_coordinate(self, row, col): method create_toolbar (line 145) | def create_toolbar(self, config): FILE: electrum/gui/qt/custom_model.py class CustomNode (line 7) | class CustomNode: method __init__ (line 9) | def __init__(self, model: 'CustomModel', data): method get_data (line 16) | def get_data(self): method get_data_for_role (line 19) | def get_data_for_role(self, index, role): method childCount (line 23) | def childCount(self): method child (line 26) | def child(self, row): method parent (line 30) | def parent(self): method row (line 33) | def row(self): method addChild (line 36) | def addChild(self, child): class CustomModel (line 42) | class CustomModel(QtCore.QAbstractItemModel): method __init__ (line 44) | def __init__(self, parent, columncount): method rowCount (line 49) | def rowCount(self, index): method columnCount (line 54) | def columnCount(self, index): method addChild (line 57) | def addChild(self, node, _parent): method index (line 64) | def index(self, row, column, _parent=None): method parent (line 85) | def parent(self, index): method data (line 96) | def data(self, index, role): FILE: electrum/gui/qt/exception_window.py class Exception_Window (line 46) | class Exception_Window(BaseCrashReporter, QWidget, MessageBoxMixin, Logg... method __init__ (line 49) | def __init__(self, config: 'SimpleConfig', exctype, value, tb): method _ask_for_confirm_to_send_report (line 102) | def _ask_for_confirm_to_send_report(self): method send_report (line 106) | def send_report(self): method on_close (line 132) | def on_close(self): method closeEvent (line 136) | def closeEvent(self, event): method get_user_description (line 140) | def get_user_description(self): method get_wallet_type (line 143) | def get_wallet_type(self): method _get_traceback_str_to_display (line 147) | def _get_traceback_str_to_display(self) -> str: method show_report_contents_dlg (line 154) | def show_report_contents_dlg(self): function _show_window (line 164) | def _show_window(*args): class Exception_Hook (line 169) | class Exception_Hook(QObject, Logger): method __init__ (line 174) | def __init__(self, *, config: 'SimpleConfig'): method maybe_setup (line 187) | def maybe_setup(cls, *, config: 'SimpleConfig', wallet: 'Abstract_Wall... method handler (line 193) | def handler(self, *exc_info): class ReportContentsDialog (line 202) | class ReportContentsDialog(QDialog): method __init__ (line 204) | def __init__(self, *, parent: QWidget, text: str): FILE: electrum/gui/qt/fee_slider.py class FeeComboBox (line 13) | class FeeComboBox(QComboBox): method __init__ (line 15) | def __init__(self, fee_slider: 'FeeSlider'): method on_fee_type (line 29) | def on_fee_type(self, x): class FeeSlider (line 35) | class FeeSlider(QSlider): method __init__ (line 37) | def __init__( method dyn (line 55) | def dyn(self) -> bool: method get_policy (line 58) | def get_policy(self) -> FeePolicy: method moved (line 61) | def moved(self, pos): method update (line 72) | def update(self, *, is_initialized: bool = True): method activate (line 83) | def activate(self): method deactivate (line 87) | def deactivate(self): method is_active (line 110) | def is_active(self): FILE: electrum/gui/qt/history_list.py class HistorySortModel (line 78) | class HistorySortModel(QSortFilterProxyModel): method data_for (line 80) | def data_for(self, index: QModelIndex): method lessThan (line 89) | def lessThan(self, source_left: QModelIndex, source_right: QModelIndex): function get_item_key (line 93) | def get_item_key(tx_item): function flatten_sort_key (line 96) | def flatten_sort_key(v): class HistoryNode (line 103) | class HistoryNode(CustomNode): method __init__ (line 107) | def __init__(self, model: 'CustomModel', tx_item): method set_balance (line 137) | def set_balance(self, balance): method get_data_for_role (line 141) | def get_data_for_role(self, index: QModelIndex, role: Qt.ItemDataRole)... class HistoryModel (line 241) | class HistoryModel(CustomModel, Logger): method __init__ (line 243) | def __init__(self, window: 'ElectrumWindow'): method set_view (line 251) | def set_view(self, history_list: 'HistoryList'): method update_label (line 257) | def update_label(self, index): method get_domain (line 265) | def get_domain(self): method should_include_lightning_payments (line 269) | def should_include_lightning_payments(self) -> bool: method should_show_fiat (line 273) | def should_show_fiat(self): method should_show_capital_gains (line 281) | def should_show_capital_gains(self): method refresh (line 285) | def refresh(self, reason: str): method set_visibility_of_columns (line 357) | def set_visibility_of_columns(self): method update_fiat (line 371) | def update_fiat(self, idx): method update_tx_mined_status (line 381) | def update_tx_mined_status(self, tx_hash: str, tx_mined_info: TxMinedI... method on_fee_histogram (line 398) | def on_fee_histogram(self): method headerData (line 408) | def headerData(self, section: int, orientation: Qt.Orientation, role: ... method flags (line 432) | def flags(self, idx: QModelIndex) -> Qt.ItemFlag: method _tx_mined_info_from_tx_item (line 439) | def _tx_mined_info_from_tx_item(tx_item: Dict[str, Any]) -> TxMinedInfo: class HistoryList (line 450) | class HistoryList(MyTreeView, AcceptFileDragDrop): class Columns (line 452) | class Columns(MyTreeView.BaseColumnsEnum): method tx_item_from_proxy_row (line 471) | def tx_item_from_proxy_row(self, proxy_row): method should_hide (line 475) | def should_hide(self, proxy_row): method __init__ (line 485) | def __init__(self, main_window: 'ElectrumWindow', model: HistoryModel): method update (line 519) | def update(self): method format_date (line 522) | def format_date(self, d): method on_combo (line 525) | def on_combo(self, x): method create_toolbar (line 546) | def create_toolbar(self, config: 'SimpleConfig'): method update_toolbar_menu (line 560) | def update_toolbar_menu(self): method get_toolbar_buttons (line 568) | def get_toolbar_buttons(self): method on_hide_toolbar (line 571) | def on_hide_toolbar(self): method select_start_date (line 576) | def select_start_date(self): method select_end_date (line 580) | def select_end_date(self): method select_date (line 584) | def select_date(self, button): method show_summary (line 606) | def show_summary(self): method plot_history_dialog (line 678) | def plot_history_dialog(self): method on_edited (line 697) | def on_edited(self, idx, edit_key, *, text): method on_double_click (line 714) | def on_double_click(self, idx): method add_copy_menu (line 726) | def add_copy_menu(self, menu, idx): method create_menu (line 742) | def create_menu(self, position: QPoint): method remove_local_tx (line 804) | def remove_local_tx(self, tx_hash: str): method onFileAdded (line 817) | def onFileAdded(self, fn): method export_history_dialog (line 828) | def export_history_dialog(self): method get_text_from_coordinate (line 858) | def get_text_from_coordinate(self, row, col): method get_role_data_from_coordinate (line 861) | def get_role_data_from_coordinate(self, row, col, *, role): FILE: electrum/gui/qt/invoice_list.py class InvoiceList (line 54) | class InvoiceList(MyTreeView): class Columns (line 57) | class Columns(MyTreeView.BaseColumnsEnum): method __init__ (line 71) | def __init__(self, send_tab: 'SendTab'): method on_double_click (line 86) | def on_double_click(self, idx): method refresh_row (line 90) | def refresh_row(self, key, row): method update (line 106) | def update(self): method show_invoice (line 144) | def show_invoice(self, key): method hide_if_empty (line 154) | def hide_if_empty(self): method create_menu (line 159) | def create_menu(self, position): method show_log (line 200) | def show_log(self, key, log: Sequence[HtlcLog]): method delete_invoices (line 216) | def delete_invoices(self, keys): FILE: electrum/gui/qt/lightning_dialog.py class LightningDialog (line 40) | class LightningDialog(QDialog, QtEventListener): method __init__ (line 42) | def __init__(self, gui_object: 'ElectrumGui'): method on_event_channel_db (line 72) | def on_event_channel_db(self, num_nodes, num_channels, num_policies): method on_event_gossip_peers (line 77) | def on_event_gossip_peers(self, num_peers): method on_event_unknown_channels (line 81) | def on_event_unknown_channels(self, unknown): method is_hidden (line 84) | def is_hidden(self): method show_or_hide (line 87) | def show_or_hide(self): method bring_to_top (line 93) | def bring_to_top(self): method closeEvent (line 97) | def closeEvent(self, event): FILE: electrum/gui/qt/lightning_tx_dialog.py class LightningTxDialog (line 42) | class LightningTxDialog(WindowModalDialog): method __init__ (line 44) | def __init__(self, parent: 'ElectrumWindow', tx_item: dict): FILE: electrum/gui/qt/locktimeedit.py class LockTimeEdit (line 20) | class LockTimeEdit(QWidget): method __init__ (line 24) | def __init__(self, parent=None): method get_locktime (line 73) | def get_locktime(self) -> Optional[int]: method set_locktime (line 76) | def set_locktime(self, x: Any) -> None: class _LockTimeEditor (line 80) | class _LockTimeEditor: method get_locktime (line 84) | def get_locktime(self) -> Optional[int]: method set_locktime (line 87) | def set_locktime(self, x: Any) -> None: method is_acceptable_locktime (line 91) | def is_acceptable_locktime(cls, x: Any) -> bool: class LockTimeRawEdit (line 101) | class LockTimeRawEdit(QLineEdit, _LockTimeEditor): method __init__ (line 103) | def __init__(self, parent=None): method numbify (line 108) | def numbify(self): method get_locktime (line 120) | def get_locktime(self) -> Optional[int]: method set_locktime (line 126) | def set_locktime(self, x: Any) -> None: class LockTimeHeightEdit (line 137) | class LockTimeHeightEdit(LockTimeRawEdit): method __init__ (line 140) | def __init__(self, parent=None): method paintEvent (line 144) | def paintEvent(self, event): function get_max_allowed_timestamp (line 155) | def get_max_allowed_timestamp() -> int: class LockTimeDateEdit (line 167) | class LockTimeDateEdit(QDateTimeEdit, _LockTimeEditor): method __init__ (line 171) | def __init__(self, parent=None): method get_locktime (line 177) | def get_locktime(self) -> Optional[int]: method set_locktime (line 182) | def set_locktime(self, x: Any) -> None: FILE: electrum/gui/qt/main_window.py class StatusBarButton (line 113) | class StatusBarButton(QToolButton): method __init__ (line 115) | def __init__(self, icon, tooltip, func, sb_height): method onPress (line 129) | def onPress(self, checked=False): method keyPressEvent (line 133) | def keyPressEvent(self, e): function protected (line 138) | def protected(func): class ElectrumWindow (line 164) | class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListen... method __init__ (line 172) | def __init__(self, gui_object: 'ElectrumGui', wallet: Abstract_Wallet): method run_coroutine_dialog (line 319) | def run_coroutine_dialog(self, coro, text): method run_coroutine_from_thread (line 325) | def run_coroutine_from_thread(self, coro, name, on_result=None): method toggle_lock (line 348) | def toggle_lock(self): method update_lock_menu (line 359) | def update_lock_menu(self): method unlock_wallet (line 365) | def unlock_wallet(self, password, message=None): method lock_wallet (line 377) | def lock_wallet(self): method on_fx_history (line 388) | def on_fx_history(self): method on_fx_quotes (line 392) | def on_fx_quotes(self): method toggle_tab (line 404) | def toggle_tab(self, tab): method push_top_level_window (line 422) | def push_top_level_window(self, window): method pop_top_level_window (line 428) | def pop_top_level_window(self, window): method top_level_window (line 431) | def top_level_window(self, test_func=None): method diagnostic_name (line 438) | def diagnostic_name(self): method is_hidden (line 442) | def is_hidden(self): method show_or_hide (line 445) | def show_or_hide(self): method bring_to_top (line 451) | def bring_to_top(self): method on_error (line 455) | def on_error(self, exc_info): method on_event_wallet_updated (line 472) | def on_event_wallet_updated(self, wallet): method on_event_new_transaction (line 477) | def on_event_new_transaction(self, wallet: Abstract_Wallet, tx: Transa... method on_event_password_required (line 483) | def on_event_password_required(self, wallet): method on_event_password_not_required (line 488) | def on_event_password_not_required(self, wallet): method on_password_required_button_clicked (line 492) | def on_password_required_button_clicked(self): method on_event_status (line 503) | def on_event_status(self): method on_event_network_updated (line 507) | def on_event_network_updated(self, *args): method on_event_blockchain_updated (line 511) | def on_event_blockchain_updated(self, *args): method on_event_on_quotes (line 516) | def on_event_on_quotes(self, *args): method on_event_on_history (line 520) | def on_event_on_history(self, *args): method on_event_gossip_db_loaded (line 524) | def on_event_gossip_db_loaded(self, *args): method on_event_channels_updated (line 528) | def on_event_channels_updated(self, *args): method on_event_channel (line 534) | def on_event_channel(self, *args): method on_event_banner (line 541) | def on_event_banner(self, *args): method on_event_adb_set_future_tx (line 545) | def on_event_adb_set_future_tx(self, adb, txid): method on_event_verified (line 552) | def on_event_verified(self, *args): method on_event_fee_histogram (line 558) | def on_event_fee_histogram(self, *args): method on_event_ln_gossip_sync_progress (line 562) | def on_event_ln_gossip_sync_progress(self, *args): method on_event_cert_mismatch (line 566) | def on_event_cert_mismatch(self, *args): method on_event_tor_probed (line 570) | def on_event_tor_probed(self, is_tor): method on_event_proxy_set (line 574) | def on_event_proxy_set(self, *args): method on_event_recently_opened_wallets_update (line 578) | def on_event_recently_opened_wallets_update(self, *args): method close_wallet (line 581) | def close_wallet(self): method load_wallet (line 587) | def load_wallet(self, wallet: Abstract_Wallet): method init_geometry (line 615) | def init_geometry(self): method get_app_name_and_version_str (line 630) | def get_app_name_and_version_str(cls) -> str: method watching_only_changed (line 636) | def watching_only_changed(self): method warn_if_watching_only (line 649) | def warn_if_watching_only(self): method warn_if_testnet (line 658) | def warn_if_testnet(self): method open_wallet (line 683) | def open_wallet(self): method select_backup_dir (line 694) | def select_backup_dir(self, b): method backup_wallet (line 701) | def backup_wallet(self): method update_recently_opened_menu (line 737) | def update_recently_opened_menu(self): method get_wallet_folder (line 748) | def get_wallet_folder(self): method new_wallet (line 751) | def new_wallet(self): method init_menubar (line 767) | def init_menubar(self): method donate_to_server (line 864) | def donate_to_server(self): method show_about (line 873) | def show_about(self): method show_bitcoin_paper (line 883) | def show_bitcoin_paper(self): method show_update_check (line 904) | def show_update_check(self, version=None): method show_report_bug (line 907) | def show_report_bug(self): method notify_transactions (line 916) | def notify_transactions(self): method notify (line 937) | def notify(self, message): method timer_actions (line 941) | def timer_actions(self): method format_amount (line 957) | def format_amount( method format_amount_and_units (line 975) | def format_amount_and_units(self, amount_sat, *, timestamp: int = None... method format_fiat_and_units (line 985) | def format_fiat_and_units(self, amount_sat) -> str: method format_fee_rate (line 991) | def format_fee_rate(self, fee_rate) -> str: method get_decimal_point (line 995) | def get_decimal_point(self): method base_unit (line 998) | def base_unit(self): method connect_fields (line 1001) | def connect_fields(self, btc_e, fiat_e): method update_status (line 1034) | def update_status(self): method num_tasks (line 1114) | def num_tasks(self): method update_wallet (line 1119) | def update_wallet(self): method update_tabs (line 1124) | def update_tabs(self, wallet=None): method refresh_tabs (line 1139) | def refresh_tabs(self, wallet=None): method create_channels_tab (line 1148) | def create_channels_tab(self): method create_history_tab (line 1154) | def create_history_tab(self): method show_address (line 1162) | def show_address(self, addr: str, *, parent: QWidget = None): method show_utxo (line 1167) | def show_utxo(self, utxo): method show_channel_details (line 1172) | def show_channel_details(self, chan): method show_transaction (line 1176) | def show_transaction( method show_lightning_transaction (line 1198) | def show_lightning_transaction(self, tx_item): method create_receive_tab (line 1203) | def create_receive_tab(self): method do_copy (line 1207) | def do_copy(self, text: str, *, title: str = None) -> None: method show_tooltip_after_delay (line 1210) | def show_tooltip_after_delay(self, message): method toggle_qr_window (line 1214) | def toggle_qr_window(self): method show_send_tab (line 1229) | def show_send_tab(self): method show_receive_tab (line 1232) | def show_receive_tab(self): method create_send_tab (line 1235) | def create_send_tab(self): method get_contact_payto (line 1239) | def get_contact_payto(self, key): method update_completions (line 1243) | def update_completions(self): method protect (line 1248) | def protect(self, func, args, password): method run_swap_dialog (line 1251) | def run_swap_dialog( method create_sm_transport (line 1289) | def create_sm_transport(self) -> Optional['SwapServerTransport']: method initialize_swap_manager (line 1307) | def initialize_swap_manager(self, transport: 'SwapServerTransport'): method choose_swapserver_dialog (line 1335) | def choose_swapserver_dialog(self, transport: NostrTransport) -> bool: method on_event_request_status (line 1363) | def on_event_request_status(self, wallet, key, status): method on_event_invoice_status (line 1384) | def on_event_invoice_status(self, wallet, key, status): method on_event_payment_succeeded (line 1393) | def on_event_payment_succeeded(self, wallet, key): method on_event_payment_failed (line 1402) | def on_event_payment_failed(self, wallet, key, reason): method get_coins (line 1408) | def get_coins(self, **kwargs) -> Sequence[PartialTxInput]: method get_manually_selected_coins (line 1415) | def get_manually_selected_coins(self) -> Optional[Sequence[PartialTxIn... method broadcast_or_show (line 1422) | def broadcast_or_show(self, tx: Transaction, *, invoice: 'Invoice' = N... method broadcast_transaction (line 1432) | def broadcast_transaction(self, tx: Transaction, *, invoice: Invoice =... method sign_tx (line 1436) | def sign_tx( method sign_tx_with_password (line 1446) | def sign_tx_with_password( method mktx_for_open_channel (line 1473) | def mktx_for_open_channel(self, *, funding_sat, node_id): method open_channel (line 1483) | def open_channel(self, connect_str, funding_sat, push_amt): method confirm_tx_dialog (line 1500) | def confirm_tx_dialog( method _open_channel (line 1519) | def _open_channel(self, connect_str, funding_sat, push_amt, funding_tx... method on_open_channel_success (line 1535) | def on_open_channel_success(self, args): method handle_payment_identifier (line 1559) | def handle_payment_identifier(self, text: str): method set_frozen_state_of_addresses (line 1567) | def set_frozen_state_of_addresses(self, addrs, freeze: bool): method set_frozen_state_of_coins (line 1573) | def set_frozen_state_of_coins(self, utxos: Sequence[PartialTxInput], f... method create_list_tab (line 1579) | def create_list_tab(self, l): method create_addresses_tab (line 1594) | def create_addresses_tab(self): method create_utxo_tab (line 1601) | def create_utxo_tab(self): method create_contacts_tab (line 1608) | def create_contacts_tab(self): method remove_address (line 1615) | def remove_address(self, addr): method payto_contacts (line 1626) | def payto_contacts(self, labels): method set_contact (line 1629) | def set_contact(self, label, address): method delete_contacts (line 1641) | def delete_contacts(self, labels): method show_onchain_invoice (line 1651) | def show_onchain_invoice(self, invoice: Invoice): method show_lightning_invoice (line 1700) | def show_lightning_invoice(self, invoice: Invoice): method create_console_tab (line 1746) | def create_console_tab(self): method create_notes_tab (line 1752) | def create_notes_tab(self): method maybe_save_notes_text (line 1763) | def maybe_save_notes_text(self): method save_notes_text (line 1766) | def save_notes_text(self): method update_console (line 1770) | def update_console(self): method show_balance_dialog (line 1807) | def show_balance_dialog(self): method create_status_bar (line 1815) | def create_status_bar(self): method create_coincontrol_statusbar (line 1886) | def create_coincontrol_statusbar(self): method set_coincontrol_msg (line 1905) | def set_coincontrol_msg(self, msg: Optional[str]) -> None: method update_lightning_icon (line 1913) | def update_lightning_icon(self): method update_lock_icon (line 1937) | def update_lock_icon(self): method update_buttons_on_seed (line 1941) | def update_buttons_on_seed(self): method change_password_dialog (line 1945) | def change_password_dialog(self): method _update_wallet_password (line 1973) | def _update_wallet_password(self, *, old_password, new_password, xpub_... method toggle_search (line 1987) | def toggle_search(self): method do_search (line 1994) | def do_search(self, t): method new_channel_dialog (line 1999) | def new_channel_dialog(self, *, amount_sat=None, min_amount_sat=None): method new_contact_dialog (line 2019) | def new_contact_dialog(self): method init_lightning_dialog (line 2039) | def init_lightning_dialog(self, close_dialog: Optional[QDialog] = None... method _init_lightning_dialog (line 2055) | def _init_lightning_dialog(self, *, close_dialog: Optional[QDialog], p... method show_wallet_info (line 2062) | def show_wallet_info(self): method remove_wallet (line 2067) | def remove_wallet(self): method _delete_wallet (line 2075) | def _delete_wallet(self, password): method get_password (line 2086) | def get_password(self, password, message=None): method show_seed_dialog (line 2091) | def show_seed_dialog(self, password): method show_qrcode (line 2106) | def show_qrcode(self, data, title=None, parent=None, *, method show_private_key (line 2123) | def show_private_key(self, address, password): method do_sign (line 2153) | def do_sign(self, address, message, signature, password): method do_verify (line 2181) | def do_verify(self, address, message, signature): method sign_verify_message (line 2198) | def sign_verify_message(self, address=''): method do_decrypt (line 2237) | def do_decrypt(self, message_e, pubkey_e, encrypted_e, password): method do_encrypt (line 2253) | def do_encrypt(self, message_e, pubkey_e, encrypted_e): method encrypt_message (line 2266) | def encrypt_message(self, address=''): method tx_from_text (line 2307) | def tx_from_text(self, data: Union[str, bytes]) -> Union[None, 'Partia... method import_channel_backup (line 2315) | def import_channel_backup(self, encrypted: str): method read_tx_from_qrcode (line 2327) | def read_tx_from_qrcode(self): method read_tx_from_file (line 2350) | def read_tx_from_file(self) -> Optional[Transaction]: method do_process_from_text (line 2381) | def do_process_from_text(self): method do_process_from_text_channel_backup (line 2395) | def do_process_from_text_channel_backup(self): method do_process_from_file (line 2408) | def do_process_from_file(self): method do_process_from_txid (line 2413) | def do_process_from_txid(self, *, parent: QWidget = None, txid: str = ... method _fetch_tx_from_network (line 2432) | def _fetch_tx_from_network(self, txid: str, *, parent: QWidget = None)... method export_privkeys_dialog (line 2455) | def export_privkeys_dialog(self, password): method do_export_privkeys (line 2545) | def do_export_privkeys(self, fileName, pklist, is_csv): method do_import_labels (line 2556) | def do_import_labels(self): method do_export_labels (line 2561) | def do_export_labels(self): method import_invoices (line 2564) | def import_invoices(self): method export_invoices (line 2567) | def export_invoices(self): method import_requests (line 2570) | def import_requests(self): method export_requests (line 2573) | def export_requests(self): method import_contacts (line 2576) | def import_contacts(self): method export_contacts (line 2579) | def export_contacts(self): method sweep_key_dialog (line 2583) | def sweep_key_dialog(self): method _do_import (line 2657) | def _do_import(self, title, header_layout, func): method import_addresses (line 2683) | def import_addresses(self): method do_import_privkey (line 2690) | def do_import_privkey(self, password): method refresh_amount_edits (line 2699) | def refresh_amount_edits(self): method update_fiat (line 2705) | def update_fiat(self): method settings_dialog (line 2715) | def settings_dialog(self): method _show_closing_warnings (line 2729) | def _show_closing_warnings(self) -> bool: method register_closing_warning_callback (line 2757) | def register_closing_warning_callback(self, callback: Callable[[], Opt... method _check_ongoing_force_closures (line 2772) | def _check_ongoing_force_closures(self) -> Optional[str]: method _check_ongoing_submarine_swaps_callback (line 2789) | def _check_ongoing_submarine_swaps_callback(self) -> Optional[str]: method closeEvent (line 2813) | def closeEvent(self, event): method clean_up (line 2821) | def clean_up(self): method cpfp_dialog (line 2851) | def cpfp_dialog(self, parent_tx: Transaction) -> None: method bump_fee_dialog (line 2944) | def bump_fee_dialog(self, tx: Transaction): method dscancel_dialog (line 2952) | def dscancel_dialog(self, tx: Transaction): method save_transaction_into_wallet (line 2960) | def save_transaction_into_wallet(self, tx: Transaction): method show_cert_mismatch_error (line 2980) | def show_cert_mismatch_error(self): method rebalance_dialog (line 2990) | def rebalance_dialog(self, chan1, chan2, amount_sat=None): method on_swap_result (line 2997) | def on_swap_result(self, txid: Optional[str], *, is_reverse: bool): method set_payment_identifier (line 3010) | def set_payment_identifier(self, pi: str): FILE: electrum/gui/qt/my_treeview.py class QMenuWithConfig (line 51) | class QMenuWithConfig(QMenu): method __init__ (line 53) | def __init__(self, config: 'SimpleConfig'): method addToggle (line 58) | def addToggle( method addConfig (line 73) | def addConfig( method _do_toggle_config (line 97) | def _do_toggle_config( function create_toolbar_with_menu (line 110) | def create_toolbar_with_menu(config: 'SimpleConfig', title): class MySortModel (line 126) | class MySortModel(QSortFilterProxyModel): method __init__ (line 127) | def __init__(self, parent, *, sort_role): method lessThan (line 131) | def lessThan(self, source_left: QModelIndex, source_right: QModelIndex): class ElectrumItemDelegate (line 147) | class ElectrumItemDelegate(QStyledItemDelegate): method __init__ (line 148) | def __init__(self, tv: 'MyTreeView'): method createEditor (line 170) | def createEditor(self, parent, option, idx): method paint (line 175) | def paint(self, painter: QPainter, option: QStyleOptionViewItem, idx: ... method helpEvent (line 185) | def helpEvent(self, evt: QHelpEvent, view: QAbstractItemView, option: ... method sizeHint (line 195) | def sizeHint(self, option: QStyleOptionViewItem, idx: QModelIndex) -> ... class MyTreeView (line 204) | class MyTreeView(QTreeView): class BaseColumnsEnum (line 213) | class BaseColumnsEnum(enum.IntEnum): method _generate_next_value_ (line 215) | def _generate_next_value_(name: str, start: int, count: int, last_va... method __init__ (line 221) | def __init__( method create_menu (line 264) | def create_menu(self, position: QPoint) -> None: method open_menu (line 267) | def open_menu(self, menu: QMenu, position) -> None: method close_menu (line 274) | def close_menu(self): method set_editability (line 279) | def set_editability(self, items): method selected_in_column (line 283) | def selected_in_column(self, column: int): method get_role_data_for_current_item (line 287) | def get_role_data_for_current_item(self, *, col, role) -> Any: method item_from_index (line 294) | def item_from_index(self, idx: QModelIndex) -> Optional[QStandardItem]: method original_model (line 302) | def original_model(self) -> QAbstractItemModel: method set_current_idx (line 309) | def set_current_idx(self, set_current: QPersistentModelIndex): method update_headers (line 315) | def update_headers(self, headers: Union[List[str], Dict[int, str]]): method keyPressEvent (line 326) | def keyPressEvent(self, event): method mouseDoubleClickEvent (line 334) | def mouseDoubleClickEvent(self, event: QMouseEvent): method on_double_click (line 343) | def on_double_click(self, idx): method on_activated (line 346) | def on_activated(self, idx): method edit (line 352) | def edit(self, idx, trigger=QAbstractItemView.EditTrigger.AllEditTrigg... method on_edited (line 360) | def on_edited(self, idx: QModelIndex, edit_key, *, text: str) -> None: method should_hide (line 363) | def should_hide(self, row): method get_text_from_coordinate (line 370) | def get_text_from_coordinate(self, row, col) -> str: method get_role_data_from_coordinate (line 375) | def get_role_data_from_coordinate(self, row, col, *, role) -> Any: method get_edit_key_from_coordinate (line 381) | def get_edit_key_from_coordinate(self, row, col) -> Any: method get_filter_data_from_coordinate (line 385) | def get_filter_data_from_coordinate(self, row, col) -> str: method hide_row (line 393) | def hide_row(self, row_num): method filter (line 413) | def filter(self, p=None): method hide_rows (line 419) | def hide_rows(self): method create_toolbar (line 423) | def create_toolbar(self, config: 'SimpleConfig'): method create_toolbar_buttons (line 426) | def create_toolbar_buttons(self): method create_toolbar_with_menu (line 435) | def create_toolbar_with_menu(self, title): method show_toolbar (line 440) | def show_toolbar(self, state: bool = None): method on_hide_toolbar (line 458) | def on_hide_toolbar(self): method toggle_toolbar (line 461) | def toggle_toolbar(self): method add_copy_menu (line 467) | def add_copy_menu(self, menu: QMenu, idx) -> QMenu: method place_text_on_clipboard (line 484) | def place_text_on_clipboard(self, text: str, *, title: str = None) -> ... method showEvent (line 487) | def showEvent(self, e: 'QShowEvent'): method maybe_defer_update (line 494) | def maybe_defer_update(self) -> bool: method find_row_by_key (line 502) | def find_row_by_key(self, key) -> Optional[int]: method refresh_all (line 508) | def refresh_all(self): method refresh_row (line 516) | def refresh_row(self, key: str, row: int) -> None: method refresh_item (line 519) | def refresh_item(self, key): method delete_item (line 524) | def delete_item(self, key): FILE: electrum/gui/qt/network_dialog.py class NetworkDialog (line 55) | class NetworkDialog(QDialog, QtEventListener): method __init__ (line 56) | def __init__(self, *, network: Network): method show (line 71) | def show(self, *, proxy_tab: bool = False): class NodesListWidget (line 76) | class NodesListWidget(QTreeWidget): class ItemType (line 83) | class ItemType(IntEnum): method __init__ (line 93) | def __init__(self, *, network: Network): method create_menu (line 100) | def create_menu(self, position): method keyPressEvent (line 136) | def keyPressEvent(self, event): method on_activated (line 142) | def on_activated(self, item, column): method update (line 148) | def update(self): class ProxyWidget (line 209) | class ProxyWidget(QWidget): method __init__ (line 217) | def __init__(self, network: Network, parent=None): method update (line 281) | def update(self): method update_from_config (line 300) | def update_from_config(self): method on_proxy_enable_toggle (line 316) | def on_proxy_enable_toggle(self): method on_proxy_settings_changed (line 322) | def on_proxy_settings_changed(self): method get_proxy_settings (line 325) | def get_proxy_settings(self) -> ProxySettings: method detect_tor (line 335) | def detect_tor(self): method on_tor_probe_finished (line 341) | def on_tor_probe_finished(self, host: str, port: int): class ConnectMode (line 351) | class ConnectMode(IntEnum): class ServerWidget (line 356) | class ServerWidget(QWidget, QtEventListener): method __init__ (line 365) | def __init__(self, network: Network, parent=None): method showEvent (line 438) | def showEvent(self, event): method on_event_network_updated (line 449) | def on_event_network_updated(self): method is_auto_connect (line 453) | def is_auto_connect(self): method is_one_server (line 456) | def is_one_server(self): method set_connect_mode (line 459) | def set_connect_mode(self, connect_mode: ConnectMode, *, block_signals... method on_server_settings_changed (line 466) | def on_server_settings_changed(self): method update (line 497) | def update(self): method validate_server_e (line 528) | def validate_server_e(self): method update_from_config (line 537) | def update_from_config(self): method follow_branch (line 550) | def follow_branch(self, chain_id): method follow_server (line 556) | def follow_server(self, server: ServerAddr): method set_server (line 575) | def set_server(self, server: ServerAddr, *, auto_connect: bool, one_se... class NostrWidget (line 586) | class NostrWidget(QWidget, QtEventListener): method __init__ (line 588) | def __init__(self, network: Network, parent=None): method on_relay_edited (line 617) | def on_relay_edited(self, text): method update_list (line 620) | def update_list(self): method add_relay (line 626) | def add_relay(self): method remove_relay (line 631) | def remove_relay(self): method reset_relays (line 638) | def reset_relays(self): FILE: electrum/gui/qt/new_channel_dialog.py class NewChannelDialog (line 22) | class NewChannelDialog(WindowModalDialog): method __init__ (line 24) | def __init__(self, window: 'ElectrumWindow', amount_sat: Optional[int]... method maybe_enable_ok_button (line 96) | def maybe_enable_ok_button(self): method on_suggest (line 112) | def on_suggest(self): method on_clear (line 124) | def on_clear(self): method spend_min (line 134) | def spend_min(self): method spend_max (line 139) | def spend_max(self): method run (line 156) | def run(self): FILE: electrum/gui/qt/password_dialog.py function check_password_strength (line 39) | def check_password_strength(password): class PasswordLayout (line 62) | class PasswordLayout(object): method __init__ (line 66) | def __init__(self, msg, kind, OK_button, wallet=None): method title (line 136) | def title(self): method layout (line 139) | def layout(self): method pw_changed (line 142) | def pw_changed(self): method old_password (line 154) | def old_password(self): method new_password (line 159) | def new_password(self): method clear_password_fields (line 166) | def clear_password_fields(self): class PasswordLayoutForHW (line 171) | class PasswordLayoutForHW(PasswordLayout): method __init__ (line 173) | def __init__(self, msg, kind, OK_button, wallet=None): method on_encrypt_cb (line 181) | def on_encrypt_cb(self, checked): method should_encrypt_storage_with_xpub (line 188) | def should_encrypt_storage_with_xpub(self): class ChangePasswordDialogBase (line 193) | class ChangePasswordDialogBase(WindowModalDialog): method __init__ (line 195) | def __init__(self, parent, wallet): method create_password_layout (line 208) | def create_password_layout(self, wallet, is_encrypted, OK_button): class NewPasswordDialog (line 212) | class NewPasswordDialog(WindowModalDialog): method __init__ (line 214) | def __init__(self, parent, msg): method run (line 229) | def run(self): class ChangePasswordDialogForSW (line 238) | class ChangePasswordDialogForSW(ChangePasswordDialogBase): method create_password_layout (line 240) | def create_password_layout(self, wallet, is_encrypted, OK_button): method run (line 256) | def run(self): class ChangePasswordDialogForHW (line 265) | class ChangePasswordDialogForHW(ChangePasswordDialogBase): method __init__ (line 267) | def __init__(self, parent, wallet): method create_password_layout (line 270) | def create_password_layout(self, wallet, is_encrypted, OK_button): method run (line 284) | def run(self): class PasswordDialog (line 290) | class PasswordDialog(WindowModalDialog): method __init__ (line 292) | def __init__(self, parent=None, msg=None): method run (line 309) | def run(self): FILE: electrum/gui/qt/paytoedit.py class InvalidPaymentIdentifier (line 49) | class InvalidPaymentIdentifier(Exception): class ResizingTextEdit (line 53) | class ResizingTextEdit(QTextEdit): method __init__ (line 58) | def __init__(self): method on_text_changed (line 75) | def on_text_changed(self): method update_size (line 82) | def update_size(self): method sizeHint (line 94) | def sizeHint(self) -> QSize: class PayToEdit (line 98) | class PayToEdit(QWidget, Logger, GenericInputHandler, EventListener): method __init__ (line 102) | def __init__(self, send_tab: 'SendTab'): method custom_context_menu_event (line 209) | def custom_context_menu_event(self, e: 'QContextMenuEvent', *, tl_edit... method on_event_contacts_updated (line 216) | def on_event_contacts_updated(self): method update_completer (line 219) | def update_completer(self): method multiline (line 228) | def multiline(self): method multiline (line 232) | def multiline(self, b: bool) -> None: method update_height (line 239) | def update_height(self) -> None: method setText (line 243) | def setText(self, text: str) -> None: method setFocus (line 248) | def setFocus(self, reason=Qt.FocusReason.OtherFocusReason) -> None: method setToolTip (line 254) | def setToolTip(self, tt: str) -> None: method try_payment_identifier (line 258) | def try_payment_identifier(self, text) -> None: method set_payment_identifier (line 265) | def set_payment_identifier(self, text) -> None: method set_paytomany (line 282) | def set_paytomany(self, b): method toggle_paytomany (line 287) | def toggle_paytomany(self) -> None: method is_paytomany (line 290) | def is_paytomany(self): method setReadOnly (line 293) | def setReadOnly(self, b: bool) -> None: method isReadOnly (line 297) | def isReadOnly(self): method setStyleSheet (line 300) | def setStyleSheet(self, stylesheet: str) -> None: method setFrozen (line 304) | def setFrozen(self, b) -> None: method isFrozen (line 308) | def isFrozen(self): method do_clear (line 311) | def do_clear(self) -> None: method setGreen (line 317) | def setGreen(self) -> None: method setExpired (line 320) | def setExpired(self) -> None: method _handle_text_change (line 323) | def _handle_text_change(self) -> None: method _on_edit_timer (line 336) | def _on_edit_timer(self) -> None: FILE: electrum/gui/qt/plugins_dialog.py class PluginDialog (line 26) | class PluginDialog(WindowModalDialog): method __init__ (line 28) | def __init__(self, name, metadata, status_button: Optional['PluginStat... method do_toggle (line 99) | def do_toggle(self): method do_remove (line 111) | def do_remove(self): method do_authorize (line 115) | def do_authorize(self): class PluginStatusButton (line 131) | class PluginStatusButton(QPushButton): method __init__ (line 133) | def __init__(self, window: 'PluginsDialog', name: str): method show_plugin_dialog (line 141) | def show_plugin_dialog(self): method update (line 146) | def update(self): class PluginsDialog (line 160) | class PluginsDialog(WindowModalDialog, MessageBoxMixin): method __init__ (line 163) | def __init__(self, config: 'SimpleConfig', plugins: 'Plugins', *, gui_... method get_plugins_privkey (line 193) | def get_plugins_privkey(self) -> Optional['ECPrivkey']: method init_plugins_password (line 236) | def init_plugins_password(self): method add_plugin_dialog (line 280) | def add_plugin_dialog(self): method _try_add_external_plugin_from_path (line 304) | def _try_add_external_plugin_from_path(self, path: str): method add_external_plugin (line 317) | def add_external_plugin(self, path): method show_list (line 330) | def show_list(self): method do_toggle (line 357) | def do_toggle(self, name, status_button): method uninstall_plugin (line 370) | def uninstall_plugin(self, name): method bring_to_front (line 379) | def bring_to_front(self): FILE: electrum/gui/qt/qrcodewidget.py class QrCodeDataOverflow (line 17) | class QrCodeDataOverflow(qrcode.exceptions.DataOverflowError): class QRCodeWidget (line 21) | class QRCodeWidget(QWidget): method __init__ (line 25) | def __init__(self, data=None, *, manual_size: bool = False): method setData (line 33) | def setData(self, data): method paintEvent (line 56) | def paintEvent(self, e): method grab (line 66) | def grab(self) -> QtGui.QPixmap: class QRDialog (line 77) | class QRDialog(WindowModalDialog): method __init__ (line 79) | def __init__( FILE: electrum/gui/qt/qrreader/__init__.py function scan_qrcode_from_camera (line 47) | def scan_qrcode_from_camera( function scan_qr_from_image (line 67) | def scan_qr_from_image(image: QImage) -> Sequence[QrCodeResult]: function _reduce_qr_code_density (line 86) | def _reduce_qr_code_density(image: QImage) -> QImage: function find_system_cameras (line 99) | def find_system_cameras() -> Mapping[str, str]: function _scan_qrcode_using_zbar (line 116) | def _scan_qrcode_using_zbar( function _scan_qrcode_using_qtmultimedia (line 146) | def _scan_qrcode_using_qtmultimedia( function _scan_qrcode_from_camera (line 192) | def _scan_qrcode_from_camera( function _has_camera_permission (line 209) | def _has_camera_permission() -> bool: FILE: electrum/gui/qt/qrreader/qtmultimedia/__init__.py function find_system_cameras (line 40) | def find_system_cameras() -> Mapping[str, str]: FILE: electrum/gui/qt/qrreader/qtmultimedia/camera_dialog.py class CameraError (line 51) | class CameraError(RuntimeError): class NoCamerasFound (line 54) | class NoCamerasFound(CameraError): function get_camera_path (line 59) | def get_camera_path(cam: 'QCameraDevice') -> str: class QrReaderCameraDialog (line 63) | class QrReaderCameraDialog(Logger, MessageBoxMixin, QDialog): method __init__ (line 73) | def __init__(self, parent: Optional[QWidget], *, config: SimpleConfig): method _on_flip_x_changed (line 154) | def _on_flip_x_changed(self, _state: int): method _get_crop (line 158) | def _get_crop(resolution: QSize, scan_size: int) -> QRect: method start_scan (line 166) | def start_scan(self, device: str = ''): method _set_resolution (line 208) | def _set_resolution(self, resolution: QSize): method _on_camera_error (line 222) | def _on_camera_error(self, error: QCamera.Error, error_str: str): method accept (line 225) | def accept(self): method reject (line 229) | def reject(self): method _boilerplate_cleanup (line 233) | def _boilerplate_cleanup(self): method _close_camera (line 238) | def _close_camera(self): method _on_finished (line 243) | def _on_finished(self, code): method _on_frame_available (line 255) | def _on_frame_available(self, frame: QImage): method _init_stats (line 310) | def _init_stats(self): method _update_stats (line 315) | def _update_stats(self, qr_scanned): FILE: electrum/gui/qt/qrreader/qtmultimedia/crop_blur_effect.py class QrReaderCropBlurEffect (line 31) | class QrReaderCropBlurEffect(QGraphicsBlurEffect): method __init__ (line 38) | def __init__(self, parent: QObject, crop: QRect = None): method setCrop (line 43) | def setCrop(self, crop: QRect = None): method draw (line 46) | def draw(self, painter: QPainter): FILE: electrum/gui/qt/qrreader/qtmultimedia/validator.py class QrReaderValidatorResult (line 38) | class QrReaderValidatorResult(): method __init__ (line 43) | def __init__(self): class AbstractQrReaderValidator (line 58) | class AbstractQrReaderValidator(ABC): method validate_results (line 64) | def validate_results(self, results: List[QrCodeResult]) -> QrReaderVal... class QrReaderValidatorCounting (line 69) | class QrReaderValidatorCounting(AbstractQrReaderValidator): method validate_results (line 77) | def validate_results(self, results: List[QrCodeResult]) -> QrReaderVal... class QrReaderValidatorColorizing (line 98) | class QrReaderValidatorColorizing(QrReaderValidatorCounting): method validate_results (line 111) | def validate_results(self, results: List[QrCodeResult]) -> QrReaderVal... class QrReaderValidatorStrong (line 126) | class QrReaderValidatorStrong(QrReaderValidatorColorizing): method validate_results (line 132) | def validate_results(self, results: List[QrCodeResult]) -> QrReaderVal... class QrReaderValidatorCounted (line 142) | class QrReaderValidatorCounted(QrReaderValidatorStrong): method __init__ (line 148) | def __init__(self, minimum: int = 1, maximum: int = 1): method validate_results (line 153) | def validate_results(self, results: List[QrCodeResult]) -> QrReaderVal... FILE: electrum/gui/qt/qrreader/qtmultimedia/video_overlay.py class QrReaderVideoOverlay (line 37) | class QrReaderVideoOverlay(QWidget): method __init__ (line 46) | def __init__(self, parent: QWidget = None): method set_results (line 68) | def set_results(self, results: List[QrCodeResult], flip_x: bool, method set_crop (line 75) | def set_crop(self, crop: QRect): method set_resolution (line 78) | def set_resolution(self, resolution: QSize): method paintEvent (line 81) | def paintEvent(self, _event: QPaintEvent): FILE: electrum/gui/qt/qrreader/qtmultimedia/video_surface.py class QrReaderVideoSurface (line 39) | class QrReaderVideoSurface(QVideoSink): method __init__ (line 45) | def __init__(self, parent: QObject = None): method _on_new_frame (line 49) | def _on_new_frame(self, frame: QVideoFrame) -> None: FILE: electrum/gui/qt/qrreader/qtmultimedia/video_widget.py class QrReaderVideoWidget (line 30) | class QrReaderVideoWidget(QWidget): method __init__ (line 37) | def __init__(self, parent: QWidget = None): method paintEvent (line 42) | def paintEvent(self, _event: QPaintEvent): method setPixmap (line 50) | def setPixmap(self, pixmap: QPixmap): FILE: electrum/gui/qt/qrtextedit.py class ShowQRTextEdit (line 12) | class ShowQRTextEdit(ButtonsTextEdit): method __init__ (line 14) | def __init__(self, text=None, *, config: SimpleConfig): method contextMenuEvent (line 20) | def contextMenuEvent(self, e): class ScanQRTextEdit (line 26) | class ScanQRTextEdit(ButtonsTextEdit, MessageBoxMixin): method __init__ (line 28) | def __init__( method add_input_buttons (line 68) | def add_input_buttons(self, config, allow_multi, setText): method contextMenuEvent (line 78) | def contextMenuEvent(self, e): class ScanShowQRTextEdit (line 85) | class ScanShowQRTextEdit(ScanQRTextEdit): method __init__ (line 87) | def __init__(self, *args, config: SimpleConfig, **kwargs): method contextMenuEvent (line 92) | def contextMenuEvent(self, e): FILE: electrum/gui/qt/qrwindow.py class QR_Window (line 34) | class QR_Window(QWidget): method __init__ (line 36) | def __init__(self, win): method closeEvent (line 47) | def closeEvent(self, event): FILE: electrum/gui/qt/rate_limiter.py class RateLimiter (line 18) | class RateLimiter(Logger): method __init__ (line 31) | def __init__(self, rate, ts_after, obj, func): method diagnostic_name (line 41) | def diagnostic_name(self): method kill_timer (line 44) | def kill_timer(self): method attr_name (line 63) | def attr_name(cls, func): return "__{}__{}".format(func.__name__, cls.... method invoke (line 66) | def invoke(cls, rate, ts_after, func, args, kwargs): method _invoke (line 81) | def _invoke(self, args, kwargs): method _pop_args (line 106) | def _pop_args(self): method _push_args (line 111) | def _push_args(self, args, kwargs): method _doIt (line 114) | def _doIt(self): class RateLimiterClassLvl (line 149) | class RateLimiterClassLvl(RateLimiter): method invoke (line 165) | def invoke(cls, rate, ts_after, func, args, kwargs): method _push_args (line 173) | def _push_args(self, args, kwargs): method _pop_args (line 178) | def _pop_args(self): method _call_func_for_all (line 183) | def _call_func_for_all(self, weak_dict): method __init__ (line 192) | def __init__(self, rate, ts_after, obj, func): function rate_limited (line 200) | def rate_limited(rate, *, classlevel=False, ts_after=False): FILE: electrum/gui/qt/rbf_dialog.py class _BaseRBFDialog (line 23) | class _BaseRBFDialog(TxEditor): method __init__ (line 25) | def __init__( method create_grid (line 58) | def create_grid(self): method run (line 90) | def run(self) -> None: method update_tx (line 106) | def update_tx(self): method get_messages (line 121) | def get_messages(self): class BumpFeeDialog (line 136) | class BumpFeeDialog(_BaseRBFDialog): method __init__ (line 140) | def __init__( method rbf_func (line 152) | def rbf_func(self, fee_rate, *, confirmed_only=False): class DSCancelDialog (line 161) | class DSCancelDialog(_BaseRBFDialog): method __init__ (line 167) | def __init__( method rbf_func (line 181) | def rbf_func(self, fee_rate, *, confirmed_only=False): FILE: electrum/gui/qt/rebalance_dialog.py class RebalanceDialog (line 15) | class RebalanceDialog(WindowModalDialog): method __init__ (line 17) | def __init__(self, window: 'ElectrumWindow', chan1: Channel, chan2: Ch... method on_reverse (line 49) | def on_reverse(self, x): method on_amount (line 55) | def on_amount(self, x): method on_max (line 58) | def on_max(self, x): method update (line 62) | def update(self): method run (line 69) | def run(self): FILE: electrum/gui/qt/receive_tab.py class ReceiveTab (line 25) | class ReceiveTab(QWidget, MessageBoxMixin, Logger): method __init__ (line 35) | def __init__(self, window: 'ElectrumWindow'): method update_expiry_text (line 181) | def update_expiry_text(self): method expiry_dialog (line 186) | def expiry_dialog(self): method on_tab_changed (line 206) | def on_tab_changed(self): method do_copy (line 211) | def do_copy(self, e: 'QMouseEvent'): method toggle_receive_qr (line 217) | def toggle_receive_qr(self): method update_receive_widgets (line 222) | def update_receive_widgets(self): method update_current_request (line 226) | def update_current_request(self): method on_accept_zeroconf (line 273) | def on_accept_zeroconf(self): method get_tab_data (line 277) | def get_tab_data(self): method update_receive_qr_window (line 288) | def update_receive_qr_window(self): method create_invoice (line 293) | def create_invoice(self, is_lightning: bool): method get_bitcoin_address_for_request (line 328) | def get_bitcoin_address_for_request(self, amount) -> Optional[str]: method do_clear (line 347) | def do_clear(self): class ReceiveWidget (line 358) | class ReceiveWidget(QWidget): method __init__ (line 361) | def __init__(self, receive_tab: 'ReceiveTab', textedit: QWidget, qr: Q... method update_visibility (line 389) | def update_visibility(self, is_qr): method show_help (line 397) | def show_help(self): method resizeEvent (line 402) | def resizeEvent(self, e): class FramedWidget (line 413) | class FramedWidget(QFrame): method __init__ (line 414) | def __init__(self): FILE: electrum/gui/qt/request_list.py class RequestList (line 49) | class RequestList(MyTreeView): class Columns (line 52) | class Columns(MyTreeView.BaseColumnsEnum): method __init__ (line 73) | def __init__(self, receive_tab: 'ReceiveTab'): method set_current_key (line 90) | def set_current_key(self, key): method get_current_key (line 99) | def get_current_key(self): method selection_changed (line 102) | def selection_changed(self, selected, deselected): method item_changed (line 105) | def item_changed(self, idx: Optional[QModelIndex]): method clearSelection (line 118) | def clearSelection(self): method refresh_row (line 122) | def refresh_row(self, key, row): method update (line 134) | def update(self): method hide_if_empty (line 175) | def hide_if_empty(self): method create_menu (line 183) | def create_menu(self, position): method delete_requests (line 214) | def delete_requests(self, keys): method delete_expired_requests (line 219) | def delete_expired_requests(self): method set_visibility_of_columns (line 224) | def set_visibility_of_columns(self): FILE: electrum/gui/qt/seed_dialog.py function seed_warning_msg (line 59) | def seed_warning_msg(seed): class SeedWidget (line 75) | class SeedWidget(QWidget): method __init__ (line 80) | def __init__( method seed_options (line 192) | def seed_options(self): method update_seed_warning (line 229) | def update_seed_warning(self): method initialize_completer (line 252) | def initialize_completer(self): method get_seed_words (line 281) | def get_seed_words(self): method get_seed (line 284) | def get_seed(self): method on_edit (line 290) | def on_edit(self): method update_share_buttons (line 345) | def update_share_buttons(self): method on_prev_share (line 362) | def on_prev_share(self): method on_next_share (line 370) | def on_next_share(self): class KeysWidget (line 383) | class KeysWidget(QWidget): method __init__ (line 387) | def __init__( method get_text (line 409) | def get_text(self): method on_edit (line 412) | def on_edit(self): class SeedDialog (line 420) | class SeedDialog(WindowModalDialog): method __init__ (line 422) | def __init__(self, parent, seed, passphrase, *, config: 'SimpleConfig'): FILE: electrum/gui/qt/send_tab.py class SendTab (line 43) | class SendTab(QWidget, MessageBoxMixin, Logger): method __init__ (line 49) | def __init__(self, window: 'ElectrumWindow'): method on_amount_changed (line 218) | def on_amount_changed(self, text): method do_paste (line 230) | def do_paste(self): method set_payment_identifier (line 237) | def set_payment_identifier(self, text): method spend_max (line 244) | def spend_max(self): method pay_onchain_dialog (line 301) | def pay_onchain_dialog( method do_clear (line 372) | def do_clear(self): method prepare_for_send_tab_network_lookup (line 390) | def prepare_for_send_tab_network_lookup(self): method payment_request_error (line 395) | def payment_request_error(self, error): method set_field_validated (line 399) | def set_field_validated(self, w, *, validated: Optional[bool] = None): method lock_fields (line 403) | def lock_fields( method update_fields (line 422) | def update_fields(self): method _handle_payment_identifier (line 494) | def _handle_payment_identifier(self): method on_resolve_done (line 505) | def on_resolve_done(self, pi: 'PaymentIdentifier'): method get_message (line 528) | def get_message(self): method read_invoice (line 531) | def read_invoice(self) -> Optional[Invoice]: method do_save_invoice (line 553) | def do_save_invoice(self): method save_pending_invoice (line 559) | def save_pending_invoice(self): method get_amount (line 567) | def get_amount(self) -> int: method on_finalize_done (line 571) | def on_finalize_done(self, pi: PaymentIdentifier): method do_pay_or_get_invoice (line 582) | def do_pay_or_get_invoice(self): method pay_multiple_invoices (line 594) | def pay_multiple_invoices(self, invoices): method do_edit_invoice (line 600) | def do_edit_invoice(self, invoice: 'Invoice'): # FIXME broken method do_pay_invoice (line 608) | def do_pay_invoice(self, invoice: 'Invoice'): method read_amount (line 621) | def read_amount(self) -> Union[int, str]: method check_onchain_outputs_and_show_errors (line 625) | def check_onchain_outputs_and_show_errors(self, outputs: List[PartialT... method check_payto_line_and_show_errors (line 643) | def check_payto_line_and_show_errors(self) -> bool: method pay_lightning_invoice (line 675) | def pay_lightning_invoice(self, invoice: Invoice): method broadcast_transaction (line 744) | def broadcast_transaction(self, tx: Transaction, *, invoice: Invoice =... method on_notify_merchant_done (line 803) | def on_notify_merchant_done(self, pi: PaymentIdentifier): method toggle_paytomany (line 811) | def toggle_paytomany(self): method payto_contacts (line 827) | def payto_contacts(self, labels): method handle_multiline (line 842) | def handle_multiline(self, outputs): method request_lnurl_withdraw_dialog (line 853) | def request_lnurl_withdraw_dialog(self, lnurl_data: LNURL3Data): FILE: electrum/gui/qt/settings_dialog.py function checkbox_from_configvar (line 48) | def checkbox_from_configvar(cv: 'ConfigVarWithConfig') -> QCheckBox: class SettingsDialog (line 57) | class SettingsDialog(QDialog, QtEventListener): method __init__ (line 59) | def __init__(self, window: 'ElectrumWindow', config: 'SimpleConfig'): method on_event_alias_received (line 433) | def on_event_alias_received(self): method set_alias_color (line 436) | def set_alias_color(self): method on_alias_edit (line 445) | def on_alias_edit(self): method closeEvent (line 452) | def closeEvent(self, event): FILE: electrum/gui/qt/stylesheet_patcher.py function patch_qt_stylesheet (line 59) | def patch_qt_stylesheet(use_dark_theme: bool) -> None: FILE: electrum/gui/qt/swap_dialog.py class InvalidSwapParameters (line 45) | class InvalidSwapParameters(Exception): pass class SwapProvidersButton (line 48) | class SwapProvidersButton(QPushButton): method __init__ (line 50) | def __init__( method update (line 65) | def update(self): method choose_swap_server (line 88) | def choose_swap_server(self) -> None: class SwapDialog (line 97) | class SwapDialog(WindowModalDialog, QtEventListener): method __init__ (line 99) | def __init__( method closeEvent (line 194) | def closeEvent(self, event): method on_event_fee_histogram (line 199) | def on_event_fee_histogram(self, *args): method on_event_fee (line 203) | def on_event_fee(self, *args): method on_event_swap_offers_changed (line 207) | def on_event_swap_offers_changed(self, recent_offers: Sequence['SwapOf... method on_event_swap_provider_changed (line 217) | def on_event_swap_provider_changed(self): method timer_actions (line 221) | def timer_actions(self): method init_recv_amount (line 227) | def init_recv_amount(self, recv_amount_sat): method fee_slider_callback (line 235) | def fee_slider_callback(self, fee_rate): method _set_fee_slider_visibility (line 242) | def _set_fee_slider_visibility(self, *, is_visible: bool): method toggle_direction (line 253) | def toggle_direction(self): method spend_max (line 261) | def spend_max(self): method uncheck_max (line 272) | def uncheck_max(self): method _spend_max_forward_swap (line 276) | def _spend_max_forward_swap(self, tx: Optional[PartialTransaction]) ->... method _spend_max_reverse_swap (line 284) | def _spend_max_reverse_swap(self) -> None: method on_send_edited (line 289) | def on_send_edited(self): method on_recv_edited (line 308) | def on_recv_edited(self): method update_send_receive (line 323) | def update_send_receive(self): method update (line 326) | def update(self): method get_client_swap_limits_sat (line 350) | def get_client_swap_limits_sat(self) -> Tuple[int, int]: method update_fee (line 366) | def update_fee(self, tx: Optional[PartialTransaction]) -> None: method run (line 377) | def run(self, transport: 'SwapServerTransport') -> bool: method update_tx (line 412) | def update_tx(self) -> None: method _create_tx (line 425) | def _create_tx(self, onchain_amount: Union[int, str, None]) -> Partial... method _create_tx_safe (line 449) | def _create_tx_safe(self, onchain_amount: Union[int, str, None]) -> Op... method update_ok_button (line 455) | def update_ok_button(self): method _do_normal_swap (line 461) | async def _do_normal_swap(self, transport, lightning_amount, onchain_a... method do_normal_swap (line 476) | def do_normal_swap(self, transport, lightning_amount, onchain_amount, ... method get_description (line 490) | def get_description(self): class SwapServerDialog (line 501) | class SwapServerDialog(WindowModalDialog, QtEventListener): class Columns (line 503) | class Columns(MyTreeView.BaseColumnsEnum): method __init__ (line 518) | def __init__(self, window: 'ElectrumWindow', servers: Sequence['SwapOf... method run (line 544) | def run(self): method closeEvent (line 551) | def closeEvent(self, event): method on_event_swap_offers_changed (line 556) | def on_event_swap_offers_changed(self, recent_offers: Sequence['SwapOf... method update_servers_list (line 559) | def update_servers_list(self, servers: Sequence['SwapOffer']): FILE: electrum/gui/qt/transaction_dialog.py class TxSizeLabel (line 75) | class TxSizeLabel(QLabel): method setAmount (line 76) | def setAmount(self, byte_size): class TxFiatLabel (line 83) | class TxFiatLabel(QLabel): method setAmount (line 84) | def setAmount(self, fiat_fee): class QTextBrowserWithDefaultSize (line 88) | class QTextBrowserWithDefaultSize(QTextBrowser): method __init__ (line 89) | def __init__(self, width: int = 0, height: int = 0): method sizeHint (line 95) | def sizeHint(self): class TxInOutWidget (line 99) | class TxInOutWidget(QWidget): method __init__ (line 100) | def __init__(self, main_window: 'ElectrumWindow', wallet: 'Abstract_Wa... method update (line 169) | def update(self, tx: Optional[Transaction]): method _open_internal_link (line 315) | def _open_internal_link(self, target): method on_context_menu_for_inputs (line 329) | def on_context_menu_for_inputs(self, pos: QPoint): method on_context_menu_for_outputs (line 377) | def on_context_menu_for_outputs(self, pos: QPoint): function show_transaction (line 424) | def show_transaction( class TxDialog (line 459) | class TxDialog(QDialog, MessageBoxMixin): method __init__ (line 463) | def __init__( method store_tx_label (line 594) | def store_tx_label(self): method set_tx (line 601) | def set_tx(self, tx: 'Transaction'): method do_broadcast (line 625) | def do_broadcast(self): method closeEvent (line 635) | def closeEvent(self, event): method reject (line 652) | def reject(self): method add_export_actions_to_menu (line 656) | def add_export_actions_to_menu(self, menu: QMenu) -> None: method _add_slip_19_ownership_proofs_to_tx (line 680) | def _add_slip_19_ownership_proofs_to_tx(self): method copy_to_clipboard (line 696) | def copy_to_clipboard(self, *, tx: Transaction = None): method show_qr (line 701) | def show_qr(self, *, tx: Transaction = None): method sign (line 719) | def sign(self): method save (line 741) | def save(self): method export_to_file (line 749) | def export_to_file(self, *, tx: Transaction = None): method merge_sigs (line 786) | def merge_sigs(self): method join_tx_with_another (line 808) | def join_tx_with_another(self): method _throttled_update (line 831) | def _throttled_update(self): method update (line 834) | def update(self): method add_tx_stats (line 1006) | def add_tx_stats(self, vbox): method set_title (line 1067) | def set_title(self): method maybe_fetch_txin_data (line 1071) | def maybe_fetch_txin_data(self): class TxDetailLabel (line 1100) | class TxDetailLabel(QLabel): method __init__ (line 1101) | def __init__(self, *, word_wrap=None): class TxOutputColoring (line 1108) | class TxOutputColoring: method __init__ (line 1111) | def __init__( FILE: electrum/gui/qt/update_checker.py class UpdateCheck (line 22) | class UpdateCheck(QDialog, Logger): method __init__ (line 31) | def __init__(self, *, latest_version=None): method on_version_retrieved (line 69) | def on_version_retrieved(self, version): method on_retrieval_failed (line 72) | def on_retrieval_failed(self): method is_newer (line 78) | def is_newer(latest_version): method update_view (line 81) | def update_view(self, latest_version=None): class UpdateCheckThread (line 97) | class UpdateCheckThread(QThread, Logger): method __init__ (line 101) | def __init__(self): method get_update_info (line 107) | async def get_update_info(self): method run (line 137) | def run(self): method stop (line 150) | def stop(self): FILE: electrum/gui/qt/util.py class EnterButton (line 76) | class EnterButton(QPushButton): method __init__ (line 77) | def __init__(self, text, func): method keyPressEvent (line 83) | def keyPressEvent(self, e): method restore_original_text (line 87) | def restore_original_text(self): class ThreadedButton (line 91) | class ThreadedButton(QPushButton): method __init__ (line 92) | def __init__(self, text, task, on_success=None, on_error=None): method run_task (line 99) | def run_task(self): method done (line 104) | def done(self): class WWLabel (line 109) | class WWLabel(QLabel): method __init__ (line 111) | def __init__(self, text="", parent=None): class RichLabel (line 117) | class RichLabel(WWLabel): method __init__ (line 119) | def __init__(self, text='', parent=None): class AmountLabel (line 125) | class AmountLabel(QLabel): method __init__ (line 126) | def __init__(self, *args, **kwargs): class Spinner (line 132) | class Spinner(QLabel): method __init__ (line 133) | def __init__(self, *args, **kwargs): method setVisible (line 140) | def setVisible(self, visible): class HelpMixin (line 148) | class HelpMixin: method __init__ (line 149) | def __init__(self, help_text: str, *, help_title: str = None): method show_help (line 158) | def show_help(self): class HelpLabel (line 168) | class HelpLabel(HelpMixin, QLabel): method __init__ (line 170) | def __init__(self, text: str, help_text: str): method from_configvar (line 177) | def from_configvar(cls, cv: 'ConfigVarWithConfig') -> 'HelpLabel': method mouseReleaseEvent (line 180) | def mouseReleaseEvent(self, x): method enterEvent (line 183) | def enterEvent(self, event): method leaveEvent (line 189) | def leaveEvent(self, event): class HelpButton (line 196) | class HelpButton(HelpMixin, QToolButton): method __init__ (line 197) | def __init__(self, text: str): class InfoButton (line 206) | class InfoButton(HelpMixin, QPushButton): method __init__ (line 207) | def __init__(self, text: str): class Buttons (line 215) | class Buttons(QHBoxLayout): method __init__ (line 216) | def __init__(self, *buttons): class CloseButton (line 225) | class CloseButton(QPushButton): method __init__ (line 226) | def __init__(self, dialog): class CopyButton (line 232) | class CopyButton(QPushButton): method __init__ (line 233) | def __init__(self, text_getter, app): class CopyCloseButton (line 238) | class CopyCloseButton(QPushButton): method __init__ (line 239) | def __init__(self, text_getter, app, dialog): class OkButton (line 246) | class OkButton(QPushButton): method __init__ (line 247) | def __init__(self, dialog, label=None): class CancelButton (line 253) | class CancelButton(QPushButton): method __init__ (line 254) | def __init__(self, dialog, label=None): class MessageBoxMixin (line 259) | class MessageBoxMixin(object): method top_level_window_recurse (line 260) | def top_level_window_recurse(self, window=None, test_func=None): method top_level_window (line 273) | def top_level_window(self, test_func=None): method question (line 276) | def question(self, msg, parent=None, title=None, icon=None, **kwargs) ... method show_warning (line 286) | def show_warning(self, msg, parent=None, title=None, **kwargs): method show_error (line 290) | def show_error(self, msg, parent=None, **kwargs): method show_critical (line 294) | def show_critical(self, msg, parent=None, title=None, **kwargs): method show_message (line 298) | def show_message(self, msg, parent=None, title=None, icon=QMessageBox.... method msg_box (line 301) | def msg_box( method query_choice (line 320) | def query_choice( method password_dialog (line 346) | def password_dialog(self, msg=None, parent=None): function custom_message_box (line 353) | def custom_message_box( class WindowModalDialog (line 403) | class WindowModalDialog(QDialog, MessageBoxMixin): method __init__ (line 406) | def __init__(self, parent, title=None): class WaitingDialog (line 413) | class WaitingDialog(WindowModalDialog): method __init__ (line 416) | def __init__(self, parent: QWidget, message: str, task, on_success=Non... method wait (line 434) | def wait(self): method on_accepted (line 437) | def on_accepted(self): method update (line 440) | def update(self, msg): class RunCoroutineDialog (line 445) | class RunCoroutineDialog(WaitingDialog): method __init__ (line 447) | def __init__(self, parent: QWidget, message: str, coroutine): method run (line 465) | def run(self): function line_dialog (line 473) | def line_dialog(parent, title, label, ok_label, default=None): function text_dialog (line 488) | def text_dialog( class ChoiceWidget (line 516) | class ChoiceWidget(QWidget): method __init__ (line 525) | def __init__( method on_selected (line 567) | def on_selected(self, button): method select (line 573) | def select(self, key): class ResizableStackedWidget (line 579) | class ResizableStackedWidget(QWidget): method __init__ (line 582) | def __init__(self, parent): method sizeHint (line 588) | def sizeHint(self) -> QSize: method addWidget (line 593) | def addWidget(self, widget: QWidget) -> int: method removeWidget (line 601) | def removeWidget(self, widget: QWidget): method setCurrentIndex (line 610) | def setCurrentIndex(self, index: int): method currentWidget (line 616) | def currentWidget(self) -> Optional[QWidget]: method showCurrentWidget (line 621) | def showCurrentWidget(self): method count (line 631) | def count(self) -> int: class VLine (line 635) | class VLine(QFrame): method __init__ (line 637) | def __init__(self): function address_field (line 644) | def address_field(addresses, *, btn_text: str = None): function filename_field (line 671) | def filename_field(parent, config, defaultname, select_msg): function get_icon_qrcode (line 720) | def get_icon_qrcode() -> QIcon: function get_icon_camera (line 725) | def get_icon_camera() -> QIcon: function pubkey_to_q_icon (line 730) | def pubkey_to_q_icon(server_pubkey: str) -> QIcon: function add_input_actions_to_context_menu (line 737) | def add_input_actions_to_context_menu(gih: 'GenericInputHandler', m: QMe... function scan_qr_from_screenshot (line 748) | def scan_qr_from_screenshot() -> QrCodeResult: class GenericInputHandler (line 770) | class GenericInputHandler: method input_qr_from_camera (line 776) | def input_qr_from_camera( method input_qr_from_screenshot (line 815) | def input_qr_from_screenshot( method input_file (line 846) | def input_file( method input_qr_from_file (line 880) | def input_qr_from_file( method input_paste_from_clipboard (line 926) | def input_paste_from_clipboard( class OverlayControlMixin (line 937) | class OverlayControlMixin(GenericInputHandler): method __init__ (line 947) | def __init__(self, middle: bool = False): method resizeEvent (line 962) | def resizeEvent(self, e): method _updateOverlayPos (line 966) | def _updateOverlayPos(self): method addWidget (line 983) | def addWidget(self, widget: QWidget): method addButton (line 987) | def addButton(self, icon: QIcon, on_click, tooltip: str) -> QPushButton: method addCopyButton (line 996) | def addCopyButton(self): method addPasteButton (line 1003) | def addPasteButton( method add_qr_show_button (line 1014) | def add_qr_show_button(self, *, config: 'SimpleConfig', title: Optiona... method add_qr_input_from_camera_button (line 1037) | def add_qr_input_from_camera_button( method add_file_input_button (line 1056) | def add_file_input_button( method add_menu_button (line 1071) | def add_menu_button( class ButtonsLineEdit (line 1094) | class ButtonsLineEdit(OverlayControlMixin, QLineEdit): method __init__ (line 1095) | def __init__(self, text=None): class ShowQRLineEdit (line 1100) | class ShowQRLineEdit(ButtonsLineEdit): method __init__ (line 1102) | def __init__(self, text: str, config, title=None): class ButtonsTextEdit (line 1110) | class ButtonsTextEdit(OverlayControlMixin, QPlainTextEdit): method __init__ (line 1111) | def __init__(self, text=None): class PasswordLineEdit (line 1118) | class PasswordLineEdit(QLineEdit): method __init__ (line 1119) | def __init__(self, *args, **kwargs): method clear (line 1123) | def clear(self): class ColorSchemeItem (line 1130) | class ColorSchemeItem: method __init__ (line 1131) | def __init__(self, fg_color, bg_color): method _get_color (line 1134) | def _get_color(self, background): method as_stylesheet (line 1137) | def as_stylesheet(self, background=False): method as_color (line 1142) | def as_color(self, background=False): class ColorScheme (line 1147) | class ColorScheme: method has_dark_background (line 1160) | def has_dark_background(widget): method update_from_widget (line 1165) | def update_from_widget(widget, force_dark=False): class AcceptFileDragDrop (line 1169) | class AcceptFileDragDrop: method __init__ (line 1170) | def __init__(self, file_type=""): method validateEvent (line 1175) | def validateEvent(self, event): method dragEnterEvent (line 1186) | def dragEnterEvent(self, event): method dragMoveEvent (line 1189) | def dragMoveEvent(self, event): method dropEvent (line 1193) | def dropEvent(self, event): method onFileAdded (line 1198) | def onFileAdded(self, fn): function import_meta_gui (line 1202) | def import_meta_gui(electrum_window: 'ElectrumWindow', title, importer, ... function export_meta_gui (line 1221) | def export_meta_gui(electrum_window: 'ElectrumWindow', title, exporter): function getOpenFileName (line 1241) | def getOpenFileName(*, parent, title, filter="", config: 'SimpleConfig')... function getSaveFileName (line 1250) | def getSaveFileName( function icon_path (line 1281) | def icon_path(icon_basename: str): function internal_plugin_icon_path (line 1285) | def internal_plugin_icon_path(plugin_name, icon_basename: str): function read_QIcon (line 1290) | def read_QIcon(icon_basename: str) -> QIcon: function read_QPixmap_from_bytes (line 1294) | def read_QPixmap_from_bytes(b: bytes) -> QPixmap: function read_QIcon_from_bytes (line 1300) | def read_QIcon_from_bytes(b: bytes) -> QIcon: class IconLabel (line 1305) | class IconLabel(QWidget): method __init__ (line 1307) | def __init__(self, *, text='', final_stretch=True, reverse=False, hide... method setText (line 1325) | def setText(self, text): method setIcon (line 1330) | def setIcon(self, icon): function char_width_in_lineedit (line 1335) | def char_width_in_lineedit() -> int: function font_height (line 1341) | def font_height(widget: QWidget = None) -> int: function webopen (line 1347) | def webopen(url: str): class FixedAspectRatioLayout (line 1360) | class FixedAspectRatioLayout(QLayout): method __init__ (line 1361) | def __init__(self, parent: QWidget = None, aspect_ratio: float = 1.0): method set_aspect_ratio (line 1366) | def set_aspect_ratio(self, aspect_ratio: float = 1.0): method addItem (line 1370) | def addItem(self, item: QLayoutItem): method count (line 1373) | def count(self) -> int: method itemAt (line 1376) | def itemAt(self, index: int) -> QLayoutItem: method takeAt (line 1381) | def takeAt(self, index: int) -> QLayoutItem: method _get_contents_margins_size (line 1386) | def _get_contents_margins_size(self) -> QSize: method setGeometry (line 1390) | def setGeometry(self, rect: QRect): method sizeHint (line 1428) | def sizeHint(self) -> QSize: method minimumSize (line 1434) | def minimumSize(self) -> QSize: method expandingDirections (line 1440) | def expandingDirections(self) -> Qt.Orientation: function QColorLerp (line 1444) | def QColorLerp(a: QColor, b: QColor, t: float): class ImageGraphicsEffect (line 1458) | class ImageGraphicsEffect(QObject): method __init__ (line 1463) | def __init__(self, parent: QObject, effect: QGraphicsEffect): method apply (line 1472) | def apply(self, image: QImage): function insert_spaces (line 1483) | def insert_spaces(text: str, every_chars: int) -> str: function set_windows_os_screenshot_protection_drm_flag (line 1488) | def set_windows_os_screenshot_protection_drm_flag(window: QWidget) -> None: function debug_widget_layouts (line 1504) | def debug_widget_layouts(gui_element: QObject): class _ABCQObjectMeta (line 1518) | class _ABCQObjectMeta(type(QObject), ABCMeta): pass class _ABCQWidgetMeta (line 1519) | class _ABCQWidgetMeta(type(QWidget), ABCMeta): pass class AbstractQObject (line 1520) | class AbstractQObject(QObject, ABC, metaclass=_ABCQObjectMeta): pass class AbstractQWidget (line 1521) | class AbstractQWidget(QWidget, ABC, metaclass=_ABCQWidgetMeta): pass FILE: electrum/gui/qt/utxo_dialog.py class UTXODialog (line 43) | class UTXODialog(WindowModalDialog): method __init__ (line 45) | def __init__(self, window: 'ElectrumWindow', utxo: 'PartialTxInput'): method update (line 84) | def update(self): method open_tx (line 152) | def open_tx(self, txid): FILE: electrum/gui/qt/utxo_list.py class UTXOList (line 50) | class UTXOList(MyTreeView): class Columns (line 54) | class Columns(MyTreeView.BaseColumnsEnum): method __init__ (line 75) | def __init__(self, main_window: 'ElectrumWindow'): method create_toolbar (line 90) | def create_toolbar(self, config): method update (line 102) | def update(self): method update_coincontrol_bar (line 136) | def update_coincontrol_bar(self): method refresh_row (line 148) | def refresh_row(self, key, row): method get_selected_outpoints (line 179) | def get_selected_outpoints(self) -> List[str]: method _filter_frozen_coins (line 185) | def _filter_frozen_coins(self, coins: List[PartialTxInput]) -> List[Pa... method are_in_coincontrol (line 191) | def are_in_coincontrol(self, coins: List[PartialTxInput]) -> bool: method add_to_coincontrol (line 194) | def add_to_coincontrol(self, coins: List[PartialTxInput]): method remove_from_coincontrol (line 201) | def remove_from_coincontrol(self, coins: List[PartialTxInput]): method clear_coincontrol (line 206) | def clear_coincontrol(self): method add_selection_to_coincontrol (line 210) | def add_selection_to_coincontrol(self): method _refresh_coincontrol (line 221) | def _refresh_coincontrol(self): method get_spend_list (line 226) | def get_spend_list(self) -> Optional[Sequence[PartialTxInput]]: method _maybe_reset_coincontrol (line 232) | def _maybe_reset_coincontrol(self, current_wallet_utxos: Sequence[Part... method can_swap_coins (line 245) | def can_swap_coins(self, coins): method swap_coins (line 261) | def swap_coins(self, coins: list[PartialTxInput]) -> None: method can_open_channel (line 268) | def can_open_channel(self, coins): method open_channel_with_coins (line 274) | def open_channel_with_coins(self, coins: list[PartialTxInput]) -> None: method clipboard_contains_address (line 289) | def clipboard_contains_address(self) -> bool: method pay_to_clipboard_address (line 293) | def pay_to_clipboard_address(self, coins: list[PartialTxInput]) -> None: method on_double_click (line 305) | def on_double_click(self, idx): method create_menu (line 310) | def create_menu(self, position): method get_filter_data_from_coordinate (line 388) | def get_filter_data_from_coordinate(self, row, col): FILE: electrum/gui/qt/wallet_info_dialog.py class WalletInfoDialog (line 31) | class WalletInfoDialog(WindowModalDialog): method __init__ (line 33) | def __init__(self, parent: QWidget, *, window: 'ElectrumWindow'): method disable_keystore (line 182) | def disable_keystore(self, keystore): method enable_keystore (line 196) | def enable_keystore(self, b: bool): method _enable_keystore (line 213) | def _enable_keystore(self, keystore, is_hardware, password): FILE: electrum/gui/qt/wizard/server_connect.py class QEServerConnectWizard (line 20) | class QEServerConnectWizard(ServerConnectWizard, QEAbstractWizard): method __init__ (line 22) | def __init__(self, config: 'SimpleConfig', app: 'QElectrumApplication'... class WCWelcome (line 36) | class WCWelcome(WizardComponent): method __init__ (line 37) | def __init__(self, parent, wizard): method apply (line 69) | def apply(self): class WCProxyConfig (line 75) | class WCProxyConfig(WizardComponent): method __init__ (line 76) | def __init__(self, parent, wizard): method apply (line 85) | def apply(self): class WCServerConfig (line 89) | class WCServerConfig(WizardComponent): method __init__ (line 90) | def __init__(self, parent, wizard): method on_server_e_valid (line 96) | def on_server_e_valid(self, valid): method apply (line 99) | def apply(self): FILE: electrum/gui/qt/wizard/terms_of_use.py class QETermsOfUseWizard (line 18) | class QETermsOfUseWizard(TermsOfUseWizard, QEAbstractWizard): method __init__ (line 19) | def __init__(self, config: 'SimpleConfig', app: 'QElectrumApplication'): class WCTermsOfUseScreen (line 33) | class WCTermsOfUseScreen(WizardComponent): method __init__ (line 34) | def __init__(self, parent, wizard): method apply (line 57) | def apply(self): FILE: electrum/gui/qt/wizard/wallet.py class QEKeystoreWizard (line 51) | class QEKeystoreWizard(KeystoreWizard, QEAbstractWizard, MessageBoxMixin): method __init__ (line 54) | def __init__( method is_single_password (line 78) | def is_single_password(self): method run (line 81) | def run(self): class QENewWalletWizard (line 87) | class QENewWalletWizard(NewWalletWizard, QEAbstractWizard, MessageBoxMix... method __init__ (line 90) | def __init__(self, config: 'SimpleConfig', app: 'QElectrumApplication'... method path (line 136) | def path(self): method path (line 140) | def path(self, path): method is_single_password (line 143) | def is_single_password(self): method create_storage (line 147) | def create_storage(self, single_password: str = None): method run_split (line 159) | def run_split(self, wallet_path, split_data) -> None: method is_finalized (line 171) | def is_finalized(self, wizard_data: dict) -> bool: method waiting_dialog (line 195) | def waiting_dialog(self, task, msg, on_finished=None): class WalletWizardComponent (line 236) | class WalletWizardComponent(WizardComponent, ABC): method __init__ (line 240) | def __init__(self, parent: QWidget, wizard: QENewWalletWizard, **kwargs): class WCWalletName (line 244) | class WCWalletName(WalletWizardComponent, Logger): method __init__ (line 245) | def __init__(self, parent, wizard): method initialFocus (line 371) | def initialFocus(self) -> Optional[QWidget]: method apply (line 374) | def apply(self): class WCWalletType (line 388) | class WCWalletType(WalletWizardComponent): method __init__ (line 389) | def __init__(self, parent, wizard): method apply (line 405) | def apply(self): class WCKeystoreType (line 409) | class WCKeystoreType(WalletWizardComponent): method __init__ (line 411) | def __init__(self, parent, wizard): method apply (line 425) | def apply(self): class WCExtendKeystore (line 429) | class WCExtendKeystore(WalletWizardComponent): method __init__ (line 430) | def __init__(self, parent, wizard): method apply (line 442) | def apply(self): class WCCreateSeed (line 446) | class WCCreateSeed(WalletWizardComponent): method __init__ (line 447) | def __init__(self, parent, wizard): method on_ready (line 454) | def on_ready(self): method apply (line 459) | def apply(self): method create_seed (line 466) | def create_seed(self): class WCConfirmSeed (line 484) | class WCConfirmSeed(WalletWizardComponent): method __init__ (line 485) | def __init__(self, parent, wizard): method apply (line 508) | def apply(self): class WCEnterExt (line 512) | class WCEnterExt(WalletWizardComponent, Logger): method __init__ (line 513) | def __init__(self, parent, wizard): method on_ready (line 534) | def on_ready(self): method on_text_edited (line 537) | def on_text_edited(self, text): method validate (line 543) | def validate(self): method apply (line 550) | def apply(self): class WCConfirmExt (line 555) | class WCConfirmExt(WalletWizardComponent): method __init__ (line 556) | def __init__(self, parent, wizard): method on_ready (line 567) | def on_ready(self): method on_text_edited (line 570) | def on_text_edited(self, *args): method validate (line 573) | def validate(self): method apply (line 576) | def apply(self): class WCHaveSeed (line 580) | class WCHaveSeed(WalletWizardComponent, Logger): method __init__ (line 581) | def __init__(self, parent, wizard): method on_ready (line 592) | def on_ready(self): method is_seed (line 620) | def is_seed(self, x): method validate (line 631) | def validate(self): method apply (line 652) | def apply(self): class WCScriptAndDerivation (line 664) | class WCScriptAndDerivation(WalletWizardComponent, Logger): method __init__ (line 665) | def __init__(self, parent, wizard): method on_ready (line 675) | def on_ready(self): method validate (line 757) | def validate(self): method apply (line 773) | def apply(self): class WCCosignerKeystore (line 779) | class WCCosignerKeystore(WalletWizardComponent): method __init__ (line 780) | def __init__(self, parent, wizard): method on_ready (line 798) | def on_ready(self): method apply (line 819) | def apply(self): class WCHaveMasterKey (line 827) | class WCHaveMasterKey(WalletWizardComponent): method __init__ (line 828) | def __init__(self, parent, wizard): method on_ready (line 854) | def on_ready(self): method apply (line 896) | def apply(self): class WCMultisig (line 902) | class WCMultisig(WalletWizardComponent): method __init__ (line 903) | def __init__(self, parent, wizard): method apply (line 957) | def apply(self): class WCImport (line 963) | class WCImport(WalletWizardComponent): method __init__ (line 964) | def __init__(self, parent, wizard): method apply (line 986) | def apply(self): class WCWalletPassword (line 994) | class WCWalletPassword(WalletWizardComponent): method __init__ (line 996) | def __init__(self, parent, wizard): method initialFocus (line 1012) | def initialFocus(self) -> Optional[QWidget]: method apply (line 1015) | def apply(self): class SeedExtensionEdit (line 1020) | class SeedExtensionEdit(QWidget): method __init__ (line 1021) | def __init__(self, parent, *, message: str = None, warning: str = None... class CosignWidget (line 1053) | class CosignWidget(QWidget): method __init__ (line 1054) | def __init__(self, m, n): method set_n (line 1064) | def set_n(self, n): method set_m (line 1068) | def set_m(self, m): method paintEvent (line 1072) | def paintEvent(self, event): class WCChooseHWDevice (line 1088) | class WCChooseHWDevice(WalletWizardComponent, Logger): method __init__ (line 1092) | def __init__(self, parent, wizard): method on_ready (line 1126) | def on_ready(self): method on_rescan (line 1129) | def on_rescan(self): method on_add_plugin (line 1132) | def on_add_plugin(self): method on_scan_failed (line 1137) | def on_scan_failed(self, code, message): method on_scan_complete (line 1144) | def on_scan_complete(self): method scan_devices (line 1173) | def scan_devices(self): method apply (line 1253) | def apply(self): class WCWalletPasswordHardware (line 1259) | class WCWalletPasswordHardware(WalletWizardComponent): method __init__ (line 1261) | def __init__(self, parent, wizard): method on_ready (line 1281) | def on_ready(self): method apply (line 1304) | def apply(self): class WCHWUnlock (line 1317) | class WCHWUnlock(WalletWizardComponent, Logger): method __init__ (line 1318) | def __init__(self, parent, wizard): method on_ready (line 1336) | def on_ready(self): method validate (line 1364) | def validate(self): method check_hw_decrypt (line 1376) | def check_hw_decrypt(self): method apply (line 1389) | def apply(self): class WCHWXPub (line 1394) | class WCHWXPub(WalletWizardComponent, Logger): method __init__ (line 1395) | def __init__(self, parent, wizard): method on_ready (line 1417) | def on_ready(self): method get_xpub_from_client (line 1456) | def get_xpub_from_client(self, client, derivation, xtype): # override... method validate (line 1463) | def validate(self): method apply (line 1479) | def apply(self): class WCHWUninitialized (line 1489) | class WCHWUninitialized(WalletWizardComponent): method __init__ (line 1490) | def __init__(self, parent, wizard): method on_ready (line 1493) | def on_ready(self): method apply (line 1506) | def apply(self): FILE: electrum/gui/qt/wizard/wizard.py class QEAbstractWizard (line 21) | class QEAbstractWizard(QDialog, MessageBoxMixin): method __init__ (line 31) | def __init__(self, config: 'SimpleConfig', app: 'QElectrumApplication'... method sizeHint (line 122) | def sizeHint(self) -> QSize: method strt (line 126) | def strt(self): method refresh_gui (line 134) | def refresh_gui(self): method load_next_component (line 139) | def load_next_component(self, view, wdata=None, params=None): method on_page_updated (line 164) | def on_page_updated(self, page): method set_icon (line 169) | def set_icon(self, filename): method set_default_focus (line 175) | def set_default_focus(self): method can_go_back (line 183) | def can_go_back(self) -> bool: method update (line 186) | def update(self): method on_back_button_clicked (line 207) | def on_back_button_clicked(self): method on_next_button_clicked (line 217) | def on_next_button_clicked(self): method start_wizard (line 236) | def start_wizard(self, *, start_viewstate: Optional['WizardViewState']... method view_to_component (line 240) | def view_to_component(self, view) -> QWidget: method submit (line 243) | def submit(self, wizard_data) -> 'WizardViewState': method prev (line 248) | def prev(self) -> dict: method is_last (line 252) | def is_last(self, wizard_data: dict) -> bool: method is_finalized (line 256) | def is_finalized(self, wizard_data: dict) -> bool: class WizardComponent (line 261) | class WizardComponent(AbstractQWidget): method __init__ (line 264) | def __init__(self, parent: QWidget, wizard: QEAbstractWizard, *, title... method valid (line 277) | def valid(self): method valid (line 281) | def valid(self, is_valid): method busy (line 287) | def busy(self): method busy (line 291) | def busy(self, is_busy): method error (line 297) | def error(self): method error (line 301) | def error(self, error): method apply (line 307) | def apply(self): method on_ready (line 311) | def on_ready(self): method on_updated (line 316) | def on_updated(self, *args): method initialFocus (line 322) | def initialFocus(self) -> Optional[QWidget]: FILE: electrum/gui/stdio.py class ElectrumGui (line 24) | class ElectrumGui(BaseElectrumGui, EventListener): method __init__ (line 26) | def __init__(self, *, config, daemon, plugins): method on_event_wallet_updated (line 62) | def on_event_wallet_updated(self, wallet): method on_event_network_updated (line 66) | def on_event_network_updated(self): method on_event_banner (line 70) | def on_event_banner(self, *args): method main_command (line 73) | def main_command(self): method updated (line 89) | def updated(self): method print_commands (line 96) | def print_commands(self): method print_history (line 99) | def print_history(self): method print_balance (line 125) | def print_balance(self): method get_balance (line 128) | def get_balance(self): method print_contacts (line 146) | def print_contacts(self): method print_addresses (line 150) | def print_addresses(self): method print_order (line 154) | def print_order(self): method enter_order (line 158) | def enter_order(self): method send_order (line 164) | def send_order(self): method print_banner (line 167) | def print_banner(self): method print_list (line 171) | def print_list(self, lst, firstline): method main (line 181) | def main(self): method do_send (line 186) | def do_send(self): method network_dialog (line 240) | def network_dialog(self): method settings_dialog (line 245) | def settings_dialog(self): method password_dialog (line 249) | def password_dialog(self): method run_receive_tab (line 255) | def run_receive_tab(self, c): method run_contacts_tab (line 260) | def run_contacts_tab(self, c): FILE: electrum/gui/text.py function parse_bip21 (line 45) | def parse_bip21(text): function parse_bolt11 (line 52) | def parse_bolt11(text): class ElectrumGui (line 60) | class ElectrumGui(BaseElectrumGui, EventListener): method __init__ (line 62) | def __init__(self, *, config: 'SimpleConfig', daemon: 'Daemon', plugin... method stop (line 115) | def stop(self): method on_event_wallet_updated (line 119) | def on_event_wallet_updated(self, wallet): method on_event_network_updated (line 123) | def on_event_network_updated(self): method set_cursor (line 126) | def set_cursor(self, x): method restore_or_create (line 132) | def restore_or_create(self): method verify_seed (line 135) | def verify_seed(self): method get_string (line 138) | def get_string(self, y, x) -> str: method update (line 147) | def update(self): method print_button (line 154) | def print_button(self, x, y, text, pos): method print_edit_line (line 157) | def print_edit_line(self, y, x, label, text, index, size): method print_history (line 162) | def print_history(self): method update_history (line 169) | def update_history(self): method print_clipboard (line 200) | def print_clipboard(self): method print_balance (line 208) | def print_balance(self): method print_receive_tab (line 225) | def print_receive_tab(self): method run_receive_tab (line 240) | def run_receive_tab(self, c): method question (line 251) | def question(self, msg): method show_invoice_menu (line 255) | def show_invoice_menu(self): method format_column_width (line 265) | def format_column_width(self, offset, width): method print_invoices_list (line 275) | def print_invoices_list(self, y, x, offset_pos): method print_requests_list (line 295) | def print_requests_list(self, y, x, offset_pos): method print_contacts (line 315) | def print_contacts(self): method print_addresses (line 319) | def print_addresses(self): method print_utxos (line 329) | def print_utxos(self): method print_channels (line 340) | def print_channels(self): method print_send_tab (line 353) | def print_send_tab(self): method add_edit_line (line 369) | def add_edit_line(self, y, x, title, data, length): method add_button (line 373) | def add_button(self, y, x, title, action): method print_banner (line 378) | def print_banner(self): method get_qr (line 384) | def get_qr(self, data): method print_qr (line 398) | def print_qr(self, w, y, x, lines): method print_list (line 408) | def print_list(self, y, x, lst, headers=None, offset_pos=0): method refresh (line 425) | def refresh(self): method increase_cursor (line 433) | def increase_cursor(self, delta): method getch (line 438) | def getch(self, redraw=False): method main_command (line 448) | def main_command(self): method run_tab (line 468) | def run_tab(self, i, print_func, exec_func): method run_history_tab (line 476) | def run_history_tab(self, c): method edit_str (line 481) | def edit_str(self, target, c, is_num=False): method run_send_tab (line 492) | def run_send_tab(self, c): method run_contacts_tab (line 505) | def run_contacts_tab(self, c): method run_addresses_tab (line 521) | def run_addresses_tab(self, c): method run_utxos_tab (line 524) | def run_utxos_tab(self, c): method run_channels_tab (line 527) | def run_channels_tab(self, c): method run_banner_tab (line 531) | def run_banner_tab(self, c): method main (line 535) | def main(self): method do_clear (line 557) | def do_clear(self): method do_create_request (line 563) | def do_create_request(self, lightning: bool): method do_clear_request (line 586) | def do_clear_request(self): method do_paste (line 590) | def do_paste(self): method parse_amount (line 613) | def parse_amount(self, text): method read_invoice (line 621) | def read_invoice(self): method do_save_invoice (line 648) | def do_save_invoice(self): method save_pending_invoice (line 654) | def save_pending_invoice(self, invoice): method do_pay (line 659) | def do_pay(self): method do_pay_invoice (line 665) | def do_pay_invoice(self, invoice): method pay_lightning_invoice (line 671) | def pay_lightning_invoice(self, invoice): method pay_onchain_dialog (line 689) | def pay_onchain_dialog(self, invoice): method show_message (line 724) | def show_message(self, message, getchar = True): method run_popup (line 734) | def run_popup(self, title, items): method network_dialog (line 737) | def network_dialog(self): method settings_dialog (line 776) | def settings_dialog(self): method password_dialog (line 786) | def password_dialog(self): method run_dialog (line 792) | def run_dialog(self, title, items, interval=2, buttons=None, y_pos=3): method print_textbox (line 881) | def print_textbox(self, w, y, x, _text, highlighted): method show_request (line 888) | def show_request(self, key): FILE: electrum/harden_memory_linux.py function _load_libc (line 48) | def _load_libc(): function set_dumpable (line 60) | def set_dumpable(flag: bool) -> None: function set_dumpable_safe (line 75) | def set_dumpable_safe(flag: bool) -> None: function get_dumpable (line 88) | def get_dumpable() -> bool: FILE: electrum/hw_wallet/cmdline.py class CmdLineHandler (line 34) | class CmdLineHandler(HardwareHandlerBase): method get_passphrase (line 36) | def get_passphrase(self, msg, confirm): method get_pin (line 41) | def get_pin(self, msg, *, show_strength=True): method prompt_auth (line 52) | def prompt_auth(self, msg): method yes_no_question (line 60) | def yes_no_question(self, msg): method stop (line 64) | def stop(self): method show_message (line 67) | def show_message(self, msg, on_cancel=None): method show_error (line 70) | def show_error(self, msg, blocking=False): method update_status (line 73) | def update_status(self, b): method finished (line 76) | def finished(self): FILE: electrum/hw_wallet/plugin.py class HW_PluginBase (line 45) | class HW_PluginBase(BasePlugin, ABC): method __init__ (line 56) | def __init__(self, parent, config, name): method is_enabled (line 62) | def is_enabled(self): method device_manager (line 65) | def device_manager(self) -> 'DeviceMgr': method create_device_from_hid_enumeration (line 68) | def create_device_from_hid_enumeration(self, d: dict, *, product_key) ... method close_wallet (line 86) | def close_wallet(self, wallet: 'Abstract_Wallet'): method get_client (line 93) | def get_client(self, keystore: 'Hardware_KeyStore', force_pair: bool =... method show_address (line 103) | def show_address(self, wallet: 'Abstract_Wallet', address, keystore: '... method show_address_helper (line 106) | def show_address_helper(self, wallet, address, keystore=None): method get_library_version (line 119) | def get_library_version(self) -> str: method check_libraries_available (line 129) | def check_libraries_available(self) -> bool: method get_library_not_available_message (line 158) | def get_library_not_available_message(self) -> str: method set_ignore_outdated_fw (line 166) | def set_ignore_outdated_fw(self): method is_outdated_fw_ignored (line 169) | def is_outdated_fw_ignored(self) -> bool: method create_client (line 172) | def create_client(self, device: 'Device', method create_handler (line 176) | def create_handler(self, window) -> 'HardwareHandlerBase': method can_recognize_device (line 180) | def can_recognize_device(self, device: Device) -> bool: method wizard_entry_for_device (line 187) | def wizard_entry_for_device(self, device_info: 'DeviceInfo', *, new_wa... method init_wallet_wizard (line 193) | def init_wallet_wizard(self, wizard: 'AbstractWizard') -> None: method extend_wizard (line 197) | def extend_wizard(self, wizard: 'AbstractWizard') -> None: class HardwareClientBase (line 201) | class HardwareClientBase(ABC): method __init__ (line 204) | def __init__(self, *, plugin: 'HW_PluginBase'): method device_manager (line 208) | def device_manager(self) -> 'DeviceMgr': method is_pairable (line 212) | def is_pairable(self) -> bool: method close (line 216) | def close(self): method timeout (line 219) | def timeout(self, cutoff) -> None: # noqa: B027 method is_initialized (line 223) | def is_initialized(self) -> bool: method label (line 227) | def label(self) -> Optional[str]: method get_soft_device_id (line 238) | def get_soft_device_id(self) -> Optional[str]: method has_usable_connection_with_device (line 249) | def has_usable_connection_with_device(self) -> bool: method get_xpub (line 253) | def get_xpub(self, bip32_path: str, xtype) -> str: method request_root_fingerprint_from_device (line 257) | def request_root_fingerprint_from_device(self) -> str: method get_password_for_storage_encryption (line 265) | def get_password_for_storage_encryption(self) -> str: method device_model_name (line 272) | def device_model_name(self) -> Optional[str]: class HardwareClientDummy (line 280) | class HardwareClientDummy(HardwareClientBase): method __init__ (line 285) | def __init__(self, *, plugin: 'HW_PluginBase', error_text: str): method get_xpub (line 289) | def get_xpub(self, bip32_path: str, xtype) -> str: method is_pairable (line 292) | def is_pairable(self) -> bool: method close (line 295) | def close(self): method is_initialized (line 298) | def is_initialized(self) -> bool: method label (line 302) | def label(self) -> Optional[str]: method has_usable_connection_with_device (line 305) | def has_usable_connection_with_device(self) -> bool: class HardwareHandlerBase (line 309) | class HardwareHandlerBase: method get_wallet (line 314) | def get_wallet(self) -> Optional['Abstract_Wallet']: method get_gui_thread (line 319) | def get_gui_thread(self) -> Optional['threading.Thread']: method update_status (line 324) | def update_status(self, paired: bool) -> None: method query_choice (line 327) | def query_choice(self, msg: str, choices: Sequence[ChoiceItem]) -> Opt... method yes_no_question (line 331) | def yes_no_question(self, msg: str) -> bool: method show_message (line 334) | def show_message(self, msg: str, on_cancel=None) -> None: method show_error (line 337) | def show_error(self, msg: str, blocking: bool = False) -> None: method finished (line 340) | def finished(self) -> None: method get_word (line 343) | def get_word(self, msg: str) -> str: method get_passphrase (line 346) | def get_passphrase(self, msg: str, confirm: bool) -> Optional[str]: method get_pin (line 349) | def get_pin(self, msg: str, *, show_strength: bool = True) -> str: function is_any_tx_output_on_change_branch (line 353) | def is_any_tx_output_on_change_branch(tx: PartialTransaction) -> bool: function trezor_validate_op_return_output_and_get_data (line 357) | def trezor_validate_op_return_output_and_get_data(output: TxOutput) -> b... function validate_op_return_output (line 366) | def validate_op_return_output(output: TxOutput, *, max_size: int = None)... function only_hook_if_libraries_available (line 377) | def only_hook_if_libraries_available(func): class LibraryFoundButUnusable (line 386) | class LibraryFoundButUnusable(Exception): method __init__ (line 387) | def __init__(self, library_version='unknown'): class OutdatedHwFirmwareException (line 391) | class OutdatedHwFirmwareException(UserFacingException): method text_ignore_old_fw_and_continue (line 393) | def text_ignore_old_fw_and_continue(self) -> str: class OperationCancelled (line 404) | class OperationCancelled(UserFacingException): FILE: electrum/hw_wallet/qt.py class QtHandlerBase (line 59) | class QtHandlerBase(HardwareHandlerBase, QObject, Logger): method __init__ (line 72) | def __init__(self, win: Union['ElectrumWindow', 'QENewWalletWizard'], ... method top_level_window (line 89) | def top_level_window(self): method update_status (line 92) | def update_status(self, paired): method _update_status (line 95) | def _update_status(self, paired): method query_choice (line 102) | def query_choice(self, msg: str, choices: Sequence[ChoiceItem]): method yes_no_question (line 108) | def yes_no_question(self, msg): method show_message (line 114) | def show_message(self, msg, on_cancel=None): method show_error (line 117) | def show_error(self, msg, blocking=False): method finished (line 123) | def finished(self): method get_word (line 126) | def get_word(self, msg): method get_passphrase (line 132) | def get_passphrase(self, msg, confirm): method passphrase_dialog (line 138) | def passphrase_dialog(self, msg, confirm): method word_dialog (line 162) | def word_dialog(self, msg): method message_dialog (line 176) | def message_dialog(self, msg, on_cancel=None): method error_dialog (line 191) | def error_dialog(self, msg, blocking): method clear_dialog (line 196) | def clear_dialog(self): method win_query_choice (line 201) | def win_query_choice(self, msg: str, choices: Sequence[ChoiceItem]): method win_yes_no_question (line 208) | def win_yes_no_question(self, msg): class QtPluginBase (line 213) | class QtPluginBase(object): method load_wallet (line 216) | def load_wallet(self: Union['QtPluginBase', HW_PluginBase], wallet: 'A... method _on_status_bar_button_click (line 245) | def _on_status_bar_button_click(self, *, window: 'ElectrumWindow', key... method on_task_thread_error (line 252) | def on_task_thread_error(self: Union['QtPluginBase', HW_PluginBase], w... method choose_device (line 271) | def choose_device(self: Union['QtPluginBase', HW_PluginBase], window: ... method show_settings_dialog (line 285) | def show_settings_dialog(self, window: 'ElectrumWindow', keystore: 'Ha... method add_show_address_on_hw_device_button_for_receive_addr (line 292) | def add_show_address_on_hw_device_button_for_receive_addr( method create_handler (line 308) | def create_handler(self, window: Union['ElectrumWindow', 'QENewWalletW... method _add_menu_action (line 311) | def _add_menu_action(self, menu: QMenu, address: str, wallet: 'Abstrac... FILE: electrum/hw_wallet/trezor_qt_pinmatrix.py class PinButton (line 29) | class PinButton(QPushButton): method __init__ (line 30) | def __init__(self, password: QLineEdit, encoded_value: int) -> None: method _pressed (line 37) | def _pressed(self) -> None: class PinMatrixWidget (line 42) | class PinMatrixWidget(QWidget): method __init__ (line 51) | def __init__(self, show_strength: bool = True, parent: Any = None) -> ... method _set_strength (line 84) | def _set_strength(self, strength: float) -> None: method _password_changed (line 98) | def _password_changed(self, password: Any) -> None: method get_strength (line 101) | def get_strength(self) -> float: method get_value (line 106) | def get_value(self) -> str: FILE: electrum/i18n.py function _get_null_translations (line 40) | def _get_null_translations(): function _ensure_translation_keeps_format_string_syntax_similar (line 50) | def _ensure_translation_keeps_format_string_syntax_similar(translator): function _ (line 99) | def _(msg: str, *, context=None) -> str: function set_language (line 116) | def set_language(x: Optional[str]) -> None: function get_gui_lang_names (line 174) | def get_gui_lang_names(*, show_completion_percent: bool = True) -> dict[... function _get_stats (line 209) | def _get_stats() -> dict: FILE: electrum/interface.py class NetworkTimeout (line 86) | class NetworkTimeout: class Generic (line 88) | class Generic: class Urgent (line 93) | class Urgent(Generic): function assert_non_negative_integer (line 99) | def assert_non_negative_integer(val: Any) -> None: function assert_integer (line 104) | def assert_integer(val: Any) -> None: function assert_int_or_float (line 109) | def assert_int_or_float(val: Any) -> None: function assert_non_negative_int_or_float (line 114) | def assert_non_negative_int_or_float(val: Any) -> None: function assert_hash256_str (line 119) | def assert_hash256_str(val: Any) -> None: function assert_hex_str (line 124) | def assert_hex_str(val: Any) -> None: function assert_dict_contains_field (line 129) | def assert_dict_contains_field(d: Any, *, field_name: str) -> Any: function assert_list_or_tuple (line 137) | def assert_list_or_tuple(val: Any) -> None: function protocol_tuple (line 142) | def protocol_tuple(s: Any) -> tuple[int, ...]: class ChainResolutionMode (line 154) | class ChainResolutionMode(enum.Enum): class NotificationSession (line 162) | class NotificationSession(RPCSession): method __init__ (line 164) | def __init__(self, *args, interface: 'Interface', **kwargs): method handle_request (line 173) | async def handle_request(self, request): method send_request (line 191) | async def send_request(self, *args, timeout=None, **kwargs): method set_default_timeout (line 215) | def set_default_timeout(self, timeout): method subscribe (line 221) | async def subscribe(self, method: str, params: List, queue: asyncio.Qu... method unsubscribe (line 233) | def unsubscribe(self, queue): method get_hashable_key_for_rpc_call (line 242) | def get_hashable_key_for_rpc_call(cls, method, params): method maybe_log (line 246) | def maybe_log(self, msg: str) -> None: method default_framer (line 251) | def default_framer(self): method close (line 257) | async def close(self, *, force_after: int = None): class NetworkException (line 271) | class NetworkException(Exception): pass class GracefulDisconnect (line 274) | class GracefulDisconnect(NetworkException): method __init__ (line 277) | def __init__(self, *args, log_level=None, **kwargs): class RequestTimedOut (line 283) | class RequestTimedOut(GracefulDisconnect): method __str__ (line 284) | def __str__(self): class RequestCorrupted (line 288) | class RequestCorrupted(Exception): pass class ErrorParsingSSLCert (line 290) | class ErrorParsingSSLCert(Exception): pass class ErrorGettingSSLCertFromServer (line 291) | class ErrorGettingSSLCertFromServer(Exception): pass class ErrorSSLCertFingerprintMismatch (line 292) | class ErrorSSLCertFingerprintMismatch(Exception): pass class InvalidOptionCombination (line 293) | class InvalidOptionCombination(Exception): pass class ConnectError (line 294) | class ConnectError(NetworkException): pass class TxBroadcastError (line 297) | class TxBroadcastError(NetworkException): method get_message_for_gui (line 298) | def get_message_for_gui(self): class TxBroadcastHashMismatch (line 302) | class TxBroadcastHashMismatch(TxBroadcastError): method get_message_for_gui (line 303) | def get_message_for_gui(self): class TxBroadcastServerReturnedError (line 310) | class TxBroadcastServerReturnedError(TxBroadcastError): method get_message_for_gui (line 311) | def get_message_for_gui(self): class TxBroadcastUnknownError (line 318) | class TxBroadcastUnknownError(TxBroadcastError): method get_message_for_gui (line 319) | def get_message_for_gui(self): class _RSClient (line 325) | class _RSClient(RSClient): method create_connection (line 326) | async def create_connection(self): class PaddedRSTransport (line 334) | class PaddedRSTransport(RSTransport): method __init__ (line 349) | def __init__(self, *args, **kwargs): method write (line 358) | async def write(self, message): method _maybe_consume_sbuffer (line 367) | def _maybe_consume_sbuffer(self) -> None: method _poll_sbuffer (line 420) | async def _poll_sbuffer(self): method connection_made (line 433) | def connection_made(self, transport: asyncio.BaseTransport): method close (line 443) | async def close(self, *args, **kwargs): class ServerAddr (line 451) | class ServerAddr: method __init__ (line 453) | def __init__(self, host: str, port: Union[int, str], *, protocol: str ... method from_str (line 473) | def from_str(cls, s: str) -> 'ServerAddr': method from_str_with_inference (line 480) | def from_str_with_inference(cls, s: str) -> Optional['ServerAddr']: method to_friendly_name (line 506) | def to_friendly_name(self) -> str: method __str__ (line 512) | def __str__(self): method to_json (line 515) | def to_json(self) -> str: method __repr__ (line 518) | def __repr__(self): method net_addr_str (line 521) | def net_addr_str(self) -> str: method __eq__ (line 524) | def __eq__(self, other): method __ne__ (line 531) | def __ne__(self, other): method __hash__ (line 534) | def __hash__(self): function _get_cert_path_for_host (line 538) | def _get_cert_path_for_host(*, config: 'SimpleConfig', host: str) -> str: class Interface (line 550) | class Interface(Logger): method __init__ (line 552) | def __init__(self, *, network: 'Network', server: ServerAddr): method host (line 602) | def host(self): method port (line 606) | def port(self): method protocol (line 610) | def protocol(self): method diagnostic_name (line 613) | def diagnostic_name(self): method __str__ (line 616) | def __str__(self): method is_server_ca_signed (line 619) | async def is_server_ca_signed(self, ca_ssl_context: ssl.SSLContext) ->... method _try_saving_ssl_cert_for_first_time (line 638) | async def _try_saving_ssl_cert_for_first_time(self, ca_ssl_context: ss... method _is_saved_ssl_cert_available (line 649) | def _is_saved_ssl_cert_available(self): method _get_ssl_context (line 678) | async def _get_ssl_context(self) -> Optional[ssl.SSLContext]: method handle_disconnect (line 704) | def handle_disconnect(func): method run (line 727) | async def run(self): method _mark_ready (line 745) | def _mark_ready(self) -> None: method is_connected_and_ready (line 763) | def is_connected_and_ready(self) -> bool: method _save_certificate (line 766) | async def _save_certificate(self) -> None: method _fetch_certificate (line 789) | async def _fetch_certificate(self) -> bytes: method _get_expected_fingerprint (line 804) | def _get_expected_fingerprint(self) -> Optional[str]: method _verify_certificate_fingerprint (line 809) | def _verify_certificate_fingerprint(self, certificate: bytes) -> None: method _maybe_warm_headers_cache (line 820) | async def _maybe_warm_headers_cache(self, *, from_height: int, to_heig... method get_block_header (line 835) | async def get_block_header(self, height: int, *, mode: ChainResolution... method get_block_headers (line 847) | async def get_block_headers( method request_chunk_below_max_checkpoint (line 904) | async def request_chunk_below_max_checkpoint( method _fast_forward_chain (line 926) | async def _fast_forward_chain( method is_main_server (line 971) | def is_main_server(self) -> bool: method open_session (line 975) | async def open_session( method monitor_connection (line 1037) | async def monitor_connection(self): method ping (line 1052) | async def ping(self): method _maybe_send_noise (line 1060) | async def _maybe_send_noise(self): method request_fee_estimates (line 1065) | async def request_fee_estimates(self): method close (line 1079) | async def close(self, *, force_after: int = None): method run_fetch_blocks (line 1087) | async def run_fetch_blocks(self): method _process_header_at_tip (line 1120) | async def _process_header_at_tip(self) -> bool: method sync_until (line 1133) | async def sync_until( method step (line 1170) | async def step( method _search_headers_binary (line 1207) | async def _search_headers_binary( method _resolve_potential_chain_fork_given_forkpoint (line 1244) | async def _resolve_potential_chain_fork_given_forkpoint( method _search_headers_backwards (line 1271) | async def _search_headers_backwards( method client_name (line 1313) | def client_name(cls) -> str: method is_tor (line 1316) | def is_tor(self): method ip_addr (line 1319) | def ip_addr(self) -> Optional[str]: method bucket_based_on_ipaddress (line 1326) | def bucket_based_on_ipaddress(self) -> str: method get_merkle_for_transaction (line 1350) | async def get_merkle_for_transaction(self, tx_hash: str, tx_height: in... method get_transaction (line 1369) | async def get_transaction(self, tx_hash: str, *, timeout=None) -> str: method broadcast_transaction (line 1388) | async def broadcast_transaction(self, tx: 'Transaction', *, timeout=No... method broadcast_txpackage (line 1419) | async def broadcast_txpackage(self, txs: Sequence['Transaction']) -> b... method get_history_for_scripthash (line 1446) | async def get_history_for_scripthash(self, sh: str) -> List[dict]: method listunspent_for_scripthash (line 1483) | async def listunspent_for_scripthash(self, sh: str) -> List[dict]: method get_balance_for_scripthash (line 1501) | async def get_balance_for_scripthash(self, sh: str) -> dict: method get_txid_from_txpos (line 1513) | async def get_txid_from_txpos(self, tx_height: int, tx_pos: int, merkl... method get_fee_histogram (line 1535) | async def get_fee_histogram(self) -> Sequence[Tuple[Union[float, int],... method get_server_banner (line 1549) | async def get_server_banner(self) -> str: method get_donation_address (line 1557) | async def get_donation_address(self) -> str: method get_relay_fee (line 1573) | async def get_relay_fee(self) -> int: method get_estimatefee (line 1587) | async def get_estimatefee(self, num_blocks: int) -> int: function _assert_header_does_not_check_against_any_chain (line 1620) | def _assert_header_does_not_check_against_any_chain(header: dict) -> None: function sanitize_tx_broadcast_response (line 1626) | def sanitize_tx_broadcast_response(server_msg) -> str: function check_cert (line 1810) | def check_cert(host, cert): function _match_hostname (line 1830) | def _match_hostname(name, val): function test_certificates (line 1837) | def test_certificates(): FILE: electrum/invoices.py function pr_tooltips (line 50) | def pr_tooltips(): function pr_expiration_values (line 65) | def pr_expiration_values(): function _decode_outputs (line 79) | def _decode_outputs(outputs) -> Optional[List[PartialTxOutput]]: class BaseInvoice (line 98) | class BaseInvoice(StoredObject): method is_lightning (line 126) | def is_lightning(self) -> bool: method get_address (line 129) | def get_address(self) -> Optional[str]: method rhash (line 134) | def rhash(self) -> str: method get_status_str (line 137) | def get_status_str(self, status): method get_outputs (line 145) | def get_outputs(self) -> Sequence[PartialTxOutput]: method get_expiration_date (line 154) | def get_expiration_date(self): method _get_cur_time (line 159) | def _get_cur_time(): # for unit tests method has_expired (line 162) | def has_expired(self) -> bool: method get_amount_msat (line 166) | def get_amount_msat(self) -> Union[int, str, None]: method get_time (line 169) | def get_time(self): method get_message (line 172) | def get_message(self): method get_amount_sat (line 175) | def get_amount_sat(self) -> Union[int, str, None]: method set_amount_msat (line 185) | def set_amount_msat(self, amount_msat: Union[int, str]) -> None: method _validate_amount (line 199) | def _validate_amount(self, attribute, value): method from_bech32 (line 212) | def from_bech32(cls, invoice: str) -> 'Invoice': method from_bip70_payreq (line 236) | def from_bip70_payreq(cls, pr: 'PaymentRequest', *, height: int = 0) -... method get_id (line 248) | def get_id(self) -> str: method as_dict (line 254) | def as_dict(self, status): class Invoice (line 273) | class Invoice(BaseInvoice): method is_lightning (line 278) | def is_lightning(self): method get_broadcasting_status (line 281) | def get_broadcasting_status(self): method get_address (line 284) | def get_address(self) -> Optional[str]: method _lnaddr (line 293) | def _lnaddr(self) -> LnAddr: method rhash (line 299) | def rhash(self) -> str: method _validate_invoice_str (line 304) | def _validate_invoice_str(self, attribute, value): method can_be_paid_onchain (line 309) | def can_be_paid_onchain(self) -> bool: method to_debug_json (line 315) | def to_debug_json(self) -> Dict[str, Any]: class Request (line 323) | class Request(BaseInvoice): method is_lightning (line 326) | def is_lightning(self): method get_address (line 329) | def get_address(self) -> Optional[str]: method rhash (line 336) | def rhash(self) -> str: method get_bip21_URI (line 340) | def get_bip21_URI( function get_id_from_onchain_outputs (line 366) | def get_id_from_onchain_outputs(outputs: Sequence[PartialTxOutput], *, t... FILE: electrum/json_db.py function modifier (line 55) | def modifier(func): function locked (line 62) | def locked(func): function register_dict (line 74) | def register_dict(name, method, _type): function register_name (line 77) | def register_name(name, method, _type): function register_dict_key (line 80) | def register_dict_key(name, method): function register_parent_key (line 83) | def register_parent_key(name, method): function stored_as (line 86) | def stored_as(name, _type=dict): function stored_in (line 93) | def stored_in(name, _type=dict): function key_path (line 102) | def key_path(path: Sequence[_FLEX_KEY], key: _FLEX_KEY) -> str: class BaseStoredObject (line 116) | class BaseStoredObject: method set_db (line 123) | def set_db(self, db): method set_parent (line 127) | def set_parent(self, *, key: _FLEX_KEY, parent: Optional['BaseStoredOb... method lock (line 134) | def lock(self): method path (line 138) | def path(self) -> Sequence[_FLEX_KEY] | None: method db_add (line 150) | def db_add(self, key: _FLEX_KEY, value) -> None: method db_replace (line 155) | def db_replace(self, key: _FLEX_KEY, value) -> None: method db_remove (line 160) | def db_remove(self, key: _FLEX_KEY) -> None: class StoredObject (line 166) | class StoredObject(BaseStoredObject): method __setattr__ (line 169) | def __setattr__(self, key: str, value): method to_json (line 176) | def to_json(self): class StoredDict (line 188) | class StoredDict(dict, BaseStoredObject): method __init__ (line 190) | def __init__(self, data: dict, db: 'JsonDB'): method __setitem__ (line 197) | def __setitem__(self, key: _FLEX_KEY, v) -> None: method __delitem__ (line 223) | def __delitem__(self, key: _FLEX_KEY) -> None: method pop (line 232) | def pop(self, key: _FLEX_KEY, v=_RaiseKeyError) -> Any: method setdefault (line 245) | def setdefault(self, key: _FLEX_KEY, default = None, /): class StoredList (line 252) | class StoredList(list, BaseStoredObject): method __init__ (line 254) | def __init__(self, data, db: 'JsonDB'): method append (line 259) | def append(self, item): method remove (line 265) | def remove(self, item): method clear (line 271) | def clear(self): class JsonDB (line 277) | class JsonDB(Logger): method __init__ (line 279) | def __init__( method load_data (line 307) | def load_data(self, s: str) -> dict: method maybe_load_ast_data (line 330) | def maybe_load_ast_data(self, s): method maybe_load_incomplete_data (line 349) | def maybe_load_incomplete_data(self, s): method set_modified (line 364) | def set_modified(self, b): method modified (line 368) | def modified(self): method add_patch (line 372) | def add_patch(self, patch): method add (line 376) | def add(self, path, key: _FLEX_KEY, value) -> None: method replace (line 380) | def replace(self, path, key: _FLEX_KEY, value) -> None: method remove (line 384) | def remove(self, path, key: _FLEX_KEY) -> None: method get (line 389) | def get(self, key, default=None): method put (line 396) | def put(self, key, value): method get_dict (line 413) | def get_dict(self, name) -> dict: method get_stored_item (line 421) | def get_stored_item(self, key, default) -> dict: method dump (line 427) | def dump(self, *, human_readable: bool = True) -> str: method _should_convert_to_stored_dict (line 438) | def _should_convert_to_stored_dict(self, key) -> bool: method _convert_dict_key (line 441) | def _convert_dict_key(self, path: List[str]) -> _FLEX_KEY: method _convert_dict_value (line 458) | def _convert_dict_value(self, path: List[str], v) -> Any: method _convert_dict (line 479) | def _convert_dict(self, path: List[str], data: dict): method write (line 491) | def write(self): method _append_pending_changes (line 498) | def _append_pending_changes(self): method write_and_force_consolidation (line 511) | def write_and_force_consolidation(self): FILE: electrum/keystore.py class CannotDerivePubkey (line 64) | class CannotDerivePubkey(Exception): pass class ScriptTypeNotSupported (line 65) | class ScriptTypeNotSupported(Exception): pass function also_test_none_password (line 68) | def also_test_none_password(check_password_fn): class KeyStore (line 89) | class KeyStore(Logger, ABC): method __init__ (line 92) | def __init__(self): method has_seed (line 96) | def has_seed(self) -> bool: method is_watching_only (line 99) | def is_watching_only(self) -> bool: method can_import (line 102) | def can_import(self) -> bool: method get_type_text (line 105) | def get_type_text(self) -> str: method may_have_password (line 109) | def may_have_password(self) -> bool: method _get_tx_derivations (line 113) | def _get_tx_derivations(self, tx: 'PartialTransaction') -> Dict[bytes,... method _get_txin_derivations (line 119) | def _get_txin_derivations(self, txin: 'PartialTxInput') -> Dict[bytes,... method can_sign (line 133) | def can_sign(self, tx: 'Transaction', *, ignore_watching_only: bool = ... method can_sign_txin (line 141) | def can_sign_txin(self, txin: 'TxInput', *, ignore_watching_only: bool... method ready_to_sign (line 149) | def ready_to_sign(self) -> bool: method dump (line 153) | def dump(self) -> dict[str, Any]: method is_deterministic (line 157) | def is_deterministic(self) -> bool: method sign_message (line 161) | def sign_message( method decrypt_message (line 172) | def decrypt_message(self, sequence: 'AddressIndexGeneric', message, pa... method sign_transaction (line 176) | def sign_transaction(self, tx: 'PartialTransaction', password) -> None: method get_pubkey_derivation (line 180) | def get_pubkey_derivation(self, pubkey: bytes, method get_pubkey_provider (line 191) | def get_pubkey_provider(self, sequence: 'AddressIndexGeneric') -> Opti... method find_my_pubkey_in_txinout (line 194) | def find_my_pubkey_in_txinout( method can_have_deterministic_lightning_xprv (line 205) | def can_have_deterministic_lightning_xprv(self) -> bool: method has_support_for_slip_19_ownership_proofs (line 208) | def has_support_for_slip_19_ownership_proofs(self) -> bool: method add_slip_19_ownership_proofs_to_tx (line 211) | def add_slip_19_ownership_proofs_to_tx(self, tx: 'PartialTransaction',... class Software_KeyStore (line 215) | class Software_KeyStore(KeyStore): method __init__ (line 217) | def __init__(self, d: dict): method may_have_password (line 223) | def may_have_password(self): method sign_message (line 226) | def sign_message(self, sequence, message, password, *, script_type=Non... method decrypt_message (line 231) | def decrypt_message(self, sequence, message, password) -> bytes: method sign_transaction (line 237) | def sign_transaction(self, tx, password): method update_password (line 253) | def update_password(self, old_password, new_password) -> None: method check_password (line 257) | def check_password(self, password: Optional[str]) -> None: method get_private_key (line 262) | def get_private_key(self, sequence: 'AddressIndexGeneric', password) -... class Imported_KeyStore (line 267) | class Imported_KeyStore(Software_KeyStore): method __init__ (line 272) | def __init__(self, d: dict): method is_deterministic (line 276) | def is_deterministic(self): method dump (line 279) | def dump(self): method can_import (line 286) | def can_import(self): method check_password (line 290) | def check_password(self, password): method import_privkey (line 294) | def import_privkey(self, sec: str, password) -> Tuple[str, str]: method delete_imported_key (line 307) | def delete_imported_key(self, key: str) -> None: method get_private_key (line 310) | def get_private_key(self, pubkey: str, password): method get_pubkey_derivation (line 320) | def get_pubkey_derivation(self, pubkey, txin, *, only_der_suffix=True): method get_pubkey_provider (line 325) | def get_pubkey_provider(self, sequence: 'AddressIndexGeneric') -> Opti... method update_password (line 334) | def update_password(self, old_password, new_password): class Deterministic_KeyStore (line 345) | class Deterministic_KeyStore(Software_KeyStore): method __init__ (line 347) | def __init__(self, d: dict): method is_deterministic (line 353) | def is_deterministic(self): method dump (line 356) | def dump(self): method has_seed (line 369) | def has_seed(self): method get_seed_type (line 372) | def get_seed_type(self) -> Optional[str]: method is_watching_only (line 375) | def is_watching_only(self): method format_seed (line 379) | def format_seed(self, seed: str) -> str: method add_seed (line 382) | def add_seed(self, seed: str) -> None: method get_seed (line 388) | def get_seed(self, password) -> str: method get_passphrase (line 393) | def get_passphrase(self, password) -> str: class MasterPublicKeyMixin (line 400) | class MasterPublicKeyMixin(ABC): method __init__ (line 402) | def __init__(self): method get_master_public_key (line 406) | def get_master_public_key(self) -> str: method get_derivation_prefix (line 410) | def get_derivation_prefix(self) -> Optional[str]: method get_root_fingerprint (line 417) | def get_root_fingerprint(self) -> Optional[str]: method get_fp_and_derivation_to_be_used_in_partial_tx (line 426) | def get_fp_and_derivation_to_be_used_in_partial_tx( method get_key_origin_info (line 438) | def get_key_origin_info(self) -> Optional[KeyOriginInfo]: method derive_pubkey (line 441) | def derive_pubkey(self, for_change: int, n: int) -> bytes: method _derive_pubkey (line 448) | def _derive_pubkey(self, for_change: int, n: int) -> bytes: method get_pubkey_derivation (line 454) | def get_pubkey_derivation( class Xpub (line 511) | class Xpub(MasterPublicKeyMixin): method __init__ (line 513) | def __init__(self, *, derivation_prefix: str = None, root_fingerprint:... method get_master_public_key (line 524) | def get_master_public_key(self): method get_bip32_node_for_xpub (line 527) | def get_bip32_node_for_xpub(self) -> Optional[BIP32Node]: method get_derivation_prefix (line 534) | def get_derivation_prefix(self) -> Optional[str]: method get_root_fingerprint (line 539) | def get_root_fingerprint(self) -> Optional[str]: method get_fp_and_derivation_to_be_used_in_partial_tx (line 542) | def get_fp_and_derivation_to_be_used_in_partial_tx( method get_xpub_to_be_used_in_partial_tx (line 561) | def get_xpub_to_be_used_in_partial_tx(self, *, only_der_suffix: bool) ... method get_key_origin_info (line 579) | def get_key_origin_info(self) -> Optional[KeyOriginInfo]: method get_pubkey_provider (line 585) | def get_pubkey_provider(self, sequence: 'AddressIndexGeneric') -> Opti... method add_key_origin_from_root_node (line 595) | def add_key_origin_from_root_node(self, *, derivation_prefix: str, roo... method add_key_origin (line 607) | def add_key_origin(self, *, derivation_prefix: str = None, root_finger... method _derive_pubkey (line 622) | def _derive_pubkey(self, for_change: int, n: int) -> bytes: method get_pubkey_from_xpub (line 637) | def get_pubkey_from_xpub(cls, xpub: str, sequence) -> bytes: class BIP32_KeyStore (line 642) | class BIP32_KeyStore(Xpub, Deterministic_KeyStore): method __init__ (line 646) | def __init__(self, d: dict): method watching_only_keystore (line 652) | def watching_only_keystore(self): method format_seed (line 659) | def format_seed(self, seed): method dump (line 662) | def dump(self): method get_master_private_key (line 670) | def get_master_private_key(self, password) -> str: method check_password (line 674) | def check_password(self, password): method update_password (line 683) | def update_password(self, old_password, new_password): method is_watching_only (line 698) | def is_watching_only(self): method add_xpub (line 701) | def add_xpub(self, xpub: str) -> None: method add_xprv (line 707) | def add_xprv(self, xprv: str) -> None: method add_xprv_from_seed (line 712) | def add_xprv_from_seed(self, bip32_seed: bytes, *, xtype: str, derivat... method get_private_key (line 718) | def get_private_key(self, sequence: Sequence[int], password): method can_have_deterministic_lightning_xprv (line 724) | def can_have_deterministic_lightning_xprv(self): method get_lightning_xprv (line 730) | def get_lightning_xprv(self, password) -> str: class Old_KeyStore (line 737) | class Old_KeyStore(MasterPublicKeyMixin, Deterministic_KeyStore): method __init__ (line 741) | def __init__(self, d: dict): method watching_only_keystore (line 747) | def watching_only_keystore(self): method _get_hex_seed (line 750) | def _get_hex_seed(self, password) -> str: method dump (line 757) | def dump(self): method add_seed (line 762) | def add_seed(self, seed): method add_master_public_key (line 767) | def add_master_public_key(self, mpk: str) -> None: method format_seed (line 770) | def format_seed(self, seed): method get_seed (line 790) | def get_seed(self, password): method mpk_from_seed (line 796) | def mpk_from_seed(cls, hex_seed: str) -> str: method stretch_key (line 802) | def stretch_key(cls, hex_seed: str) -> int: method get_sequence (line 811) | def get_sequence(cls, mpk: str, for_change: int, n: int) -> int: method get_pubkey_from_mpk (line 815) | def get_pubkey_from_mpk(cls, mpk: str, for_change: int, n: int) -> bytes: method _derive_pubkey (line 821) | def _derive_pubkey(self, for_change, n) -> bytes: method _get_private_key_from_stretched_exponent (line 827) | def _get_private_key_from_stretched_exponent(self, for_change: int, n:... method get_private_key (line 832) | def get_private_key(self, sequence: Sequence[int], password): method _check_seed (line 842) | def _check_seed(self, hex_seed: str, *, secexp: int = None) -> None: method check_password (line 851) | def check_password(self, password): method get_master_public_key (line 855) | def get_master_public_key(self): method get_derivation_prefix (line 858) | def get_derivation_prefix(self) -> str: method get_root_fingerprint (line 861) | def get_root_fingerprint(self) -> str: method get_fp_and_derivation_to_be_used_in_partial_tx (line 868) | def get_fp_and_derivation_to_be_used_in_partial_tx( method get_pubkey_provider (line 881) | def get_pubkey_provider(self, sequence: 'AddressIndexGeneric') -> Opti... method update_password (line 888) | def update_password(self, old_password, new_password): class Hardware_KeyStore (line 898) | class Hardware_KeyStore(Xpub, KeyStore): method __init__ (line 906) | def __init__(self, d): method watching_only_keystore (line 918) | def watching_only_keystore(self): method set_label (line 925) | def set_label(self, label: Optional[str]) -> None: method may_have_password (line 928) | def may_have_password(self): method is_deterministic (line 931) | def is_deterministic(self): method get_type_text (line 934) | def get_type_text(self) -> str: method dump (line 937) | def dump(self): method is_watching_only (line 948) | def is_watching_only(self): method get_client (line 954) | def get_client( method get_password_for_storage_encryption (line 968) | def get_password_for_storage_encryption(self) -> str: method has_usable_connection_with_device (line 972) | def has_usable_connection_with_device(self) -> bool: method ready_to_sign (line 983) | def ready_to_sign(self): method opportunistically_fill_in_missing_info_from_device (line 986) | def opportunistically_fill_in_missing_info_from_device(self, client: '... method pairing_code (line 998) | def pairing_code(self) -> Optional[str]: function bip39_normalize_passphrase (line 1009) | def bip39_normalize_passphrase(passphrase: str): function bip39_to_seed (line 1013) | def bip39_to_seed(mnemonic: str, *, passphrase: Optional[str]) -> bytes: function bip39_is_checksum_valid (line 1023) | def bip39_is_checksum_valid( function from_bip43_rootseed (line 1057) | def from_bip43_rootseed( function xtype_from_derivation (line 1077) | def xtype_from_derivation(derivation: str) -> str: function register_keystore (line 1102) | def register_keystore(hw_type: str, constructor: Type[Hardware_KeyStore]... function hardware_keystore (line 1105) | def hardware_keystore(d) -> Hardware_KeyStore: function load_keystore (line 1113) | def load_keystore(db: 'WalletDB', name: str) -> KeyStore: function is_old_mpk (line 1132) | def is_old_mpk(mpk: str) -> bool: function is_address_list (line 1146) | def is_address_list(text: str) -> bool: function get_private_keys (line 1151) | def get_private_keys(text: str, *, allow_spaces_inside_key=True, raise_o... function is_private_key_list (line 1163) | def is_private_key_list(text: str, *, allow_spaces_inside_key: bool = Tr... function is_master_key (line 1169) | def is_master_key(x: str) -> bool: function is_bip32_key (line 1173) | def is_bip32_key(x: str) -> bool: function bip44_derivation (line 1177) | def bip44_derivation(account_id: int, bip43_purpose: int = 44) -> str: function purpose48_derivation (line 1183) | def purpose48_derivation(account_id: int, xtype: str) -> str: function from_seed (line 1195) | def from_seed(seed: str, *, passphrase: Optional[str], for_multisig: boo... function from_private_key_list (line 1219) | def from_private_key_list(text: str) -> Imported_KeyStore: function from_old_mpk (line 1225) | def from_old_mpk(mpk: str) -> Old_KeyStore: function from_xpub (line 1230) | def from_xpub(xpub: str) -> BIP32_KeyStore: function from_xprv (line 1235) | def from_xprv(xprv: str) -> BIP32_KeyStore: function from_master_key (line 1240) | def from_master_key(text: str) -> Union[BIP32_KeyStore, Old_KeyStore]: FILE: electrum/lnaddr.py class LnInvoiceException (line 26) | class LnInvoiceException(Exception): pass class LnDecodeException (line 27) | class LnDecodeException(LnInvoiceException): pass class LnEncodeException (line 28) | class LnEncodeException(LnInvoiceException): pass function shorten_amount (line 35) | def shorten_amount(amount): function unshorten_amount (line 50) | def unshorten_amount(amount) -> Decimal: function encode_fallback_addr (line 79) | def encode_fallback_addr(fallback: str, net: Type[AbstractNet]) -> Seque... function parse_fallback_addr (line 98) | def parse_fallback_addr(data5: Sequence[int], net: Type[AbstractNet]) ->... function tagged5 (line 112) | def tagged5(char: str, data5: Sequence[int]) -> Sequence[int]: function tagged8 (line 117) | def tagged8(char: str, data8: Sequence[int]) -> Sequence[int]: function int_to_data5 (line 121) | def int_to_data5(val: int, *, bit_len: int = None) -> Sequence[int]: function int_from_data5 (line 139) | def int_from_data5(data5: Sequence[int]) -> int: function pull_tagged (line 146) | def pull_tagged(data5: bytearray) -> Tuple[str, Sequence[int]]: function lnencode (line 159) | def lnencode(addr: 'LnAddr', privkey) -> str: class LnAddr (line 257) | class LnAddr(object): method __init__ (line 258) | def __init__(self, *, paymenthash: bytes = None, amount=None, net: Typ... method amount (line 271) | def amount(self) -> Optional[Decimal]: method amount (line 275) | def amount(self, value): method get_amount_sat (line 289) | def get_amount_sat(self) -> Optional[Decimal]: method get_routing_info (line 295) | def get_routing_info(self, tag): method format_bolt11_routing_info_as_human_readable (line 306) | def format_bolt11_routing_info_as_human_readable(r_tags, *, has_explic... method get_amount_msat (line 323) | def get_amount_msat(self) -> Optional[int]: method get_features (line 328) | def get_features(self) -> 'LnFeatures': method validate_and_compare_features (line 332) | def validate_and_compare_features(self, myfeatures: 'LnFeatures') -> N... method __str__ (line 343) | def __str__(self): method get_min_final_cltv_delta (line 350) | def get_min_final_cltv_delta(self) -> int: method get_tag (line 356) | def get_tag(self, tag): method get_description (line 362) | def get_description(self) -> str: method get_fallback_address (line 365) | def get_fallback_address(self) -> str: method get_expiry (line 368) | def get_expiry(self) -> int: method is_expired (line 374) | def is_expired(self) -> bool: method to_debug_json (line 380) | def to_debug_json(self) -> Dict[str, Any]: class SerializableKey (line 399) | class SerializableKey: method __init__ (line 400) | def __init__(self, pubkey): method serialize (line 402) | def serialize(self): function lndecode (line 406) | def lndecode(invoice: str, *, verbose=False, net=None) -> LnAddr: FILE: electrum/lnchannel.py class ChannelState (line 79) | class ChannelState(IntEnum): class PeerState (line 98) | class PeerState(IntEnum): class ChanCloseOption (line 156) | class ChanCloseOption(Enum): class RevokeAndAck (line 162) | class RevokeAndAck(NamedTuple): class RemoteCtnTooFarInFuture (line 167) | class RemoteCtnTooFarInFuture(Exception): pass function htlcsum (line 170) | def htlcsum(htlcs: Iterable[UpdateAddHtlc]): function now (line 173) | def now(): class HTLCWithStatus (line 176) | class HTLCWithStatus(NamedTuple): class AbstractChannel (line 183) | class AbstractChannel(Logger, ABC): method set_short_channel_id (line 195) | def set_short_channel_id(self, short_id: ShortChannelID) -> None: method get_id_for_log (line 199) | def get_id_for_log(self) -> str: method short_id_for_GUI (line 205) | def short_id_for_GUI(self) -> str: method diagnostic_name (line 208) | def diagnostic_name(self): method set_state (line 211) | def set_state(self, state: ChannelState, *, force: bool = False) -> None: method get_state (line 223) | def get_state(self) -> ChannelState: method is_funded (line 226) | def is_funded(self) -> bool: method is_open (line 229) | def is_open(self) -> bool: method is_closed (line 232) | def is_closed(self) -> bool: method is_closed_or_closing (line 236) | def is_closed_or_closing(self): method is_redeemed (line 240) | def is_redeemed(self) -> bool: method need_to_subscribe (line 243) | def need_to_subscribe(self) -> bool: method get_close_options (line 265) | def get_close_options(self) -> Sequence[ChanCloseOption]: method save_funding_height (line 268) | def save_funding_height(self, *, txid: str, height: int, timestamp: Op... method get_funding_height (line 271) | def get_funding_height(self) -> Optional[Tuple[str, int, Optional[int]]]: method delete_funding_height (line 274) | def delete_funding_height(self): method save_closing_height (line 277) | def save_closing_height(self, *, txid: str, height: int, timestamp: Op... method get_closing_height (line 280) | def get_closing_height(self) -> Optional[Tuple[str, int, Optional[int]]]: method delete_closing_height (line 283) | def delete_closing_height(self): method create_sweeptxs_for_our_ctx (line 286) | def create_sweeptxs_for_our_ctx(self, ctx: Transaction) -> Dict[str, M... method create_sweeptxs_for_their_ctx (line 289) | def create_sweeptxs_for_their_ctx(self, ctx: Transaction) -> Dict[str,... method is_backup (line 292) | def is_backup(self) -> bool: method get_local_scid_alias (line 295) | def get_local_scid_alias(self, *, create_new_if_needed: bool = False) ... method get_remote_scid_alias (line 298) | def get_remote_scid_alias(self) -> Optional[bytes]: method get_remote_peer_sent_error (line 301) | def get_remote_peer_sent_error(self) -> Optional[str]: method get_ctx_sweep_info (line 304) | def get_ctx_sweep_info(self, ctx: Transaction) -> Tuple[bool, Dict[str... method maybe_sweep_htlcs (line 327) | def maybe_sweep_htlcs(self, ctx: Transaction, htlc_tx: Transaction) ->... method extract_preimage_from_htlc_txin (line 330) | def extract_preimage_from_htlc_txin(self, txin: TxInput, *, is_deeply_... method update_onchain_state (line 333) | def update_onchain_state(self, *, funding_txid: str, funding_height: T... method update_unfunded_state (line 351) | def update_unfunded_state(self) -> None: method update_funded_state (line 399) | def update_funded_state(self, *, funding_txid: str, funding_height: Tx... method update_closed_state (line 424) | def update_closed_state(self, *, funding_txid: str, funding_height: Tx... method is_initiator (line 450) | def is_initiator(self) -> bool: method is_public (line 454) | def is_public(self) -> bool: method is_zeroconf (line 458) | def is_zeroconf(self) -> bool: method remove_zeroconf_flag (line 462) | def remove_zeroconf_flag(self) -> None: method is_funding_tx_mined (line 466) | def is_funding_tx_mined(self, funding_height: TxMinedInfo) -> bool: method get_funding_address (line 470) | def get_funding_address(self) -> str: method get_funding_tx (line 473) | def get_funding_tx(self) -> Optional[Transaction]: method get_sweep_address (line 478) | def get_sweep_address(self) -> str: method get_state_for_GUI (line 485) | def get_state_for_GUI(self) -> str: method get_oldest_unrevoked_ctn (line 492) | def get_oldest_unrevoked_ctn(self, subject: HTLCOwner) -> int: method included_htlcs (line 496) | def included_htlcs(self, subject: HTLCOwner, direction: Direction, ctn... method funding_txn_minimum_depth (line 500) | def funding_txn_minimum_depth(self) -> int: method balance (line 504) | def balance(self, whose: HTLCOwner, *, ctx_owner=HTLCOwner.LOCAL, ctn:... method balance_minus_outgoing_htlcs (line 511) | def balance_minus_outgoing_htlcs(self, whose: HTLCOwner, *, method is_frozen_for_sending (line 520) | def is_frozen_for_sending(self) -> bool: method is_frozen_for_receiving (line 528) | def is_frozen_for_receiving(self) -> bool: method get_local_pubkey (line 536) | def get_local_pubkey(self) -> bytes: method get_capacity (line 541) | def get_capacity(self) -> Optional[int]: method can_be_deleted (line 546) | def can_be_deleted(self) -> bool: method has_funding_timed_out (line 550) | def has_funding_timed_out(self) -> bool: method get_wallet_addresses_channel_might_want_reserved (line 554) | def get_wallet_addresses_channel_might_want_reserved(self) -> Sequence... method has_anchors (line 561) | def has_anchors(self) -> bool: class ChannelBackup (line 565) | class ChannelBackup(AbstractChannel): method __init__ (line 575) | def __init__(self, cb: ChannelBackupStorage, *, lnworker: 'LNWallet'): method init_config (line 593) | def init_config(self, cb: ImportedChannelBackupStorage): method can_be_deleted (line 652) | def can_be_deleted(self): method has_funding_timed_out (line 655) | def has_funding_timed_out(self): method get_capacity (line 658) | def get_capacity(self): method is_backup (line 665) | def is_backup(self): method create_sweeptxs_for_their_ctx (line 668) | def create_sweeptxs_for_their_ctx(self, ctx): method create_sweeptxs_for_our_ctx (line 673) | def create_sweeptxs_for_our_ctx(self, ctx): method maybe_sweep_htlcs (line 679) | def maybe_sweep_htlcs(self, ctx: Transaction, htlc_tx: Transaction) ->... method extract_preimage_from_htlc_txin (line 682) | def extract_preimage_from_htlc_txin(self, txin: TxInput, *, is_deeply_... method get_funding_address (line 685) | def get_funding_address(self): method is_initiator (line 688) | def is_initiator(self): method is_public (line 691) | def is_public(self): method get_oldest_unrevoked_ctn (line 694) | def get_oldest_unrevoked_ctn(self, who): method included_htlcs (line 697) | def included_htlcs(self, subject, direction, ctn=None): method funding_txn_minimum_depth (line 700) | def funding_txn_minimum_depth(self): method is_funding_tx_mined (line 703) | def is_funding_tx_mined(self, funding_height): method balance_minus_outgoing_htlcs (line 706) | def balance_minus_outgoing_htlcs(self, whose: HTLCOwner, *, ctx_owner:... method balance (line 709) | def balance(self, whose: HTLCOwner, *, ctx_owner=HTLCOwner.LOCAL, ctn:... method is_frozen_for_sending (line 712) | def is_frozen_for_sending(self) -> bool: method is_frozen_for_receiving (line 715) | def is_frozen_for_receiving(self) -> bool: method get_sweep_address (line 718) | def get_sweep_address(self) -> str: method has_anchors (line 721) | def has_anchors(self) -> Optional[bool]: method is_zeroconf (line 724) | def is_zeroconf(self) -> bool: method remove_zeroconf_flag (line 727) | def remove_zeroconf_flag(self) -> None: method get_local_pubkey (line 730) | def get_local_pubkey(self) -> bytes: method get_close_options (line 739) | def get_close_options(self) -> Sequence[ChanCloseOption]: method get_wallet_addresses_channel_might_want_reserved (line 745) | def get_wallet_addresses_channel_might_want_reserved(self) -> Sequence... class Channel (line 759) | class Channel(AbstractChannel): method __repr__ (line 769) | def __repr__(self): method __init__ (line 772) | def __init__( method get_local_scid_alias (line 810) | def get_local_scid_alias(self, *, create_new_if_needed: bool = False) ... method save_remote_scid_alias (line 824) | def save_remote_scid_alias(self, alias: bytes): method get_remote_scid_alias (line 827) | def get_remote_scid_alias(self) -> Optional[bytes]: method get_scid_or_local_alias (line 834) | def get_scid_or_local_alias(self): method has_onchain_backup (line 837) | def has_onchain_backup(self): method can_be_deleted (line 840) | def can_be_deleted(self) -> bool: method has_funding_timed_out (line 845) | def has_funding_timed_out(self): method get_capacity (line 857) | def get_capacity(self): method is_public (line 860) | def is_public(self): method is_initiator (line 863) | def is_initiator(self): method is_active (line 866) | def is_active(self): method funding_txn_minimum_depth (line 869) | def funding_txn_minimum_depth(self): method diagnostic_name (line 872) | def diagnostic_name(self): method set_onion_key (line 877) | def set_onion_key(self, key: int, value: bytes): method pop_onion_key (line 880) | def pop_onion_key(self, key: int) -> bytes: method set_data_loss_protect_remote_pcp (line 883) | def set_data_loss_protect_remote_pcp(self, key, value): method get_data_loss_protect_remote_pcp (line 886) | def get_data_loss_protect_remote_pcp(self, key): method get_local_pubkey (line 889) | def get_local_pubkey(self) -> bytes: method set_remote_update (line 892) | def set_remote_update(self, payload: dict) -> None: method get_remote_update (line 903) | def get_remote_update(self) -> Optional[bytes]: method add_or_update_peer_addr (line 906) | def add_or_update_peer_addr(self, peer: LNPeerAddr) -> None: method get_peer_addresses (line 911) | def get_peer_addresses(self) -> Iterator[LNPeerAddr]: method save_remote_peer_sent_error (line 919) | def save_remote_peer_sent_error(self, original_error: bytes): method get_remote_peer_sent_error (line 926) | def get_remote_peer_sent_error(self) -> Optional[str]: method get_outgoing_gossip_channel_update (line 934) | def get_outgoing_gossip_channel_update(self, *, scid: ShortChannelID =... method construct_channel_announcement_without_sigs (line 968) | def construct_channel_announcement_without_sigs(self) -> Tuple[bytes, ... method get_channel_announcement_hash (line 990) | def get_channel_announcement_hash(self): method is_static_remotekey_enabled (line 994) | def is_static_remotekey_enabled(self) -> bool: method is_zeroconf (line 998) | def is_zeroconf(self) -> bool: method remove_zeroconf_flag (line 1002) | def remove_zeroconf_flag(self) -> None: method get_sweep_address (line 1008) | def get_sweep_address(self) -> str: method has_anchors (line 1018) | def has_anchors(self) -> bool: method get_wallet_addresses_channel_might_want_reserved (line 1022) | def get_wallet_addresses_channel_might_want_reserved(self) -> Sequence... method get_feerate (line 1028) | def get_feerate(self, subject: HTLCOwner, *, ctn: int) -> int: method get_oldest_unrevoked_feerate (line 1032) | def get_oldest_unrevoked_feerate(self, subject: HTLCOwner) -> int: method get_latest_feerate (line 1035) | def get_latest_feerate(self, subject: HTLCOwner) -> int: method get_next_feerate (line 1038) | def get_next_feerate(self, subject: HTLCOwner) -> int: method get_payments (line 1041) | def get_payments(self, status=None) -> Mapping[bytes, List[HTLCWithSta... method open_with_first_pcp (line 1058) | def open_with_first_pcp(self, remote_pcp: bytes, remote_sig: bytes) ->... method get_state_for_GUI (line 1066) | def get_state_for_GUI(self): method set_can_send_ctx_updates (line 1075) | def set_can_send_ctx_updates(self, b: bool) -> None: method can_update_ctx (line 1078) | def can_update_ctx(self, *, proposer: HTLCOwner) -> bool: method can_send_update_add_htlc (line 1091) | def can_send_update_add_htlc(self) -> bool: method is_frozen_for_sending (line 1094) | def is_frozen_for_sending(self) -> bool: method set_frozen_for_sending (line 1099) | def set_frozen_for_sending(self, b: bool) -> None: method is_frozen_for_receiving (line 1103) | def is_frozen_for_receiving(self) -> bool: method set_frozen_for_receiving (line 1108) | def set_frozen_for_receiving(self, b: bool) -> None: method _assert_can_add_htlc (line 1112) | def _assert_can_add_htlc(self, *, htlc_proposer: HTLCOwner, amount_msa... method htlc_slots_left (line 1151) | def htlc_slots_left(self, htlc_proposer: HTLCOwner) -> int: method remaining_max_inflight (line 1170) | def remaining_max_inflight(self, htlc_receiver: HTLCOwner, *, strict: ... method can_pay (line 1188) | def can_pay(self, amount_msat: int, *, check_frozen=False) -> bool: method can_receive (line 1198) | def can_receive(self, amount_msat: int, *, check_frozen=False, method should_try_to_reestablish_peer (line 1212) | def should_try_to_reestablish_peer(self) -> bool: method get_funding_address (line 1219) | def get_funding_address(self): method add_htlc (line 1223) | def add_htlc(self, htlc: UpdateAddHtlc) -> UpdateAddHtlc: method receive_htlc (line 1236) | def receive_htlc(self, htlc: UpdateAddHtlc, onion_packet:bytes = None)... method sign_next_commitment (line 1255) | def sign_next_commitment(self) -> Tuple[bytes, Sequence[bytes]]: method receive_new_commitment (line 1302) | def receive_new_commitment(self, sig: bytes, htlc_sigs: Sequence[bytes... method _verify_htlc_sig (line 1352) | def _verify_htlc_sig(self, *, htlc: UpdateAddHtlc, htlc_sig: bytes, ht... method get_remote_htlc_sig_for_htlc (line 1380) | def get_remote_htlc_sig_for_htlc(self, *, htlc_relative_idx: int) -> b... method revoke_current_commitment (line 1388) | def revoke_current_commitment(self): method receive_revocation (line 1402) | def receive_revocation(self, revocation: RevokeAndAck): method extract_preimage_from_htlc_txin (line 1429) | def extract_preimage_from_htlc_txin(self, txin: TxInput, *, is_deeply_... method balance (line 1501) | def balance(self, whose: HTLCOwner, *, ctx_owner=HTLCOwner.LOCAL, ctn:... method balance_minus_outgoing_htlcs (line 1509) | def balance_minus_outgoing_htlcs(self, whose: HTLCOwner, *, ctx_owner:... method balance_tied_up_in_htlcs_by_direction (line 1519) | def balance_tied_up_in_htlcs_by_direction(self, ctx_owner: HTLCOwner =... method has_unsettled_htlcs (line 1526) | def has_unsettled_htlcs(self) -> bool: method available_to_spend (line 1529) | def available_to_spend(self, subject: HTLCOwner) -> int: method included_htlcs (line 1614) | def included_htlcs(self, subject: HTLCOwner, direction: Direction, ctn... method get_secret_and_point (line 1633) | def get_secret_and_point(self, subject: HTLCOwner, ctn: int) -> Tuple[... method get_secret_and_commitment (line 1655) | def get_secret_and_commitment(self, subject: HTLCOwner, *, ctn: int) -... method get_commitment (line 1660) | def get_commitment(self, subject: HTLCOwner, *, ctn: int) -> PartialTr... method get_next_commitment (line 1664) | def get_next_commitment(self, subject: HTLCOwner) -> PartialTransaction: method get_latest_commitment (line 1668) | def get_latest_commitment(self, subject: HTLCOwner) -> PartialTransact... method get_oldest_unrevoked_commitment (line 1672) | def get_oldest_unrevoked_commitment(self, subject: HTLCOwner) -> Parti... method create_sweeptxs_for_watchtower (line 1676) | def create_sweeptxs_for_watchtower(self, ctn: int) -> List[Transaction]: method get_oldest_unrevoked_ctn (line 1697) | def get_oldest_unrevoked_ctn(self, subject: HTLCOwner) -> int: method get_latest_ctn (line 1700) | def get_latest_ctn(self, subject: HTLCOwner) -> int: method get_next_ctn (line 1703) | def get_next_ctn(self, subject: HTLCOwner) -> int: method total_msat (line 1706) | def total_msat(self, direction: Direction) -> int: method settle_htlc (line 1711) | def settle_htlc(self, preimage: bytes, htlc_id: int) -> None: method get_payment_hash (line 1725) | def get_payment_hash(self, htlc_id: int) -> bytes: method receive_htlc_settle (line 1729) | def receive_htlc_settle(self, preimage: bytes, htlc_id: int) -> None: method fail_htlc (line 1743) | def fail_htlc(self, htlc_id: int) -> None: method receive_fail_htlc (line 1752) | def receive_fail_htlc(self, htlc_id: int, *, method get_next_fee (line 1764) | def get_next_fee(self, subject: HTLCOwner) -> int: method get_latest_fee (line 1767) | def get_latest_fee(self, subject: HTLCOwner) -> int: method update_fee (line 1770) | def update_fee(self, feerate: int, from_us: bool) -> None: method make_commitment (line 1800) | def make_commitment(self, subject: HTLCOwner, this_point: bytes, ctn: ... method make_closing_tx (line 1863) | def make_closing_tx(self, local_script: bytes, remote_script: bytes, method signature_fits (line 1893) | def signature_fits(self, tx: PartialTransaction) -> bool: method force_close_tx (line 1901) | def force_close_tx(self) -> PartialTransaction: method get_close_options (line 1913) | def get_close_options(self) -> Sequence[ChanCloseOption]: method maybe_sweep_htlcs (line 1932) | def maybe_sweep_htlcs(self, ctx: Transaction, htlc_tx: Transaction) ->... method has_pending_changes (line 1939) | def has_pending_changes(self, subject: HTLCOwner) -> bool: method should_be_closed_due_to_expiring_htlcs (line 1944) | def should_be_closed_due_to_expiring_htlcs(self, local_height: int) ->... method is_funding_tx_mined (line 1979) | def is_funding_tx_mined(self, funding_height): FILE: electrum/lnhtlc.py class HTLCManager (line 22) | class HTLCManager: method __init__ (line 24) | def __init__(self, log: 'StoredDict', *, initiator=None, initial_feera... method ctn_latest (line 49) | def ctn_latest(self, sub: HTLCOwner) -> int: method ctn_oldest_unrevoked (line 53) | def ctn_oldest_unrevoked(self, sub: HTLCOwner) -> int: method is_revack_pending (line 57) | def is_revack_pending(self, sub: HTLCOwner) -> bool: method _set_revack_pending (line 63) | def _set_revack_pending(self, sub: HTLCOwner, pending: bool) -> None: method get_next_htlc_id (line 66) | def get_next_htlc_id(self, sub: HTLCOwner) -> int: method channel_open_finished (line 72) | def channel_open_finished(self): method send_htlc (line 79) | def send_htlc(self, htlc: UpdateAddHtlc) -> UpdateAddHtlc: method recv_htlc (line 91) | def recv_htlc(self, htlc: UpdateAddHtlc) -> None: method send_settle (line 102) | def send_settle(self, htlc_id: int) -> None: method recv_settle (line 109) | def recv_settle(self, htlc_id: int) -> None: method send_fail (line 116) | def send_fail(self, htlc_id: int) -> None: method recv_fail (line 123) | def recv_fail(self, htlc_id: int) -> None: method send_update_fee (line 130) | def send_update_fee(self, feerate: int) -> None: method recv_update_fee (line 136) | def recv_update_fee(self, feerate: int) -> None: method _new_feeupdate (line 142) | def _new_feeupdate(self, fee_update: FeeUpdate, subject: HTLCOwner) ->... method send_ctx (line 155) | def send_ctx(self) -> None: method recv_ctx (line 161) | def recv_ctx(self) -> None: method send_rev (line 166) | def send_rev(self) -> None: method recv_rev (line 188) | def recv_rev(self) -> None: method _update_maybe_active_htlc_ids (line 212) | def _update_maybe_active_htlc_ids(self) -> None: method _init_maybe_active_htlc_ids (line 235) | def _init_maybe_active_htlc_ids(self): method discard_unsigned_remote_updates (line 247) | def discard_unsigned_remote_updates(self): method store_local_update_raw_msg (line 272) | def store_local_update_raw_msg(self, raw_update_msg: bytes, *, is_comm... method get_unacked_local_updates (line 287) | def get_unacked_local_updates(self) -> Dict[int, Sequence[bytes]]: method was_revoke_last (line 293) | def was_revoke_last(self) -> bool: method get_htlc_by_id (line 299) | def get_htlc_by_id(self, htlc_proposer: HTLCOwner, htlc_id: int) -> Up... method is_htlc_active_at_ctn (line 303) | def is_htlc_active_at_ctn(self, *, ctx_owner: HTLCOwner, ctn: int, method is_htlc_irrevocably_added_yet (line 319) | def is_htlc_irrevocably_added_yet( method _is_htlc_irrevocably_added_yet (line 343) | def _is_htlc_irrevocably_added_yet( method is_htlc_irrevocably_removed_yet (line 358) | def is_htlc_irrevocably_removed_yet( method _is_htlc_irrevocably_removed_yet (line 383) | def _is_htlc_irrevocably_removed_yet( method htlcs_by_direction (line 406) | def htlcs_by_direction(self, subject: HTLCOwner, direction: Direction, method htlcs (line 432) | def htlcs(self, subject: HTLCOwner, ctn: int = None) -> Sequence[Tuple... method get_htlcs_in_oldest_unrevoked_ctx (line 443) | def get_htlcs_in_oldest_unrevoked_ctx(self, subject: HTLCOwner) -> Seq... method get_htlcs_in_latest_ctx (line 449) | def get_htlcs_in_latest_ctx(self, subject: HTLCOwner) -> Sequence[Tupl... method get_htlcs_in_next_ctx (line 455) | def get_htlcs_in_next_ctx(self, subject: HTLCOwner) -> Sequence[Tuple[... method was_htlc_preimage_released (line 460) | def was_htlc_preimage_released(self, *, htlc_id: int, htlc_proposer: H... method was_htlc_failed (line 466) | def was_htlc_failed(self, *, htlc_id: int, htlc_proposer: HTLCOwner) -... method all_settled_htlcs_ever_by_direction (line 474) | def all_settled_htlcs_ever_by_direction(self, subject: HTLCOwner, dire... method all_settled_htlcs_ever (line 492) | def all_settled_htlcs_ever(self, subject: HTLCOwner, ctn: int = None) ... method all_htlcs_ever (line 504) | def all_htlcs_ever(self) -> Sequence[Tuple[Direction, UpdateAddHtlc]]: method get_balance_msat (line 510) | def get_balance_msat(self, whose: HTLCOwner, *, ctx_owner=HTLCOwner.LO... method _get_htlcs_that_got_removed_exactly_at_ctn (line 544) | def _get_htlcs_that_got_removed_exactly_at_ctn( method received_in_ctn (line 560) | def received_in_ctn(self, local_ctn: int) -> Sequence[UpdateAddHtlc]: method sent_in_ctn (line 570) | def sent_in_ctn(self, remote_ctn: int) -> Sequence[UpdateAddHtlc]: method failed_in_ctn (line 580) | def failed_in_ctn(self, remote_ctn: int) -> Sequence[UpdateAddHtlc]: method get_feerate (line 594) | def get_feerate(self, subject: HTLCOwner, ctn: int) -> int: method get_feerate_in_oldest_unrevoked_ctx (line 620) | def get_feerate_in_oldest_unrevoked_ctx(self, subject: HTLCOwner) -> int: method get_feerate_in_latest_ctx (line 623) | def get_feerate_in_latest_ctx(self, subject: HTLCOwner) -> int: method get_feerate_in_next_ctx (line 626) | def get_feerate_in_next_ctx(self, subject: HTLCOwner) -> int: FILE: electrum/lnmsg.py class FailedToParseMsg (line 11) | class FailedToParseMsg(Exception): class UnknownMsgType (line 15) | class UnknownMsgType(FailedToParseMsg): pass class UnknownOptionalMsgType (line 16) | class UnknownOptionalMsgType(UnknownMsgType): pass class UnknownMandatoryMsgType (line 17) | class UnknownMandatoryMsgType(UnknownMsgType): pass class MalformedMsg (line 19) | class MalformedMsg(FailedToParseMsg): pass class UnknownMsgFieldType (line 20) | class UnknownMsgFieldType(MalformedMsg): pass class UnexpectedEndOfStream (line 21) | class UnexpectedEndOfStream(MalformedMsg): pass class FieldEncodingNotMinimal (line 22) | class FieldEncodingNotMinimal(MalformedMsg): pass class UnknownMandatoryTLVRecordType (line 23) | class UnknownMandatoryTLVRecordType(MalformedMsg): pass class MsgTrailingGarbage (line 24) | class MsgTrailingGarbage(MalformedMsg): pass class MsgInvalidFieldOrder (line 25) | class MsgInvalidFieldOrder(MalformedMsg): pass class UnexpectedFieldSizeForEncoder (line 26) | class UnexpectedFieldSizeForEncoder(MalformedMsg): pass function _num_remaining_bytes_to_read (line 29) | def _num_remaining_bytes_to_read(fd: io.BytesIO) -> int: function _assert_can_read_at_least_n_bytes (line 36) | def _assert_can_read_at_least_n_bytes(fd: io.BytesIO, n: int) -> None: function write_bigsize_int (line 44) | def write_bigsize_int(i: int) -> bytes: function read_bigsize_int (line 56) | def read_bigsize_int(fd: io.BytesIO) -> Optional[int]: function _read_primitive_field (line 92) | def _read_primitive_field( function _write_primitive_field (line 184) | def _write_primitive_field( function _read_tlv_record (line 277) | def _read_tlv_record(*, fd: io.BytesIO) -> Tuple[int, bytes]: function _write_tlv_record (line 285) | def _write_tlv_record(*, fd: io.BytesIO, tlv_type: int, tlv_val: bytes) ... function _resolve_field_count (line 293) | def _resolve_field_count(field_count_str: str, *, vars_dict: Mapping, al... function _parse_msgtype_intvalue_for_onion_wire (line 314) | def _parse_msgtype_intvalue_for_onion_wire(value: str) -> int: class LNSerializer (line 324) | class LNSerializer: method __init__ (line 326) | def __init__(self, *, name: str = 'peer_wire'): method write_field (line 398) | def write_field( method read_field (line 456) | def read_field( method write_tlv_stream (line 500) | def write_tlv_stream(self, *, fd: io.BytesIO, tlv_stream_name: str, **... method read_tlv_stream (line 530) | def read_tlv_stream(self, *, fd: io.BytesIO, tlv_stream_name: str) -> ... method encode_msg (line 578) | def encode_msg(self, msg_type: str, **kwargs) -> bytes: method decode_msg (line 614) | def decode_msg(self, data: bytes) -> Tuple[str, dict]: FILE: electrum/lnonion.py class UnsupportedOnionPacketVersion (line 54) | class UnsupportedOnionPacketVersion(Exception): pass class InvalidOnionMac (line 55) | class InvalidOnionMac(Exception): pass class InvalidOnionPubkey (line 56) | class InvalidOnionPubkey(Exception): pass class InvalidPayloadSize (line 57) | class InvalidPayloadSize(Exception): pass class OnionHopsDataSingle (line 61) | class OnionHopsDataSingle: method __post_init__ (line 68) | def __post_init__(self): method to_bytes (line 77) | def to_bytes(self) -> bytes: method from_fd (line 96) | def from_fd(cls, fd: io.BytesIO, *, tlv_stream_name: str = 'payload') ... method __repr__ (line 121) | def __repr__(self): class OnionPacket (line 126) | class OnionPacket: method __post_init__ (line 135) | def __post_init__(self): method to_bytes (line 142) | def to_bytes(self) -> bytes: method from_bytes (line 152) | def from_bytes(cls, b: bytes) -> 'OnionPacket': method onion_hash (line 163) | def onion_hash(self) -> bytes: function get_bolt04_onion_key (line 167) | def get_bolt04_onion_key(key_type: bytes, secret: bytes) -> bytes: function get_shared_secrets_along_route (line 174) | def get_shared_secrets_along_route(payment_path_pubkeys: Sequence[bytes], function get_blinded_node_id (line 193) | def get_blinded_node_id(node_id: bytes, shared_secret: bytes): function new_onion_packet (line 202) | def new_onion_packet( function encrypt_onionmsg_data_tlv (line 261) | def encrypt_onionmsg_data_tlv(*, shared_secret, **kwargs): function decrypt_onionmsg_data_tlv (line 275) | def decrypt_onionmsg_data_tlv(*, shared_secret: bytes, encrypted_recipie... function encrypt_hops_recipient_data (line 285) | def encrypt_hops_recipient_data( function calc_hops_data_for_payment (line 311) | def calc_hops_data_for_payment( function _generate_filler (line 354) | def _generate_filler(key_type: bytes, hops_data: Sequence[OnionHopsDataS... function generate_cipher_stream (line 382) | def generate_cipher_stream(stream_key: bytes, num_bytes: int) -> bytes: class ProcessedOnionPacket (line 388) | class ProcessedOnionPacket(NamedTuple): method amt_to_forward (line 395) | def amt_to_forward(self) -> Optional[int]: method outgoing_cltv_value (line 400) | def outgoing_cltv_value(self) -> Optional[int]: method next_chan_scid (line 405) | def next_chan_scid(self) -> Optional[ShortChannelID]: method total_msat (line 410) | def total_msat(self) -> Optional[int]: method payment_secret (line 414) | def payment_secret(self) -> Optional[bytes]: method _get_from_payload (line 417) | def _get_from_payload(self, k1: str, k2: str, res_type: type): function process_onion_packet (line 426) | def process_onion_packet( function compare_trampoline_onions (line 489) | def compare_trampoline_onions( class FailedToDecodeOnionError (line 538) | class FailedToDecodeOnionError(Exception): pass class OnionRoutingFailure (line 541) | class OnionRoutingFailure(Exception): method __init__ (line 543) | def __init__(self, code: Union[int, 'OnionFailureCode'], data: bytes): method __repr__ (line 547) | def __repr__(self): method to_bytes (line 550) | def to_bytes(self) -> bytes: method from_bytes (line 556) | def from_bytes(cls, failure_msg: bytes): method code_name (line 562) | def code_name(self) -> str: method decode_data (line 567) | def decode_data(self) -> Optional[Dict[str, Any]]: method to_wire_msg (line 574) | def to_wire_msg(self, onion_packet: OnionPacket, privkey: bytes, local... class OnionParsingError (line 580) | class OnionParsingError(OnionRoutingFailure): method __init__ (line 586) | def __init__(self, data: bytes): function construct_onion_error (line 590) | def construct_onion_error( function obfuscate_onion_error (line 615) | def obfuscate_onion_error(error_packet, their_public_key, our_onion_priv... function _decode_onion_error (line 623) | def _decode_onion_error(error_packet: bytes, payment_path_pubkeys: Seque... function decode_onion_error (line 655) | def decode_onion_error(error_packet: bytes, payment_path_pubkeys: Sequen... function get_failure_msg_from_onion_error (line 663) | def get_failure_msg_from_onion_error(decrypted_error_packet: bytes) -> O... class OnionFailureCode (line 677) | class OnionFailureCode(IntEnum): method from_int (line 706) | def from_int(cls, code: int) -> Union[int, 'OnionFailureCode']: FILE: electrum/lnpeer.py class Peer (line 69) | class Peer(Logger, EventListener): method __init__ (line 84) | def __init__( method send_message (line 138) | def send_message(self, message_name: str, **kwargs): method _store_raw_msg_if_local_update (line 149) | def _store_raw_msg_if_local_update(self, raw_msg: bytes, *, message_na... method maybe_set_initialized (line 162) | def maybe_set_initialized(self): method is_initialized (line 168) | def is_initialized(self) -> bool: method initialize (line 174) | async def initialize(self): method channels (line 192) | def channels(self) -> Dict[bytes, Channel]: method get_channel_by_id (line 195) | def get_channel_by_id(self, channel_id: bytes) -> Optional[Channel]: method diagnostic_name (line 204) | def diagnostic_name(self): method ping_if_required (line 208) | async def ping_if_required(self): method _process_message (line 214) | async def _process_message(self, message: bytes) -> None: method non_blocking_msg_handler (line 270) | def non_blocking_msg_handler(func): method on_warning (line 280) | def on_warning(self, payload): method on_error (line 288) | def on_error(self, payload): method send_warning (line 314) | def send_warning(self, channel_id: bytes, message: str = None, *, clos... method send_error (line 333) | def send_error(self, channel_id: bytes, message: str = None, *, force_... method on_ping (line 364) | def on_ping(self, payload): method on_pong (line 368) | def on_pong(self, payload): method wait_for_message (line 371) | async def wait_for_message(self, expected_name: str, channel_id: bytes): method on_init (line 383) | def on_init(self, payload): method on_node_announcement (line 413) | def on_node_announcement(self, payload): method on_channel_announcement (line 420) | def on_channel_announcement(self, payload): method on_channel_update (line 427) | def on_channel_update(self, payload): method on_query_channel_range (line 435) | def on_query_channel_range(self, payload): method on_query_short_channel_ids (line 445) | def on_query_short_channel_ids(self, payload): method on_gossip_timestamp_filter (line 455) | def on_gossip_timestamp_filter(self, payload): method set_gossip_timestamp_filter (line 459) | def set_gossip_timestamp_filter(self, payload: dict) -> None: method maybe_save_remote_update (line 471) | def maybe_save_remote_update(self, payload): method on_announcement_signatures (line 503) | def on_announcement_signatures(self, chan: Channel, payload): method handle_disconnect (line 518) | def handle_disconnect(func): method main_loop (line 535) | async def main_loop(self): method _process_gossip (line 549) | async def _process_gossip(self): method _send_own_gossip (line 578) | async def _send_own_gossip(self): method _should_forward_gossip (line 595) | def _should_forward_gossip(self) -> bool: method _forward_gossip (line 602) | async def _forward_gossip(self): method _handle_historical_gossip_request (line 627) | async def _handle_historical_gossip_request(self): method _send_gossip_messages (line 640) | async def _send_gossip_messages(self, messages: List[GossipForwardingM... method _query_gossip (line 652) | async def _query_gossip(self): method _is_valid_channel_range_query (line 672) | def _is_valid_channel_range_query(payload: dict) -> bool: method _is_valid_short_channel_id_query (line 681) | def _is_valid_short_channel_id_query(self, payload: dict) -> bool: method _send_reply_channel_range (line 693) | async def _send_reply_channel_range(self, payload: dict): method get_channel_range (line 733) | async def get_channel_range(self): method request_gossip (line 776) | def request_gossip(self, timestamp=0): method query_channel_range (line 793) | def query_channel_range(self, first_block, num_blocks): method decode_short_ids (line 802) | def decode_short_ids(encoded): method on_reply_channel_range (line 811) | async def on_reply_channel_range(self, payload): method _send_reply_short_channel_ids (line 827) | async def _send_reply_short_channel_ids(self, payload: dict): method get_short_channel_ids (line 851) | async def get_short_channel_ids(self, ids): method query_short_channel_ids (line 858) | def query_short_channel_ids(self, ids): method _message_loop (line 870) | async def _message_loop(self): method on_reply_short_channel_ids_end (line 891) | def on_reply_short_channel_ids_end(self, payload): method close_and_cleanup (line 894) | def close_and_cleanup(self): method is_shutdown_anysegwit (line 907) | def is_shutdown_anysegwit(self): method accepts_zeroconf (line 910) | def accepts_zeroconf(self): method is_upfront_shutdown_script (line 913) | def is_upfront_shutdown_script(self): method use_anchors (line 916) | def use_anchors(self) -> bool: method upfront_shutdown_script_from_payload (line 919) | def upfront_shutdown_script_from_payload(self, payload, msg_identifier... method temporarily_reserve_funding_tx_change_address (line 933) | def temporarily_reserve_funding_tx_change_address(func): method channel_establishment_flow (line 953) | async def channel_establishment_flow( method create_channel_storage (line 1194) | def create_channel_storage(self, channel_id, outpoint, local_config, r... method on_open_channel (line 1215) | async def on_open_channel(self, payload): method _cleanup_temp_channelids (line 1407) | def _cleanup_temp_channelids(self) -> None: method request_force_close (line 1416) | async def request_force_close(self, channel_id: bytes): method schedule_force_closing (line 1438) | def schedule_force_closing(self, channel_id: bytes): method on_channel_reestablish (line 1453) | async def on_channel_reestablish(self, chan: Channel, msg): method _send_channel_reestablish (line 1563) | def _send_channel_reestablish(self, chan: Channel): method reestablish_channel (line 1589) | async def reestablish_channel(self, chan: Channel): method send_channel_ready (line 1699) | def send_channel_ready(self, chan: Channel): method on_channel_ready (line 1722) | def on_channel_ready(self, chan: Channel, payload): method send_node_announcement (line 1742) | def send_node_announcement(self, alias:str, color_hex:str): method maybe_send_channel_announcement (line 1780) | def maybe_send_channel_announcement(self, chan: Channel): method maybe_send_channel_update (line 1797) | def maybe_send_channel_update(self, chan: Channel): method maybe_mark_open (line 1801) | def maybe_mark_open(self, chan: Channel): method mark_open (line 1808) | def mark_open(self, chan: Channel): method maybe_send_announcement_signatures (line 1832) | def maybe_send_announcement_signatures(self, chan: Channel, is_reply=F... method on_update_fail_htlc (line 1854) | def on_update_fail_htlc(self, chan: Channel, payload): method maybe_send_commitment (line 1865) | def maybe_send_commitment(self, chan: Channel) -> bool: method send_htlc (line 1886) | def send_htlc( method pay (line 1913) | def pay(self, *, method send_revoke_and_ack (line 1947) | def send_revoke_and_ack(self, chan: Channel) -> None: method on_commitment_signed (line 1959) | def on_commitment_signed(self, chan: Channel, payload) -> None: method on_update_fulfill_htlc (line 1982) | def on_update_fulfill_htlc(self, chan: Channel, payload): method on_update_fail_malformed_htlc (line 1994) | def on_update_fail_malformed_htlc(self, chan: Channel, payload): method on_update_add_htlc (line 2010) | def on_update_add_htlc(self, chan: Channel, payload): method _check_accepted_final_htlc (line 2038) | def _check_accepted_final_htlc( method _check_unfulfilled_htlc (line 2091) | def _check_unfulfilled_htlc( method _fulfill_htlc_set (line 2213) | def _fulfill_htlc_set(self, payment_key: str, preimage: bytes): method _fulfill_htlc (line 2244) | def _fulfill_htlc(self, chan: Channel, htlc_id: int, preimage: bytes): method _fail_htlc_set (line 2254) | def _fail_htlc_set( method fail_htlc (line 2313) | def fail_htlc(self, *, chan: Channel, htlc_id: int, error_bytes: bytes): method fail_malformed_htlc (line 2326) | def fail_malformed_htlc(self, *, chan: Channel, htlc_id: int, reason: ... method on_revoke_and_ack (line 2341) | def on_revoke_and_ack(self, chan: Channel, payload) -> None: method on_event_fee (line 2355) | async def on_event_fee(self, *args): method on_update_fee (line 2361) | def on_update_fee(self, chan: Channel, payload): method maybe_update_fee (line 2370) | def maybe_update_fee(self, chan: Channel): method close_channel (line 2441) | async def close_channel(self, chan_id: bytes): method on_shutdown (line 2458) | async def on_shutdown(self, chan: Channel, payload): method can_send_shutdown (line 2495) | def can_send_shutdown(self, chan: Channel, *, proposer: HTLCOwner) -> ... method send_shutdown (line 2514) | async def send_shutdown(self, chan: Channel): method get_shutdown_fee_range (line 2531) | def get_shutdown_fee_range(self, chan, closing_tx, is_local): method _shutdown (line 2563) | async def _shutdown(self, chan: Channel, payload, *, is_local: bool): method htlc_switch (line 2739) | async def htlc_switch(self): method _run_htlc_switch_iteration (line 2769) | def _run_htlc_switch_iteration(self): method _maybe_cleanup_received_htlcs_pending_removal (line 2871) | def _maybe_cleanup_received_htlcs_pending_removal(self) -> None: method wait_one_htlc_switch_iteration (line 2882) | async def wait_one_htlc_switch_iteration(self) -> None: method _log_htlc_fail_reason_cb (line 2894) | def _log_htlc_fail_reason_cb( method _log_htlc_set_fail_reason_cb (line 2905) | def _log_htlc_set_fail_reason_cb(self, mpp_set: ReceivedMPPStatus) -> ... method _check_unfulfilled_htlc_set (line 2926) | def _check_unfulfilled_htlc_set( method _check_final_mpp_set_state (line 3143) | def _check_final_mpp_set_state( method _parse_onion_packet (line 3200) | def _parse_onion_packet(self, onion_packet_hex: str) -> OnionPacket: method _process_incoming_onion_packet (line 3216) | def _process_incoming_onion_packet( method on_onion_message (line 3247) | def on_onion_message(self, payload): FILE: electrum/lnrater.py class NodeStats (line 50) | class NodeStats(NamedTuple): function weighted_sum (line 64) | def weighted_sum(numbers: List[float], weights: List[float]) -> float: class LNRater (line 71) | class LNRater(Logger): method __init__ (line 72) | def __init__(self, lnworker: 'LNWallet', network: 'Network'): method maybe_analyze_graph (line 88) | def maybe_analyze_graph(self): method analyze_graph (line 91) | def analyze_graph(self): method _maybe_analyze_graph (line 96) | async def _maybe_analyze_graph(self): method _analyze_graph (line 116) | async def _analyze_graph(self): method _collect_policies_by_node (line 126) | def _collect_policies_by_node(self): method _collect_purged_stats (line 133) | def _collect_purged_stats(self): method _rate_nodes (line 199) | def _rate_nodes(self): method suggest_node_channel_open (line 234) | def suggest_node_channel_open(self) -> Optional[bytes]: method suggest_peer (line 278) | def suggest_peer(self) -> Optional[bytes]: FILE: electrum/lnrouter.py class NoChannelPolicy (line 50) | class NoChannelPolicy(Exception): method __init__ (line 51) | def __init__(self, short_channel_id: bytes): class LNPathInconsistent (line 56) | class LNPathInconsistent(Exception): pass function fee_for_edge_msat (line 59) | def fee_for_edge_msat(forwarded_amount_msat: int, fee_base_msat: int, fe... class PathEdge (line 65) | class PathEdge: method node_id (line 71) | def node_id(self) -> bytes: class RouteEdge (line 76) | class RouteEdge(PathEdge): method fee_for_edge (line 82) | def fee_for_edge(self, amount_msat: int) -> int: method from_channel_policy (line 88) | def from_channel_policy( method has_feature_varonion (line 109) | def has_feature_varonion(self) -> bool: method is_trampoline (line 113) | def is_trampoline(self) -> bool: class TrampolineEdge (line 117) | class TrampolineEdge(RouteEdge): method is_trampoline (line 123) | def is_trampoline(self): function is_route_within_budget (line 132) | def is_route_within_budget( class LiquidityHint (line 162) | class LiquidityHint: method __init__ (line 169) | def __init__(self): method is_hint_invalid (line 179) | def is_hint_invalid(self) -> bool: method can_send_forward (line 184) | def can_send_forward(self): method can_send_forward (line 188) | def can_send_forward(self, amount): method can_send_backward (line 199) | def can_send_backward(self): method can_send_backward (line 203) | def can_send_backward(self, amount): method cannot_send_forward (line 211) | def cannot_send_forward(self): method cannot_send_forward (line 215) | def cannot_send_forward(self, amount): method cannot_send_backward (line 228) | def cannot_send_backward(self): method cannot_send_backward (line 232) | def cannot_send_backward(self, amount): method can_send (line 240) | def can_send(self, is_forward_direction: bool): method cannot_send (line 247) | def cannot_send(self, is_forward_direction: bool): method update_can_send (line 254) | def update_can_send(self, is_forward_direction: bool, amount: int): method update_cannot_send (line 261) | def update_cannot_send(self, is_forward_direction: bool, amount: int): method num_inflight_htlcs (line 268) | def num_inflight_htlcs(self, is_forward_direction: bool) -> int: method add_htlc (line 274) | def add_htlc(self, is_forward_direction: bool): method remove_htlc (line 280) | def remove_htlc(self, is_forward_direction: bool): method __repr__ (line 286) | def __repr__(self): class LiquidityHintMgr (line 291) | class LiquidityHintMgr: method __init__ (line 300) | def __init__(self): method get_hint (line 305) | def get_hint(self, channel_id: ShortChannelID) -> LiquidityHint: method update_can_send (line 313) | def update_can_send(self, node_from: bytes, node_to: bytes, channel_id... method update_cannot_send (line 318) | def update_cannot_send(self, node_from: bytes, node_to: bytes, channel... method add_htlc (line 323) | def add_htlc(self, node_from: bytes, node_to: bytes, channel_id: Short... method remove_htlc (line 328) | def remove_htlc(self, node_from: bytes, node_to: bytes, channel_id: Sh... method penalty (line 332) | def penalty(self, node_from: bytes, node_to: bytes, channel_id: ShortC... method reset_liquidity_hints (line 371) | def reset_liquidity_hints(self): method __repr__ (line 375) | def __repr__(self): class LNPathFinder (line 383) | class LNPathFinder(Logger): method __init__ (line 385) | def __init__(self, channel_db: ChannelDB): method _is_edge_blacklisted (line 392) | def _is_edge_blacklisted(self, short_channel_id: ShortChannelID, *, no... method add_edge_to_blacklist (line 401) | def add_edge_to_blacklist( method clear_blacklist (line 414) | def clear_blacklist(self): method update_liquidity_hints (line 418) | def update_liquidity_hints( method update_inflight_htlcs (line 439) | def update_inflight_htlcs(self, route: LNPaymentRoute, add_htlcs: bool): method _edge_cost (line 447) | def _edge_cost( method get_shortest_path_hops (line 526) | def get_shortest_path_hops( method find_path_for_payment (line 624) | def find_path_for_payment( method create_route_from_path (line 662) | def create_route_from_path( method find_route (line 701) | def find_route( FILE: electrum/lnsweep.py class SweepInfo (line 40) | class SweepInfo(NamedTuple): method is_anchor (line 49) | def is_anchor(self): method csv_delay (line 53) | def csv_delay(self): class KeepWatchingTXO (line 57) | class KeepWatchingTXO(NamedTuple): function sweep_their_ctx_watchtower (line 66) | def sweep_their_ctx_watchtower( function sweep_their_ctx_justice (line 188) | def sweep_their_ctx_justice( function sweep_their_htlctx_justice (line 220) | def sweep_their_htlctx_justice( function sweep_our_htlctx (line 279) | def sweep_our_htlctx( function sweep_our_ctx (line 290) | def sweep_our_ctx( function _maybe_reveal_preimage_for_htlc (line 477) | def _maybe_reveal_preimage_for_htlc( function extract_ctx_secrets (line 519) | def extract_ctx_secrets(chan: 'Channel', ctx: Transaction): function extract_funding_pubkeys_from_ctx (line 548) | def extract_funding_pubkeys_from_ctx(txin: TxInput) -> Tuple[bytes, bytes]: function sweep_their_ctx_to_remote_backup (line 561) | def sweep_their_ctx_to_remote_backup( function sweep_their_ctx (line 651) | def sweep_their_ctx( function tx_our_ctx_htlctx (line 817) | def tx_our_ctx_htlctx( function sweep_their_ctx_htlc (line 851) | def sweep_their_ctx_htlc( function sweep_their_ctx_to_remote (line 880) | def sweep_their_ctx_to_remote( function sweep_ctx_anchor (line 903) | def sweep_ctx_anchor(*, ctx: Transaction, multisig_key: Keypair) -> Opti... function sweep_ctx_to_local (line 924) | def sweep_ctx_to_local( function sweep_htlctx_output (line 950) | def sweep_htlctx_output( FILE: electrum/lntransport.py class LightningPeerConnectionClosed (line 22) | class LightningPeerConnectionClosed(Exception): pass class HandshakeFailed (line 23) | class HandshakeFailed(Exception): pass class ConnStringFormatError (line 24) | class ConnStringFormatError(Exception): pass class HandshakeState (line 31) | class HandshakeState(object): method __init__ (line 36) | def __init__(self, responder_pub): method update (line 43) | def update(self, data): function get_nonce_bytes (line 48) | def get_nonce_bytes(n): function aead_encrypt (line 55) | def aead_encrypt(key: bytes, nonce: int, associated_data: bytes, data: b... function aead_decrypt (line 63) | def aead_decrypt(key: bytes, nonce: int, associated_data: bytes, data: b... function get_bolt8_hkdf (line 71) | def get_bolt8_hkdf(salt, ikm): function act1_initiator_message (line 90) | def act1_initiator_message(hs, epriv, epub): function create_ephemeral_key (line 102) | def create_ephemeral_key() -> (bytes, bytes): function split_host_port (line 107) | def split_host_port(host_port: str) -> Tuple[str, str]: # port returned ... function extract_nodeid (line 127) | def extract_nodeid(connect_contents: str) -> Tuple[bytes, Optional[str]]: class LNPeerAddr (line 153) | class LNPeerAddr: method __init__ (line 156) | def __init__(self, host: str, port: int, pubkey: bytes): method __str__ (line 171) | def __str__(self): method from_str (line 175) | def from_str(cls, s): method __repr__ (line 180) | def __repr__(self): method net_addr (line 183) | def net_addr(self) -> NetAddress: method net_addr_str (line 186) | def net_addr_str(self) -> str: method is_onion (line 189) | def is_onion(self) -> bool: method __eq__ (line 192) | def __eq__(self, other): method __ne__ (line 199) | def __ne__(self, other): method __hash__ (line 202) | def __hash__(self): class LNTransportBase (line 206) | class LNTransportBase: method __init__ (line 212) | def __init__(self): method name (line 215) | def name(self) -> str: method _id_hash (line 221) | def _id_hash(self) -> str: method send_bytes (line 226) | def send_bytes(self, msg: bytes) -> None: method send_bytes_and_drain (line 234) | async def send_bytes_and_drain(self, msg: bytes) -> None: method read_messages (line 240) | async def read_messages(self): method rn (line 265) | def rn(self): method sn (line 273) | def sn(self): method init_counters (line 281) | def init_counters(self, ck): method close (line 288) | def close(self): method remote_pubkey (line 291) | def remote_pubkey(self) -> Optional[bytes]: class LNResponderTransport (line 295) | class LNResponderTransport(LNTransportBase): method __init__ (line 298) | def __init__(self, privkey: bytes, reader: StreamReader, writer: Strea... method name (line 305) | def name(self) -> str: method handshake (line 308) | async def handshake(self, **kwargs): method remote_pubkey (line 362) | def remote_pubkey(self) -> Optional[bytes]: class LNTransport (line 366) | class LNTransport(LNTransportBase): method __init__ (line 369) | def __init__(self, privkey: bytes, peer_addr: LNPeerAddr, *, method handshake (line 377) | async def handshake(self): method remote_pubkey (line 416) | def remote_pubkey(self) -> Optional[bytes]: FILE: electrum/lnurl.py class LNURLError (line 24) | class LNURLError(Exception): pass class UntrustedLNURLError (line 26) | class UntrustedLNURLError(LNURLError): method __init__ (line 27) | def __init__(self, message=""): function decode_lnurl (line 39) | def decode_lnurl(lnurl: str) -> str: function encode_lnurl (line 57) | def encode_lnurl(url: str) -> str: function _is_url_safe_enough_for_lnurl (line 70) | def _is_url_safe_enough_for_lnurl(url: str) -> bool: function _parse_lnurl_response_callback_url (line 79) | def _parse_lnurl_response_callback_url(lnurl_response: dict) -> str: class LNURL6Data (line 92) | class LNURL6Data(NamedTuple): class LNURL3Data (line 102) | class LNURL3Data(NamedTuple): function _request_lnurl (line 118) | async def _request_lnurl(url: str) -> dict: function _parse_lnurl6_response (line 139) | def _parse_lnurl6_response(lnurl_response: dict) -> LNURL6Data: function _parse_lnurl3_response (line 175) | def _parse_lnurl3_response(lnurl_response: dict) -> LNURL3Data: function request_lnurl (line 198) | async def request_lnurl(url: str) -> LNURLData: function try_resolve_lnurlpay (line 208) | async def try_resolve_lnurlpay(lnurl: Optional[str]) -> Optional[LNURL6D... function request_lnurl_withdraw_callback (line 218) | async def request_lnurl_withdraw_callback(callback_url: str, k1: str, bo... function callback_lnurl (line 229) | async def callback_lnurl(url: str, params: dict) -> dict: function lightning_address_to_url (line 252) | def lightning_address_to_url(address: str) -> Optional[str]: FILE: electrum/lnutil.py function channel_id_from_funding_tx (line 62) | def channel_id_from_funding_tx(funding_txid: str, funding_index: int) ->... function hex_to_bytes (line 68) | def hex_to_bytes(arg: Optional[Union[bytes, str]]) -> Optional[bytes]: function bytes_to_hex (line 72) | def bytes_to_hex(arg: Optional[bytes]) -> Optional[str]: function json_to_keypair (line 76) | def json_to_keypair(arg: Union['OnlyPubkeyKeypair', dict]) -> Union['Onl... function serialize_htlc_key (line 80) | def serialize_htlc_key(scid: bytes, htlc_id: int) -> str: function deserialize_htlc_key (line 84) | def deserialize_htlc_key(htlc_key: str) -> Tuple[bytes, int]: class OnlyPubkeyKeypair (line 90) | class OnlyPubkeyKeypair(StoredObject): class Keypair (line 95) | class Keypair(OnlyPubkeyKeypair): class ChannelConfig (line 100) | class ChannelConfig(StoredObject): method validate_params (line 118) | def validate_params(self, *, funding_sat: int, config: 'SimpleConfig',... method cross_validate_params (line 163) | def cross_validate_params( class LocalConfig (line 220) | class LocalConfig(ChannelConfig): method from_seed (line 228) | def from_seed(cls, **kwargs): method validate_params (line 260) | def validate_params(self, *, funding_sat: int, config: 'SimpleConfig',... class RemoteConfig (line 273) | class RemoteConfig(ChannelConfig): class FeeUpdate (line 280) | class FeeUpdate(StoredObject): class ChannelConstraints (line 288) | class ChannelConstraints(StoredObject): class ChannelBackupStorage (line 301) | class ChannelBackupStorage(StoredObject): method funding_outpoint (line 307) | def funding_outpoint(self): method channel_id (line 310) | def channel_id(self): class OnchainChannelBackupStorage (line 317) | class OnchainChannelBackupStorage(ChannelBackupStorage): class ImportedChannelBackupStorage (line 323) | class ImportedChannelBackupStorage(ChannelBackupStorage): method to_bytes (line 336) | def to_bytes(self) -> bytes: method from_bytes (line 357) | def from_bytes(s: bytes) -> 'ImportedChannelBackupStorage': method from_encrypted_str (line 403) | def from_encrypted_str(data: str, *, password: str) -> 'ImportedChanne... class ScriptHtlc (line 411) | class ScriptHtlc(NamedTuple): class Outpoint (line 419) | class Outpoint(StoredObject): method to_str (line 423) | def to_str(self): class HtlcLog (line 427) | class HtlcLog(NamedTuple): method formatted_tuple (line 437) | def formatted_tuple(self): class LightningError (line 458) | class LightningError(Exception): pass class UnableToDeriveSecret (line 459) | class UnableToDeriveSecret(LightningError): pass class RemoteMisbehaving (line 460) | class RemoteMisbehaving(LightningError): pass class NotFoundChanAnnouncementForUpdate (line 461) | class NotFoundChanAnnouncementForUpdate(Exception): pass class InvalidGossipMsg (line 464) | class InvalidGossipMsg(Exception): class PaymentFailure (line 468) | class PaymentFailure(UserFacingException): pass class PaymentSuccess (line 469) | class PaymentSuccess(Exception): pass class NoPathFound (line 472) | class NoPathFound(PaymentFailure): method __str__ (line 473) | def __str__(self): class FeeBudgetExceeded (line 477) | class FeeBudgetExceeded(PaymentFailure): method __str__ (line 478) | def __str__(self): class LNProtocolError (line 482) | class LNProtocolError(Exception): class LNProtocolWarning (line 486) | class LNProtocolWarning(Exception): class RevocationStore (line 534) | class RevocationStore: method __init__ (line 539) | def __init__(self, storage): method add_next_entry (line 546) | def add_next_entry(self, hsh): method retrieve_secret (line 558) | def retrieve_secret(self, index: int) -> bytes: function count_trailing_zeros (line 572) | def count_trailing_zeros(index): function shachain_derive (line 580) | def shachain_derive(element, to_index): class ShachainElement (line 593) | class ShachainElement(NamedTuple): method __str__ (line 597) | def __str__(self): method read (line 601) | def read(*x): function get_per_commitment_secret_from_seed (line 605) | def get_per_commitment_secret_from_seed(seed: bytes, i: int, bits: int =... function secret_to_pubkey (line 617) | def secret_to_pubkey(secret: int) -> bytes: function derive_pubkey (line 622) | def derive_pubkey(basepoint: bytes, per_commitment_point: bytes) -> bytes: function derive_privkey (line 627) | def derive_privkey(secret: int, per_commitment_point: bytes) -> int: function derive_blinded_pubkey (line 635) | def derive_blinded_pubkey(basepoint: bytes, per_commitment_point: bytes)... function derive_blinded_privkey (line 641) | def derive_blinded_privkey(basepoint_secret: bytes, per_commitment_secre... function derive_payment_basepoint (line 650) | def derive_payment_basepoint(static_payment_secret: bytes, funding_pubke... function derive_multisig_funding_key_if_we_opened (line 660) | def derive_multisig_funding_key_if_we_opened( function derive_multisig_funding_key_if_they_opened (line 684) | def derive_multisig_funding_key_if_they_opened( function make_htlc_tx_output (line 708) | def make_htlc_tx_output( function make_htlc_tx_witness (line 735) | def make_htlc_tx_witness( function make_htlc_tx_inputs (line 748) | def make_htlc_tx_inputs( function make_htlc_tx (line 767) | def make_htlc_tx(*, cltv_abs: int, inputs: List[PartialTxInput], output:... function make_offered_htlc (line 774) | def make_offered_htlc( function make_received_htlc (line 800) | def make_received_htlc( function witness_template_offered_htlc (line 827) | def witness_template_offered_htlc(anchors: bool): function witness_template_received_htlc (line 868) | def witness_template_received_htlc(anchors: bool): function make_htlc_output_witness_script (line 912) | def make_htlc_output_witness_script( function get_ordered_channel_configs (line 941) | def get_ordered_channel_configs( function possible_output_idxs_of_htlc_in_ctx (line 950) | def possible_output_idxs_of_htlc_in_ctx( function map_htlcs_to_ctx_output_idxs (line 981) | def map_htlcs_to_ctx_output_idxs( function make_htlc_tx_with_open_channel (line 1013) | def make_htlc_tx_with_open_channel( function make_funding_input (line 1065) | def make_funding_input( class HTLCOwner (line 1085) | class HTLCOwner(IntEnum): method inverted (line 1089) | def inverted(self) -> 'HTLCOwner': method __neg__ (line 1092) | def __neg__(self) -> 'HTLCOwner': class Direction (line 1097) | class Direction(IntEnum): function make_commitment_outputs (line 1109) | def make_commitment_outputs( function effective_htlc_tx_weight (line 1168) | def effective_htlc_tx_weight(success: bool, has_anchors: bool): function offered_htlc_trim_threshold_sat (line 1179) | def offered_htlc_trim_threshold_sat(*, dust_limit_sat: int, feerate: int... function received_htlc_trim_threshold_sat (line 1187) | def received_htlc_trim_threshold_sat(*, dust_limit_sat: int, feerate: in... function fee_for_htlc_output (line 1195) | def fee_for_htlc_output(*, feerate: int) -> int: function calc_fees_for_commitment_tx (line 1201) | def calc_fees_for_commitment_tx( function make_commitment (line 1227) | def make_commitment( function make_commitment_output_to_local_witness_script (line 1294) | def make_commitment_output_to_local_witness_script( function make_commitment_output_to_local_address (line 1316) | def make_commitment_output_to_local_address( function make_commitment_output_to_remote_witness_script (line 1322) | def make_commitment_output_to_remote_witness_script(remote_payment_pubke... function make_commitment_output_to_remote_address (line 1333) | def make_commitment_output_to_remote_address(remote_payment_pubkey: byte... function make_commitment_output_to_anchor_witness_script (line 1341) | def make_commitment_output_to_anchor_witness_script(funding_pubkey: byte... function make_commitment_output_to_anchor_address (line 1355) | def make_commitment_output_to_anchor_address(funding_pubkey: bytes) -> str: function sign_and_get_sig_string (line 1360) | def sign_and_get_sig_string(tx: PartialTransaction, local_config, remote... function funding_output_script (line 1367) | def funding_output_script(local_config: 'LocalConfig', remote_config: 'R... function funding_output_script_from_keys (line 1371) | def funding_output_script_from_keys(pubkey1: bytes, pubkey2: bytes) -> b... function get_obscured_ctn (line 1376) | def get_obscured_ctn(ctn: int, funder: bytes, fundee: bytes) -> int: function extract_ctn_from_tx (line 1381) | def extract_ctn_from_tx(tx: Transaction, txin_index: int, funder_payment... function extract_ctn_from_tx_and_chan (line 1390) | def extract_ctn_from_tx_and_chan(tx: Transaction, chan: 'AbstractChannel... function ctx_has_anchors (line 1398) | def ctx_has_anchors(tx: Transaction): class LnFeatureContexts (line 1406) | class LnFeatureContexts(enum.Flag): class LnFeatures (line 1421) | class LnFeatures(IntFlag): method validate_transitive_dependencies (line 1524) | def validate_transitive_dependencies(self) -> bool: method for_init_message (line 1540) | def for_init_message(self) -> 'LnFeatures': method for_node_announcement (line 1547) | def for_node_announcement(self) -> 'LnFeatures': method for_invoice (line 1554) | def for_invoice(self) -> 'LnFeatures': method for_channel_announcement (line 1561) | def for_channel_announcement(self) -> 'LnFeatures': method min_len (line 1576) | def min_len(self) -> int: method supports (line 1580) | def supports(self, feature: 'LnFeatures') -> bool: method get_names (line 1597) | def get_names(self) -> Sequence[str]: method __repr__ (line 1608) | def __repr__(self): method __str__ (line 1612) | def __str__(self): class ChannelType (line 1618) | class ChannelType(IntFlag): method discard_unknown_and_check (line 1625) | def discard_unknown_and_check(self) -> 'ChannelType': method check_combinations (line 1640) | def check_combinations(self): method complies_with_features (line 1648) | def complies_with_features(self, features: LnFeatures) -> bool: method to_bytes_minimal (line 1656) | def to_bytes_minimal(self): method name_minimal (line 1663) | def name_minimal(self): function get_ln_flag_pair_of_bit (line 1691) | def get_ln_flag_pair_of_bit(flag_bit: int) -> int: class GossipTimestampFilter (line 1703) | class GossipTimestampFilter: method __init__ (line 1704) | def __init__(self, first_timestamp: int, timestamp_range: int): method __str__ (line 1712) | def __str__(self): method in_range (line 1716) | def in_range(self, timestamp: int) -> bool: method from_payload (line 1720) | def from_payload(cls, payload) -> Optional['GossipTimestampFilter']: class GossipForwardingMessage (line 1731) | class GossipForwardingMessage: method __init__ (line 1732) | def __init__(self, method from_payload (line 1743) | def from_payload(cls, payload: dict) -> Optional['GossipForwardingMess... function list_enabled_ln_feature_bits (line 1754) | def list_enabled_ln_feature_bits(features: int) -> tuple[int, ...]: class IncompatibleOrInsaneFeatures (line 1768) | class IncompatibleOrInsaneFeatures(Exception): pass class UnknownEvenFeatureBits (line 1769) | class UnknownEvenFeatureBits(IncompatibleOrInsaneFeatures): pass class IncompatibleLightningFeatures (line 1770) | class IncompatibleLightningFeatures(IncompatibleOrInsaneFeatures): pass function ln_compare_features (line 1773) | def ln_compare_features(our_features: 'LnFeatures', their_features: int)... function validate_features (line 1807) | def validate_features(features: int) -> LnFeatures: function get_compressed_pubkey_from_bech32 (line 1829) | def get_compressed_pubkey_from_bech32(bech32_pubkey: str) -> bytes: function make_closing_tx (line 1846) | def make_closing_tx( class LnKeyFamily (line 1867) | class LnKeyFamily(IntEnum): function generate_keypair (line 1881) | def generate_keypair(node: BIP32Node, key_family: LnKeyFamily) -> Keypair: function generate_random_keypair (line 1888) | def generate_random_keypair() -> Keypair: class UpdateAddHtlc (line 1900) | class UpdateAddHtlc: method from_tuple (line 1909) | def from_tuple(amount_msat, rhash, cltv_abs, htlc_id, timestamp) -> 'U... method to_json (line 1917) | def to_json(self): method _validate (line 1921) | def _validate(self): method __post_init__ (line 1928) | def __post_init__(self): class RecvMPPResolution (line 1935) | class RecvMPPResolution(IntEnum): class ReceivedMPPHtlc (line 1963) | class ReceivedMPPHtlc(NamedTuple): method __repr__ (line 1968) | def __repr__(self): method from_tuple (line 1972) | def from_tuple(channel_id, htlc, unprocessed_onion) -> 'ReceivedMPPHtlc': class ReceivedMPPStatus (line 1981) | class ReceivedMPPStatus(NamedTuple): method get_first_htlc_timestamp (line 1990) | def get_first_htlc_timestamp(self) -> Optional[int]: method get_closest_cltv_abs (line 1993) | def get_closest_cltv_abs(self) -> Optional[int]: method get_payment_hash (line 1996) | def get_payment_hash(self) -> Optional[bytes]: method from_tuple (line 2006) | def from_tuple(resolution, htlc_list, parent_set_key=None) -> 'Receive... class OnionFailureCodeMetaFlag (line 2016) | class OnionFailureCodeMetaFlag(IntFlag): class PaymentFeeBudget (line 2023) | class PaymentFeeBudget(NamedTuple): method from_invoice_amount (line 2034) | def from_invoice_amount( method _calculate_fee_msat (line 2056) | def _calculate_fee_msat( method reverse_from_total_amount (line 2085) | def reverse_from_total_amount(cls, *, total_amount_msat: int, config: ... FILE: electrum/lnverifier.py class LNChannelVerifier (line 49) | class LNChannelVerifier(NetworkJobOnDefaultServer): method __init__ (line 56) | def __init__(self, network: 'Network', channel_db: 'ChannelDB'): method _reset (line 64) | def _reset(self): method add_new_channel_info (line 69) | def add_new_channel_info(self, short_channel_id: ShortChannelID, msg: ... method _run_tasks (line 78) | async def _run_tasks(self, *, taskgroup): method main (line 83) | async def main(self): method _verify_some_channels (line 88) | async def _verify_some_channels(self): method verify_channel (line 111) | async def verify_channel(self, block_height: int, short_channel_id: Sh... method _remove_channel_from_unverified_db (line 171) | def _remove_channel_from_unverified_db(self, short_channel_id: ShortCh... method _blacklist_short_channel_id (line 176) | def _blacklist_short_channel_id(self, short_channel_id: ShortChannelID... function verify_sig_for_channel_update (line 182) | def verify_sig_for_channel_update(chan_upd: dict, node_id: bytes) -> bool: FILE: electrum/lnwatcher.py class LNWatcher (line 22) | class LNWatcher(Logger, EventListener): method __init__ (line 24) | def __init__(self, lnworker: 'LNWallet'): method start_network (line 34) | def start_network(self, network: 'Network'): method stop (line 37) | def stop(self): method remove_callback (line 40) | def remove_callback(self, address: str) -> None: method add_callback (line 43) | def add_callback( method trigger_callbacks (line 60) | async def trigger_callbacks(self, *, requires_synchronizer: bool = True): method on_event_blockchain_updated (line 73) | async def on_event_blockchain_updated(self, *args): method on_event_adb_added_tx (line 77) | async def on_event_adb_added_tx(self, adb, tx_hash, tx): method on_event_adb_added_verified_tx (line 84) | async def on_event_adb_added_verified_tx(self, adb, tx_hash): method on_event_adb_set_up_to_date (line 90) | async def on_event_adb_set_up_to_date(self, adb): method add_channel (line 95) | def add_channel(self, chan: 'AbstractChannel') -> None: method check_onchain_situation (line 103) | async def check_onchain_situation(self, address: str, funding_outpoint... method diagnostic_name (line 132) | def diagnostic_name(self): method update_channel_state (line 135) | async def update_channel_state( method sweep_commitment_transaction (line 152) | async def sweep_commitment_transaction(self, funding_outpoint: str, cl... method get_pending_force_closes (line 218) | def get_pending_force_closes(self): method maybe_redeem (line 221) | def maybe_redeem(self, sweep_info: 'SweepInfo') -> bool: method maybe_extract_preimage (line 237) | def maybe_extract_preimage(self, chan: 'AbstractChannel', spender_tx: ... method maybe_add_accounting_address (line 249) | def maybe_add_accounting_address(self, spender_txid: str, sweep_info: ... method maybe_add_pending_forceclose (line 277) | def maybe_add_pending_forceclose( FILE: electrum/lnworker.py class PaymentDirection (line 113) | class PaymentDirection(IntEnum): class PaymentInfo (line 121) | class PaymentInfo: method expiration_ts (line 141) | def expiration_ts(self): method validate (line 144) | def validate(self): method __post_init__ (line 156) | def __post_init__(self): method db_key (line 160) | def db_key(self) -> str: method calc_db_key (line 164) | def calc_db_key(cls, *, payment_hash_hex: str, direction: lnutil.Direc... class SentHtlcInfo (line 171) | class SentHtlcInfo(NamedTuple): class ErrorAddingPeer (line 182) | class ErrorAddingPeer(Exception): pass class LNPeerManager (line 221) | class LNPeerManager(Logger, EventListener, NetworkRetryManager[LNPeerAdd... method __init__ (line 223) | def __init__( method diagnostic_name (line 251) | def diagnostic_name(self): method channel_db (line 256) | def channel_db(self) -> 'ChannelDB': method uses_trampoline (line 259) | def uses_trampoline(self) -> bool: method peers (line 263) | def peers(self) -> Mapping[bytes, Peer]: method channels_for_peer (line 268) | def channels_for_peer(self, node_id: bytes) -> Dict[bytes, Channel]: method get_peer_by_pubkey (line 271) | def get_peer_by_pubkey(self, pubkey: bytes) -> Optional[Peer]: method get_node_alias (line 274) | def get_node_alias(self, node_id: bytes) -> Optional[str]: method maybe_listen (line 288) | async def maybe_listen(self): method main_loop (line 315) | async def main_loop(self): method _maintain_connectivity (line 325) | async def _maintain_connectivity(self): method _add_peer (line 341) | async def _add_peer(self, host: str, port: int, node_id: bytes) -> Peer: method _add_peer_from_transport (line 356) | async def _add_peer_from_transport(self, *, node_id: bytes, transport:... method peer_closed (line 394) | def peer_closed(self, peer: Peer) -> None: method num_peers (line 405) | def num_peers(self) -> int: method is_our_lnwallet (line 408) | def is_our_lnwallet(self, node_id: bytes) -> bool: method start_network (line 416) | def start_network( method stop (line 433) | async def stop(self): method _add_peers_from_config (line 440) | def _add_peers_from_config(self): method is_good_peer (line 447) | def is_good_peer(self, peer: LNPeerAddr) -> bool: method on_peer_successfully_established (line 462) | def on_peer_successfully_established(self, peer: Peer) -> None: method _get_next_peers_to_try (line 474) | async def _get_next_peers_to_try(self) -> Sequence[LNPeerAddr]: method _get_peers_from_dns_seeds (line 522) | async def _get_peers_from_dns_seeds(self) -> Sequence[LNPeerAddr]: method choose_preferred_address (line 560) | def choose_preferred_address(self, addr_list: Sequence[Tuple[str, int,... method on_event_proxy_set (line 575) | def on_event_proxy_set(self, *args): method add_peer (line 581) | async def add_peer(self, connect_str: str) -> Peer: method reestablish_peer_for_given_channel (line 615) | async def reestablish_peer_for_given_channel(self, chan: Channel) -> N... method _reestablish_peer_for_given_channel (line 620) | async def _reestablish_peer_for_given_channel(self, chan: Channel) -> ... method reestablish_peer_for_zero_conf_trusted_node (line 645) | async def reestablish_peer_for_zero_conf_trusted_node(self) -> None: class LNGossip (line 652) | class LNGossip(Logger): method __init__ (line 661) | def __init__(self, config: 'SimpleConfig'): method features (line 682) | def features(self) -> 'LnFeatures': method network (line 686) | def network(self) -> Optional['Network']: method channel_db (line 690) | def channel_db(self) -> 'ChannelDB': method uses_trampoline (line 693) | def uses_trampoline(self) -> bool: method main_loop (line 696) | async def main_loop(self): method start_network (line 706) | def start_network(self, network: 'Network'): method stop (line 716) | async def stop(self): method maintain_db (line 720) | async def maintain_db(self): method _maintain_forwarding_gossip (line 728) | async def _maintain_forwarding_gossip(self): method get_forwarding_gossip (line 738) | async def get_forwarding_gossip(self) -> tuple[List[GossipForwardingMe... method add_new_ids (line 742) | async def add_new_ids(self, ids: Iterable[bytes]): method get_ids_to_query (line 750) | def get_ids_to_query(self) -> Sequence[bytes]: method get_sync_progress_estimate (line 758) | def get_sync_progress_estimate(self) -> Tuple[Optional[int], Optional[... method process_gossip (line 790) | async def process_gossip(self, chan_anns, node_anns, chan_upds): method is_synced (line 824) | def is_synced(self) -> bool: method wait_for_sync (line 830) | async def wait_for_sync(self, times_to_check: int = 3): method channels_for_peer (line 842) | def channels_for_peer(self, node_id: bytes) -> Dict[bytes, Channel]: class PaySession (line 846) | class PaySession(Logger): method __init__ (line 851) | def __init__( method diagnostic_name (line 891) | def diagnostic_name(self): method number_htlcs_inflight (line 896) | def number_htlcs_inflight(self) -> int: method maybe_raise_trampoline_fee (line 899) | def maybe_raise_trampoline_fee(self, htlc_log: HtlcLog): method handle_failed_trampoline_htlc (line 907) | def handle_failed_trampoline_htlc(self, *, htlc_log: HtlcLog, failure_... method wait_for_one_htlc_to_resolve (line 937) | async def wait_for_one_htlc_to_resolve(self) -> HtlcLog: method add_new_htlc (line 946) | def add_new_htlc(self, sent_htlc_info: SentHtlcInfo): method on_htlc_fail_get_fail_amt_to_propagate (line 961) | def on_htlc_fail_get_fail_amt_to_propagate(self, sent_htlc_info: SentH... method get_outstanding_amount_to_send (line 977) | def get_outstanding_amount_to_send(self) -> int: method can_be_deleted (line 980) | def can_be_deleted(self) -> bool: class LNWallet (line 990) | class LNWallet(Logger): method __init__ (line 999) | def __init__(self, wallet: 'Abstract_Wallet', xprv, *, features: LnFea... method subscribe_to_channels (line 1091) | def subscribe_to_channels(self): method has_deterministic_node_id (line 1097) | def has_deterministic_node_id(self) -> bool: method can_have_recoverable_channels (line 1100) | def can_have_recoverable_channels(self) -> bool: method has_recoverable_channels (line 1104) | def has_recoverable_channels(self) -> bool: method has_anchor_channels (line 1111) | def has_anchor_channels(self) -> bool: method features (line 1117) | def features(self) -> 'LnFeatures': method network (line 1121) | def network(self) -> Optional['Network']: method channel_db (line 1125) | def channel_db(self) -> 'ChannelDB': method uses_trampoline (line 1128) | def uses_trampoline(self) -> bool: method channels (line 1132) | def channels(self) -> Mapping[bytes, Channel]: method channel_backups (line 1138) | def channel_backups(self) -> Mapping[bytes, ChannelBackup]: method get_channel_objects (line 1143) | def get_channel_objects(self) -> Mapping[bytes, AbstractChannel]: method get_channel_by_id (line 1148) | def get_channel_by_id(self, channel_id: bytes) -> Optional[Channel]: method diagnostic_name (line 1151) | def diagnostic_name(self): method sync_with_remote_watchtower (line 1156) | async def sync_with_remote_watchtower(self): method get_watchtower_ctn (line 1180) | def get_watchtower_ctn(self, channel_point): method sync_channel_with_watchtower (line 1183) | async def sync_channel_with_watchtower(self, chan: Channel, watchtower): method main_loop (line 1194) | async def main_loop(self): method start_network (line 1204) | def start_network(self, network: 'Network'): method stop (line 1220) | async def stop(self): method wait_for_received_pending_htlcs_to_get_removed (line 1236) | async def wait_for_received_pending_htlcs_to_get_removed(self): method get_payments (line 1254) | def get_payments(self, *, status=None) -> Mapping[bytes, List[HTLCWith... method get_payment_value (line 1262) | def get_payment_value( method get_lightning_history (line 1284) | def get_lightning_history(self) -> Dict[str, LightningHistoryItem]: method get_groups_for_onchain_history (line 1367) | def get_groups_for_onchain_history(self) -> Dict[str, str]: method channel_peers (line 1399) | def channel_peers(self) -> List[bytes]: method channels_for_peer (line 1403) | def channels_for_peer(self, node_id: bytes) -> Dict[bytes, Channel]: method channel_state_changed (line 1408) | def channel_state_changed(self, chan: Channel): method save_channel (line 1416) | def save_channel(self, chan: Channel): method channel_by_txo (line 1423) | def channel_by_txo(self, txo: str) -> Optional[AbstractChannel]: method handle_onchain_state (line 1432) | async def handle_onchain_state(self, chan: Channel): method get_peer_by_static_jit_scid_alias (line 1465) | def get_peer_by_static_jit_scid_alias(self, scid_alias: bytes) -> Opti... method _scid_alias_of_node (line 1471) | def _scid_alias_of_node(self, nodeid: bytes) -> bytes: method get_static_jit_scid_alias (line 1475) | def get_static_jit_scid_alias(self) -> bytes: method open_channel_just_in_time (line 1479) | async def open_channel_just_in_time( method open_channel_with_peer (line 1542) | async def open_channel_with_peer( method _open_channel_coroutine (line 1571) | async def _open_channel_coroutine( method add_channel (line 1604) | def add_channel(self, chan: Channel): method add_new_channel (line 1609) | def add_new_channel(self, chan: Channel): method make_local_config_for_new_channel (line 1621) | def make_local_config_for_new_channel( method cb_data (line 1689) | def cb_data(self, node_id: bytes) -> bytes: method decrypt_cb_data (line 1692) | def decrypt_cb_data(self, encrypted_data: bytes, funding_address: str)... method encrypt_cb_data (line 1697) | def encrypt_cb_data(self, data: bytes, funding_address: str) -> bytes: method mktx_for_open_channel (line 1704) | def mktx_for_open_channel( method suggest_funding_amount (line 1730) | def suggest_funding_amount(self, amount_to_pay: int, coins: Sequence[P... method open_channel (line 1756) | def open_channel( method get_channel_by_short_id (line 1785) | def get_channel_by_short_id(self, short_channel_id: bytes) -> Optional... method can_pay_invoice (line 1803) | def can_pay_invoice(self, invoice: Invoice) -> bool: method pay_invoice (line 1808) | async def pay_invoice( method pay_to_node (line 1883) | async def pay_to_node( method _process_htlc_log (line 2006) | async def _process_htlc_log( method pay_to_route (line 2056) | async def pay_to_route( method handle_error_code_from_failed_htlc (line 2096) | def handle_error_code_from_failed_htlc( method _handle_chanupd_from_failed_htlc (line 2161) | def _handle_chanupd_from_failed_htlc( method _decode_channel_update_msg (line 2203) | def _decode_channel_update_msg(cls, chan_upd_msg: bytes) -> Optional[D... method _check_bolt11_invoice (line 2222) | def _check_bolt11_invoice(self, bolt11_invoice: str, *, amount_msat: i... method is_trampoline_peer (line 2246) | def is_trampoline_peer(self, node_id: bytes) -> bool: method suggest_peer (line 2256) | def suggest_peer(self) -> Optional[bytes]: method suggest_payment_splits (line 2262) | def suggest_payment_splits( method create_routes_for_payment (line 2310) | async def create_routes_for_payment( method create_route_for_single_htlc (line 2465) | def create_route_for_single_htlc( method _get_invoice_features (line 2546) | def _get_invoice_features(self, amount_msat: Optional[int]) -> LnFeatu... method clear_invoices_cache (line 2556) | def clear_invoices_cache(self): method get_bolt11_invoice (line 2559) | def get_bolt11_invoice( method get_payment_secret (line 2598) | def get_payment_secret(self, payment_hash): method _get_payment_key (line 2601) | def _get_payment_key(self, payment_hash: bytes) -> bytes: method create_payment_info (line 2609) | def create_payment_info( method bundle_payments (line 2637) | def bundle_payments(self, hash_list: Sequence[bytes]) -> None: method get_payment_bundle (line 2656) | def get_payment_bundle(self, payment_key: Union[bytes, str]) -> Sequen... method is_payment_bundle_complete (line 2669) | def is_payment_bundle_complete(self, any_payment_key: str) -> bool: method delete_payment_bundle (line 2688) | def delete_payment_bundle( method save_preimage (line 2706) | def save_preimage( method get_preimage (line 2729) | def get_preimage(self, payment_hash: bytes) -> Optional[bytes]: method get_preimage_hex (line 2739) | def get_preimage_hex(self, payment_hash: str) -> Optional[str]: method is_preimage_public (line 2743) | def is_preimage_public(self, payment_hash: bytes) -> bool: method get_payment_info (line 2756) | def get_payment_info(self, payment_hash: bytes, *, direction: lnutil.D... method add_payment_info_for_hold_invoice (line 2775) | def add_payment_info_for_hold_invoice( method register_hold_invoice (line 2794) | def register_hold_invoice(self, payment_hash: bytes, cb: Callable[[byt... method unregister_hold_invoice (line 2798) | def unregister_hold_invoice(self, payment_hash: bytes): method save_payment_info (line 2806) | def save_payment_info(self, info: PaymentInfo, *, write_to_disk: bool ... method update_or_create_mpp_with_received_htlc (line 2829) | def update_or_create_mpp_with_received_htlc( method set_mpp_resolution (line 2879) | def set_mpp_resolution(self, payment_key: str, new_resolution: RecvMPP... method set_htlc_set_error (line 2890) | def set_htlc_set_error( method get_mpp_resolution (line 2918) | def get_mpp_resolution(self, payment_hash: bytes) -> Optional[RecvMPPR... method is_complete_mpp (line 2923) | def is_complete_mpp(self, payment_hash: bytes) -> bool: method get_payment_mpp_amount_msat (line 2929) | def get_payment_mpp_amount_msat(self, payment_hash: bytes) -> Optional... method get_mpp_amounts (line 2937) | def get_mpp_amounts(self, payment_key: bytes) -> Optional[int]: method maybe_cleanup_mpp (line 2945) | def maybe_cleanup_mpp( method maybe_cleanup_forwarding (line 2972) | def maybe_cleanup_forwarding(self, payment_key_hex: str) -> None: method get_payment_status (line 2976) | def get_payment_status(self, payment_hash: bytes, *, direction: lnutil... method get_invoice_status (line 2980) | def get_invoice_status(self, invoice: BaseInvoice) -> int: method set_invoice_status (line 2992) | def set_invoice_status(self, key: str, status: int) -> None: method set_request_status (line 3004) | def set_request_status(self, payment_hash: bytes, status: int) -> None: method set_payment_status (line 3014) | def set_payment_status(self, payment_hash: bytes, status: int, *, dire... method is_forwarded_htlc (line 3022) | def is_forwarded_htlc(self, htlc_key) -> Optional[str]: method notify_upstream_peer (line 3029) | def notify_upstream_peer(self, htlc_key: str) -> None: method htlc_fulfilled (line 3043) | def htlc_fulfilled(self, chan: Channel, payment_hash: bytes, htlc_id: ... method htlc_failed (line 3082) | def htlc_failed( method calc_routing_hints_for_invoice (line 3162) | def calc_routing_hints_for_invoice(self, amount_msat: Optional[int], c... method delete_payment_info (line 3211) | def delete_payment_info(self, payment_hash_hex: str, *, direction: lnu... method get_balance (line 3221) | def get_balance(self, *, frozen=False) -> Decimal: method get_channels_for_sending (line 3227) | def get_channels_for_sending(self): method estimate_fee_reserve_for_total_amount (line 3233) | def estimate_fee_reserve_for_total_amount(self, amount_sat: int | Deci... method num_sats_can_send (line 3245) | def num_sats_can_send(self, deltas=None) -> Decimal: method get_channels_for_receiving (line 3273) | def get_channels_for_receiving( method num_sats_can_receive (line 3307) | def num_sats_can_receive(self, deltas=None) -> Decimal: method receive_requires_jit_channel (line 3331) | def receive_requires_jit_channel(self, amount_msat: Optional[int]) -> ... method can_get_zeroconf_channel (line 3344) | def can_get_zeroconf_channel(self) -> bool: method _suggest_channels_for_rebalance (line 3356) | def _suggest_channels_for_rebalance(self, direction, amount_sat) -> Se... method _suggest_rebalance (line 3380) | def _suggest_rebalance(self, direction, amount_sat): method num_sats_can_rebalance (line 3411) | def num_sats_can_rebalance(self, chan1, chan2): method suggest_rebalance_to_send (line 3419) | def suggest_rebalance_to_send(self, amount_sat): method suggest_rebalance_to_receive (line 3422) | def suggest_rebalance_to_receive(self, amount_sat): method suggest_swap_to_send (line 3425) | def suggest_swap_to_send(self, amount_sat, coins): method suggest_swap_to_receive (line 3449) | def suggest_swap_to_receive(self, amount_sat: int): method rebalance_channels (line 3458) | async def rebalance_channels(self, chan1: Channel, chan2: Channel, *, ... method can_receive_invoice (line 3477) | def can_receive_invoice(self, invoice: BaseInvoice) -> bool: method close_channel (line 3481) | async def close_channel(self, chan_id): method _force_close_channel (line 3488) | def _force_close_channel(self, chan_id: bytes) -> Transaction: method force_close_channel (line 3503) | async def force_close_channel(self, chan_id: bytes) -> str: method schedule_force_closing (line 3513) | def schedule_force_closing(self, chan_id: bytes) -> 'asyncio.Task[bool]': method remove_channel (line 3523) | def remove_channel(self, chan_id): method reestablish_peers_and_channels (line 3534) | async def reestablish_peers_and_channels(self): method current_target_feerate_per_kw (line 3552) | def current_target_feerate_per_kw(self, *, has_anchors: bool) -> Optio... method current_low_feerate_per_kw_srk_channel (line 3563) | def current_low_feerate_per_kw_srk_channel(self) -> Optional[int]: method create_channel_backup (line 3579) | def create_channel_backup(self, channel_id: bytes): method export_channel_backup (line 3603) | def export_channel_backup(self, channel_id): method request_force_close (line 3611) | async def request_force_close(self, channel_id: bytes, *, connect_str=... method import_channel_backup (line 3625) | def import_channel_backup(self, data): method has_conflicting_backup_with (line 3642) | def has_conflicting_backup_with(self, remote_node_id: bytes): method remove_channel_backup (line 3649) | def remove_channel_backup(self, channel_id): method _request_force_close_from_backup (line 3670) | async def _request_force_close_from_backup(self, channel_id: bytes): method maybe_add_backup_from_tx (line 3722) | def maybe_add_backup_from_tx(self, tx): method maybe_forward_htlc_set (line 3759) | async def maybe_forward_htlc_set( method _maybe_forward_htlc (line 3810) | async def _maybe_forward_htlc( method _maybe_forward_trampoline (line 3924) | async def _maybe_forward_trampoline( method _maybe_refuse_to_forward_htlc_that_corresponds_to_payreq_we_created (line 4050) | def _maybe_refuse_to_forward_htlc_that_corresponds_to_payreq_we_create... method create_onion_for_route (line 4066) | def create_onion_for_route( method save_forwarding_failure (line 4117) | def save_forwarding_failure( method get_forwarding_failure (line 4128) | def get_forwarding_failure(self, payment_key: str) -> Tuple[Optional[b... FILE: electrum/logging.py class LogFormatterForFiles (line 21) | class LogFormatterForFiles(logging.Formatter): method formatTime (line 23) | def formatTime(self, record, datefmt=None): method format (line 30) | def format(self, record): class LogFormatterForConsole (line 38) | class LogFormatterForConsole(logging.Formatter): method formatTime (line 40) | def formatTime(self, record, datefmt=None): method format (line 44) | def format(self, record): function _shorten_name_of_logrecord (line 55) | def _shorten_name_of_logrecord(record: logging.LogRecord) -> logging.Log... class TruncatingMemoryHandler (line 69) | class TruncatingMemoryHandler(logging.handlers.MemoryHandler): method __init__ (line 75) | def __init__(self): method flush (line 86) | def flush(self): method dump_to_target (line 96) | def dump_to_target(self, target: 'logging.Handler'): method emit (line 106) | def emit(self, record): method close (line 111) | def close(self) -> None: function _delete_old_logs (line 119) | def _delete_old_logs(path, *, num_files_keep: int, max_total_size: int): function _configure_file_logging (line 152) | def _configure_file_logging( function _configure_stderr_logging (line 187) | def _configure_stderr_logging(*, verbosity=None): function _process_verbosity_log_levels (line 206) | def _process_verbosity_log_levels(verbosity): class _CustomLogger (line 227) | class _CustomLogger(logging.getLoggerClass()): method __init__ (line 228) | def __init__(self, name, *args, **kwargs): method _log (line 233) | def _log(self, level, msg: str, *args, only_once: bool = False, **kwar... function get_logger (line 271) | def get_logger(name: str) -> _CustomLogger: class Logger (line 282) | class Logger: method __init__ (line 284) | def __init__(self): method __get_logger_for_obj (line 287) | def __get_logger_for_obj(self) -> logging.Logger: method diagnostic_name (line 302) | def diagnostic_name(self): function configure_logging (line 306) | def configure_logging(config: 'SimpleConfig', *, log_to_file: Optional[b... function get_logfile_path (line 342) | def get_logfile_path() -> Optional[pathlib.Path]: function describe_os_version (line 346) | def describe_os_version() -> str: function get_git_version (line 356) | def get_git_version() -> Optional[str]: FILE: electrum/lrucache.py class _DefaultSize (line 32) | class _DefaultSize: method __getitem__ (line 36) | def __getitem__(self, _): method __setitem__ (line 39) | def __setitem__(self, _, value): method pop (line 42) | def pop(self, _): class Cache (line 48) | class Cache(collections.abc.MutableMapping[_KT, _VT]): method __init__ (line 55) | def __init__(self, maxsize: int, getsizeof=None): method __repr__ (line 64) | def __repr__(self): method __getitem__ (line 72) | def __getitem__(self, key: _KT) -> _VT: method __setitem__ (line 78) | def __setitem__(self, key: _KT, value: _VT) -> None: method __delitem__ (line 94) | def __delitem__(self, key: _KT) -> None: method __contains__ (line 99) | def __contains__(self, key: _KT) -> bool: method __missing__ (line 102) | def __missing__(self, key: _KT): method __iter__ (line 105) | def __iter__(self): method __len__ (line 108) | def __len__(self): method get (line 111) | def get(self, key: _KT, default: _VT = None) -> _VT | None: method pop (line 117) | def pop(self, key: _KT, default=__marker) -> _VT: method setdefault (line 127) | def setdefault(self, key: _KT, default: _VT = None) -> _VT | None: method maxsize (line 135) | def maxsize(self) -> int: method currsize (line 140) | def currsize(self) -> int: method getsizeof (line 145) | def getsizeof(value) -> int: class LRUCache (line 150) | class LRUCache(Cache[_KT, _VT]): method __init__ (line 153) | def __init__(self, maxsize: int, getsizeof=None): method __getitem__ (line 157) | def __getitem__(self, key: _KT, cache_getitem=Cache.__getitem__) -> _V... method __setitem__ (line 163) | def __setitem__(self, key: _KT, value, cache_setitem=Cache.__setitem__... method __delitem__ (line 167) | def __delitem__(self, key: _KT, cache_delitem=Cache.__delitem__) -> None: method popitem (line 171) | def popitem(self) -> tuple[_KT, _VT]: method __update (line 180) | def __update(self, key: _KT) -> None: FILE: electrum/mnemonic.py function is_CJK (line 72) | def is_CJK(c: str) -> bool: function normalize_text (line 80) | def normalize_text(seed: str) -> str: function is_matching_seed (line 94) | def is_matching_seed(*, seed: str, seed_again: str) -> bool: class Wordlist (line 107) | class Wordlist(tuple): method __init__ (line 109) | def __init__(self, words: Sequence[str]): method index (line 114) | def index(self, word: str, start=None, stop=None) -> int: method __contains__ (line 120) | def __contains__(self, word: str) -> bool: method from_file (line 129) | def from_file(cls, filename: str) -> 'Wordlist': class Mnemonic (line 157) | class Mnemonic(Logger): method __init__ (line 161) | def __init__(self, lang: str = None): method mnemonic_to_seed (line 170) | def mnemonic_to_seed(cls, mnemonic: str, *, passphrase: Optional[str])... method mnemonic_encode (line 177) | def mnemonic_encode(self, i: int) -> str: method get_suggestions (line 186) | def get_suggestions(self, prefix: str) -> Iterator[str]: method mnemonic_decode (line 191) | def mnemonic_decode(self, seed: str) -> int: method make_seed (line 201) | def make_seed(self, *, seed_type: str = None, num_bits: int = None) ->... function is_new_seed (line 241) | def is_new_seed(x: str, prefix=version.SEED_PREFIX) -> bool: function is_old_seed (line 247) | def is_old_seed(seed: str) -> bool: function calc_seed_type (line 265) | def calc_seed_type(x: str) -> str: function can_seed_have_passphrase (line 283) | def can_seed_have_passphrase(seed: str) -> bool: function is_seed (line 300) | def is_seed(x: str) -> bool: function is_any_2fa_seed_type (line 304) | def is_any_2fa_seed_type(seed_type: str) -> bool: FILE: electrum/mpp_split.py class SplitConfig (line 21) | class SplitConfig(dict, Dict[Tuple[bytes, bytes], List[int]]): method number_parts (line 23) | def number_parts(self) -> int: method number_nonzero_channels (line 26) | def number_nonzero_channels(self) -> int: method number_nonzero_nodes (line 29) | def number_nonzero_nodes(self) -> int: method total_config_amount (line 33) | def total_config_amount(self) -> int: method is_any_amount_smaller_than_min_part_size (line 36) | def is_any_amount_smaller_than_min_part_size(self) -> bool: class SplitConfigRating (line 44) | class SplitConfigRating(NamedTuple): function split_amount_normal (line 49) | def split_amount_normal(total_amount: int, num_parts: int) -> List[int]: function remove_duplicates (line 64) | def remove_duplicates(configs: List[SplitConfig]) -> List[SplitConfig]: function remove_multiple_nodes (line 76) | def remove_multiple_nodes(configs: List[SplitConfig]) -> List[SplitConfig]: function remove_single_part_configs (line 80) | def remove_single_part_configs(configs: List[SplitConfig]) -> List[Split... function remove_single_channel_splits (line 84) | def remove_single_channel_splits(configs: List[SplitConfig]) -> List[Spl... function rate_config (line 90) | def rate_config( function suggest_splits (line 114) | def suggest_splits( FILE: electrum/network.py class ConnectionState (line 83) | class ConnectionState(IntEnum): function parse_servers (line 89) | def parse_servers(result: Sequence[Tuple[str, str, List[str]]]) -> Dict[... function filter_version (line 118) | def filter_version(servers): function filter_noonion (line 127) | def filter_noonion(servers): function filter_protocol (line 131) | def filter_protocol(hostmap, *, allowed_protocols: Iterable[str] = None)... function pick_random_server (line 144) | def pick_random_server(hostmap=None, *, allowed_protocols: Iterable[str], function is_valid_port (line 155) | def is_valid_port(ps: str): function is_valid_host (line 162) | def is_valid_host(ph: str): class ProxySettings (line 170) | class ProxySettings: method __init__ (line 175) | def __init__(self): method set_defaults (line 183) | def set_defaults(self): method serialize_proxy_cfgstr (line 186) | def serialize_proxy_cfgstr(self): method deserialize_proxy_cfgstr (line 189) | def deserialize_proxy_cfgstr(self, s: Optional[str], user: str = None,... method to_dict (line 219) | def to_dict(self): method from_config (line 230) | def from_config(cls, config: 'SimpleConfig') -> 'ProxySettings': method from_dict (line 239) | def from_dict(cls, d: dict) -> 'ProxySettings': method probe_tor (line 250) | def probe_tor(cls, on_finished: Callable[[str | None, int | None], Non... method __eq__ (line 267) | def __eq__(self, other): method __str__ (line 275) | def __str__(self): class NetworkParameters (line 279) | class NetworkParameters(NamedTuple): class BestEffortRequestFailed (line 286) | class BestEffortRequestFailed(NetworkException): pass class UntrustedServerReturnedError (line 289) | class UntrustedServerReturnedError(NetworkException): method __init__ (line 290) | def __init__(self, *, original_exception): method get_message_for_gui (line 293) | def get_message_for_gui(self) -> str: method get_untrusted_message (line 296) | def get_untrusted_message(self) -> str: method __str__ (line 301) | def __str__(self): method __repr__ (line 306) | def __repr__(self): class Network (line 315) | class Network(Logger, NetworkRetryManager[ServerAddr]): method __init__ (line 332) | def __init__(self, config: 'SimpleConfig', *, daemon: 'Daemon' = None): method has_internet_connection (line 407) | def has_internet_connection(self) -> bool: method has_channel_db (line 411) | def has_channel_db(self): method start_gossip (line 414) | def start_gossip(self): method stop_gossip (line 427) | async def stop_gossip(self, *, full_shutdown: bool = False): method run_from_another_thread (line 438) | def run_from_another_thread(cls, coro: 'Coroutine[Any, Any, T]', *, ti... method get_instance (line 445) | def get_instance() -> Optional["Network"]: method with_recent_servers_lock (line 451) | def with_recent_servers_lock(func): method _read_recent_servers (line 457) | def _read_recent_servers(self) -> List[ServerAddr]: method _save_recent_servers (line 470) | def _save_recent_servers(self): method _server_is_lagging (line 481) | async def _server_is_lagging(self) -> bool: method _set_status (line 492) | def _set_status(self, status): method is_connected (line 496) | def is_connected(self): method is_connecting (line 500) | def is_connecting(self): method get_connection_status_for_GUI (line 503) | def get_connection_status_for_GUI(self): method _request_server_info (line 511) | async def _request_server_info(self, interface: 'Interface'): method _request_fee_estimates (line 541) | async def _request_fee_estimates(self, interface): method is_fee_estimates_update_required (line 548) | def is_fee_estimates_update_required(self): method has_fee_etas (line 555) | def has_fee_etas(self): method has_fee_mempool (line 558) | def has_fee_mempool(self) -> bool: method requested_fee_estimates (line 561) | def requested_fee_estimates(self): method get_parameters (line 564) | def get_parameters(self) -> NetworkParameters: method _init_parameters_from_config (line 570) | def _init_parameters_from_config(self) -> None: method get_donation_address (line 584) | def get_donation_address(self): method get_interfaces (line 588) | def get_interfaces(self) -> List[ServerAddr]: method get_status (line 593) | def get_status(self): method get_fee_estimates (line 597) | def get_fee_estimates(self): method update_fee_estimates (line 613) | def update_fee_estimates(self, *, fee_est: Dict[int, int] = None): method get_servers (line 627) | def get_servers(self) -> Mapping[str, Mapping[str, str]]: method get_disconnected_server_addrs (line 662) | def get_disconnected_server_addrs(self) -> Sequence[ServerAddr]: method _get_next_server_to_try (line 687) | def _get_next_server_to_try(self) -> Optional[ServerAddr]: method _set_default_server (line 717) | def _set_default_server(self) -> None: method _set_proxy (line 736) | def _set_proxy(self, proxy: ProxySettings): method _detect_if_proxy_is_tor (line 749) | def _detect_if_proxy_is_tor(self) -> None: method set_parameters (line 764) | async def set_parameters(self, net_params: NetworkParameters): method _maybe_set_oneserver (line 815) | def _maybe_set_oneserver(self) -> None: method is_server_bookmarked (line 820) | def is_server_bookmarked(self, server: ServerAddr) -> bool: method set_server_bookmark (line 824) | def set_server_bookmark(self, server: ServerAddr, *, add: bool) -> None: method _switch_to_random_interface (line 836) | async def _switch_to_random_interface(self): method switch_lagging_interface (line 844) | async def switch_lagging_interface(self): method switch_unwanted_fork_interface (line 855) | async def switch_unwanted_fork_interface(self) -> None: method switch_to_interface (line 882) | async def switch_to_interface(self, server: ServerAddr): method _close_interface (line 926) | async def _close_interface(self, interface: Optional[Interface]): method _add_recent_server (line 945) | def _add_recent_server(self, server: ServerAddr) -> None: method connection_down (line 954) | async def connection_down(self, interface: Interface): method get_network_timeout_seconds (line 963) | def get_network_timeout_seconds(self, request_type=NetworkTimeout.Gene... method _run_new_interface (line 974) | async def _run_new_interface(self, server: ServerAddr): method check_interface_against_healthy_spread_of_connected_servers (line 1012) | def check_interface_against_healthy_spread_of_connected_servers(self, ... method best_effort_reliable (line 1038) | def best_effort_reliable(func): method catch_server_exceptions (line 1070) | def catch_server_exceptions(func): method get_merkle_for_transaction (line 1087) | async def get_merkle_for_transaction(self, tx_hash: str, tx_height: in... method broadcast_transaction (line 1093) | async def broadcast_transaction(self, tx: 'Transaction', *, timeout=No... method try_broadcasting (line 1099) | async def try_broadcasting(self, tx: 'Transaction', name: str) -> bool: method get_transaction (line 1111) | async def get_transaction(self, tx_hash: str, *, timeout=None) -> str: method get_history_for_scripthash (line 1118) | async def get_history_for_scripthash(self, sh: str) -> List[dict]: method listunspent_for_scripthash (line 1125) | async def listunspent_for_scripthash(self, sh: str) -> List[dict]: method get_balance_for_scripthash (line 1132) | async def get_balance_for_scripthash(self, sh: str) -> dict: method get_txid_from_txpos (line 1139) | async def get_txid_from_txpos(self, tx_height, tx_pos, merkle): method blockchain (line 1144) | def blockchain(self) -> Blockchain: method get_blockchains (line 1150) | def get_blockchains(self) -> Mapping[str, Sequence[Interface]]: method _set_preferred_chain (line 1160) | def _set_preferred_chain(self, chain: Optional[Blockchain]): method follow_chain_given_id (line 1173) | async def follow_chain_given_id(self, chain_id: str) -> None: method follow_chain_given_server (line 1189) | def follow_chain_given_server(self, server: ServerAddr) -> None: method get_server_height (line 1195) | def get_server_height(self) -> int: method get_local_height (line 1200) | def get_local_height(self) -> int: method export_checkpoints (line 1207) | def export_checkpoints(self, path): method _start (line 1215) | async def _start(self): method start (line 1242) | def start(self, jobs: Iterable = None): method stop (line 1253) | async def stop(self, *, full_shutdown: bool = True): method _ensure_there_is_a_main_interface (line 1273) | async def _ensure_there_is_a_main_interface(self): method _maintain_sessions (line 1284) | async def _maintain_sessions(self): method async_send_http_on_proxy (line 1314) | async def async_send_http_on_proxy( method send_http_on_proxy (line 1348) | def send_http_on_proxy(cls, method, url, **kwargs): method get_peers (line 1356) | async def get_peers(self): method send_multiple_requests (line 1362) | async def send_multiple_requests( method prune_offline_servers (line 1390) | async def prune_offline_servers(self, hostmap): FILE: electrum/old_mnemonic.py function mn_encode (line 1672) | def mn_encode(message: str) -> Sequence[str]: function mn_decode (line 1688) | def mn_decode(wlist: Sequence[str]) -> str: FILE: electrum/onion_message.py function now (line 49) | def now(): class NoRouteFound (line 66) | class NoRouteFound(Exception): method __init__ (line 67) | def __init__(self, *args, peer_address: 'LNPeerAddr' = None): function create_blinded_path (line 72) | def create_blinded_path( function blinding_privkey (line 125) | def blinding_privkey(privkey: bytes, blinding: bytes) -> bytes: function is_onion_message_node (line 137) | def is_onion_message_node(node_id: bytes, node_info: Optional['NodeInfo'... function create_onion_message_route_to (line 143) | def create_onion_message_route_to(lnwallet: 'LNWallet', node_id: bytes) ... function send_onion_message_to (line 176) | def send_onion_message_to( function get_blinded_reply_paths (line 367) | def get_blinded_reply_paths( class Timeout (line 405) | class Timeout(Exception): pass class OnionMessageManager (line 408) | class OnionMessageManager(Logger): class Request (line 428) | class Request(NamedTuple): method __init__ (line 433) | def __init__(self, lnwallet: 'LNWallet'): method start_network (line 443) | def start_network(self, *, network: 'Network') -> None: method main_loop (line 451) | async def main_loop(self) -> None: method stop (line 458) | async def stop(self) -> None: method process_forward_queue (line 462) | async def process_forward_queue(self) -> None: method submit_forward (line 493) | def submit_forward( method process_send_queue (line 505) | async def process_send_queue(self) -> None: method _remove_pending_message (line 537) | def _remove_pending_message(self, key: bytes) -> None: method submit_send (line 542) | def submit_send( method _wait_task (line 577) | async def _wait_task(self, key: bytes, future: asyncio.Future): method _send_pending_message (line 583) | def _send_pending_message(self, key: bytes) -> None: method _path_id_from_payload_and_key (line 605) | def _path_id_from_payload_and_key(self, payload: dict, key: bytes) -> ... method _get_request_for_path_id (line 609) | def _get_request_for_path_id(self, recipient_data: dict) -> Optional[R... method on_onion_message_received (line 622) | def on_onion_message_received(self, recipient_data: dict, payload: dic... method on_onion_message_received_reply (line 643) | def on_onion_message_received_reply(self, request: Request, recipient_... method on_onion_message_received_unsolicited (line 647) | def on_onion_message_received_unsolicited(self, recipient_data: dict, ... method on_onion_message_forward (line 676) | def on_onion_message_forward( method on_onion_message (line 726) | def on_onion_message(self, payload: dict) -> None: method process_onion_message_packet (line 742) | def process_onion_message_packet(self, blinding: bytes, onion_packet: ... FILE: electrum/payment_identifier.py function maybe_extract_bech32_lightning_payment_identifier (line 32) | def maybe_extract_bech32_lightning_payment_identifier(data: str) -> Opti... function remove_uri_prefix (line 42) | def remove_uri_prefix(data: str, *, prefix: str) -> str: class PaymentIdentifierState (line 55) | class PaymentIdentifierState(IntEnum): class PaymentIdentifierType (line 74) | class PaymentIdentifierType(IntEnum): class FieldsForGUI (line 90) | class FieldsForGUI(NamedTuple): class PaymentIdentifier (line 99) | class PaymentIdentifier(Logger): method __init__ (line 112) | def __init__(self, wallet: Optional['Abstract_Wallet'], text: str): method type (line 145) | def type(self): method set_state (line 148) | def set_state(self, state: 'PaymentIdentifierState'): method state (line 153) | def state(self): method need_resolve (line 156) | def need_resolve(self): method need_finalize (line 159) | def need_finalize(self): method need_merchant_notify (line 162) | def need_merchant_notify(self): method is_valid (line 165) | def is_valid(self): method is_available (line 168) | def is_available(self): method is_lightning (line 171) | def is_lightning(self): method is_onchain (line 174) | def is_onchain(self): method is_multiline (line 183) | def is_multiline(self): method is_multiline_max (line 186) | def is_multiline_max(self): method is_amount_locked (line 189) | def is_amount_locked(self): method is_error (line 209) | def is_error(self) -> bool: method get_error (line 212) | def get_error(self) -> str: method parse (line 215) | def parse(self, text: str): method resolve (line 309) | def resolve(self, *, on_finished: Callable[['PaymentIdentifier'], None... method _do_resolve (line 315) | async def _do_resolve(self, *, on_finished: Callable[['PaymentIdentifi... method finalize (line 375) | def finalize( method _do_finalize (line 387) | async def _do_finalize( method notify_merchant (line 433) | def notify_merchant( method _do_notify_merchant (line 447) | async def _do_notify_merchant( method get_onchain_outputs (line 472) | def get_onchain_outputs(self, amount): method _parse_as_multiline (line 487) | def _parse_as_multiline(self, text: str): method parse_address_and_amount (line 512) | def parse_address_and_amount(self, line: str) -> PartialTxOutput: method parse_output (line 523) | def parse_output(self, x: str) -> Tuple[Optional[bytes], bool]: method parse_script (line 538) | def parse_script(self, x: str) -> bytes: method parse_amount (line 549) | def parse_amount(self, x: str) -> Union[str, int]: method parse_address (line 561) | def parse_address(self, line: str): method _get_error_from_invoiceerror (line 568) | def _get_error_from_invoiceerror(self, e: 'InvoiceError') -> str: method get_fields_for_GUI (line 578) | def get_fields_for_GUI(self) -> FieldsForGUI: method _get_bolt11_fields (line 637) | def _get_bolt11_fields(self): method resolve_openalias (line 649) | async def resolve_openalias(self, key: str) -> Optional[dict]: method has_expired (line 664) | def has_expired(self): function invoice_from_payment_identifier (line 675) | def invoice_from_payment_identifier( function payment_identifier_from_invoice (line 705) | def payment_identifier_from_invoice( FILE: electrum/paymentrequest.py function load_ca_list (line 67) | def load_ca_list(): function get_payment_request (line 73) | async def get_payment_request(url: str) -> 'PaymentRequest': class PaymentRequest (line 113) | class PaymentRequest: method __init__ (line 115) | def __init__(self, data: bytes, *, error=None): method __str__ (line 124) | def __str__(self): method _parse (line 127) | def _parse(self, r: bytes): method verify (line 155) | async def verify(self) -> bool: method verify_x509 (line 183) | def verify_x509(self, paymntreq): method verify_dnssec (line 224) | async def verify_dnssec(self, pr): method has_expired (line 244) | def has_expired(self) -> Optional[bool]: method get_time (line 249) | def get_time(self): method get_expiration_date (line 252) | def get_expiration_date(self): method get_amount (line 255) | def get_amount(self): method get_address (line 258) | def get_address(self): method get_requestor (line 264) | def get_requestor(self): method get_verify_status (line 267) | def get_verify_status(self) -> str: method get_memo (line 270) | def get_memo(self): method get_name_for_export (line 273) | def get_name_for_export(self) -> Optional[str]: method get_outputs (line 278) | def get_outputs(self): method send_payment_and_receive_paymentack (line 281) | async def send_payment_and_receive_paymentack(self, raw_tx, refund_addr): function make_unsigned_request (line 320) | def make_unsigned_request(req: 'Invoice'): function sign_request_with_alias (line 348) | def sign_request_with_alias(pr, alias, alias_privkey): function verify_cert_chain (line 357) | def verify_cert_chain(chain): function check_ssl_config (line 410) | def check_ssl_config(config: 'SimpleConfig'): function sign_request_with_x509 (line 433) | def sign_request_with_x509(pr, key_path, cert_path): function serialize_request (line 451) | def serialize_request(req): # FIXME this is broken function make_request (line 462) | def make_request(config: 'SimpleConfig', req: 'Invoice'): FILE: electrum/pem.py function a2b_base64 (line 36) | def a2b_base64(s): function b2a_base64 (line 43) | def b2a_base64(b): function dePem (line 47) | def dePem(s, name): function dePemList (line 74) | def dePemList(s, name): function pem (line 112) | def pem(b, name): function pemSniff (line 133) | def pemSniff(inStr, name): function parse_private_key (line 138) | def parse_private_key(s): function _parsePKCS8 (line 150) | def _parsePKCS8(_bytes): function _parseSSLeay (line 167) | def _parseSSLeay(bytes): function bytesToNumber (line 171) | def bytesToNumber(s): function _parseASN1PrivateKey (line 175) | def _parseASN1PrivateKey(s): FILE: electrum/plot.py class NothingToPlotException (line 16) | class NothingToPlotException(Exception): method __str__ (line 17) | def __str__(self): function plot_history (line 21) | def plot_history(history): FILE: electrum/plugin.py class Plugins (line 73) | class Plugins(DaemonThread): method __init__ (line 81) | def __init__(self, config: SimpleConfig, gui_name: str = None, cmd_onl... method descriptions (line 104) | def descriptions(self): method find_directory_plugins (line 107) | def find_directory_plugins(self, pkg_path: str, external: bool): method exec_module_from_spec (line 148) | def exec_module_from_spec(spec, path: str): method find_plugins (line 168) | def find_plugins(self): method load_plugins (line 178) | def load_plugins(self): method _has_root_permissions (line 189) | def _has_root_permissions(self, path): method get_keyfile_path (line 192) | def get_keyfile_path(self, key_hex: Optional[str]) -> Tuple[str, str]: method try_auto_key_setup (line 211) | def try_auto_key_setup(self, pubkey_hex: str) -> bool: method try_auto_key_reset (line 227) | def try_auto_key_reset(self) -> bool: method _posix_plugin_key_creation_command (line 242) | def _posix_plugin_key_creation_command(self, pubkey_hex: str) -> str: method _get_macos_osascript_command (line 254) | def _get_macos_osascript_command(commands: List[str]) -> List[str]: method _run_win_regedit_as_admin (line 286) | def _run_win_regedit_as_admin(reg_exe_command: str) -> None: method _execute_commands_in_subprocess (line 337) | def _execute_commands_in_subprocess(commands: List[str]) -> None: method _write_key_to_root_file_linux (line 352) | def _write_key_to_root_file_linux(self, key_hex: str) -> None: method _delete_linux_plugin_keyfile (line 369) | def _delete_linux_plugin_keyfile(self) -> None: method _write_key_to_root_file_macos (line 385) | def _write_key_to_root_file_macos(self, key_hex: str) -> None: method _delete_macos_plugin_keyfile (line 396) | def _delete_macos_plugin_keyfile(self) -> None: method _write_key_to_regedit_windows (line 408) | def _write_key_to_regedit_windows(self, key_hex: str) -> None: method _delete_plugin_key_from_windows_registry (line 425) | def _delete_plugin_key_from_windows_registry(self) -> None: method create_new_key (line 442) | def create_new_key(self, password:str) -> str: method get_pubkey_bytes (line 449) | def get_pubkey_bytes(self) -> Tuple[Optional[bytes], Optional[bytes]]: method get_external_plugin_dir (line 487) | def get_external_plugin_dir(self) -> str: method download_external_plugin (line 492) | async def download_external_plugin(self, url: str) -> str: method read_manifest (line 508) | def read_manifest(self, path) -> dict: method zip_plugin_path (line 524) | def zip_plugin_path(self, name) -> str: method find_zip_plugins (line 533) | def find_zip_plugins(self, pkg_path: str, external: bool): method get (line 575) | def get(self, name): method count (line 578) | def count(self): method load_plugin (line 581) | def load_plugin(self, name) -> 'BasePlugin': method maybe_load_plugin_init_method (line 590) | def maybe_load_plugin_init_method(self, name: str) -> None: method load_plugin_by_name (line 611) | def load_plugin_by_name(self, name: str) -> 'BasePlugin': method close_plugin (line 638) | def close_plugin(self, plugin): method derive_privkey (line 641) | def derive_privkey(self, pw: str, salt:bytes) -> ECPrivkey: method uninstall (line 646) | def uninstall(self, name: str): method is_internal (line 654) | def is_internal(self, name) -> bool: method is_external (line 657) | def is_external(self, name) -> bool: method is_auto_loaded (line 660) | def is_auto_loaded(self, name): method is_installed (line 664) | def is_installed(self, name) -> bool: method is_authorized (line 668) | def is_authorized(self, name) -> bool: method authorize_plugin (line 686) | def authorize_plugin(self, name: str, filename, privkey: ECPrivkey): method enable (line 695) | def enable(self, name: str) -> 'BasePlugin': method disable (line 702) | def disable(self, name: str) -> None: method is_plugin_enabler_config_key (line 712) | def is_plugin_enabler_config_key(cls, key: str) -> bool: method is_available (line 715) | def is_available(self, name: str) -> bool: method get_hardware_support (line 728) | def get_hardware_support(self): method register_wallet_type (line 748) | def register_wallet_type(self, name, gui_good, wallet_type): method register_keystore (line 758) | def register_keystore(self, name, details): method get_plugin (line 768) | def get_plugin(self, name: str) -> 'BasePlugin': method is_plugin_zip (line 773) | def is_plugin_zip(self, name: str) -> bool: method get_metadata (line 779) | def get_metadata(self, name: str) -> Optional[dict]: method run (line 786) | def run(self): method read_file (line 792) | def read_file(self, name: str, filename: str) -> bytes: function get_file_hash256 (line 809) | def get_file_hash256(path: str) -> bytes: function hook (line 815) | def hook(func): function run_hook (line 820) | def run_hook(name, *args): class BasePlugin (line 838) | class BasePlugin(Logger): method __init__ (line 840) | def __init__(self, parent, config: 'SimpleConfig', name): method __str__ (line 852) | def __str__(self): method close (line 855) | def close(self): method on_close (line 870) | def on_close(self): method requires_settings (line 873) | def requires_settings(self) -> bool: method thread_jobs (line 876) | def thread_jobs(self): method is_enabled (line 879) | def is_enabled(self): method is_available (line 886) | def is_available(self): method can_user_disable (line 889) | def can_user_disable(self): method settings_widget (line 892) | def settings_widget(self, window): method settings_dialog (line 895) | def settings_dialog(self, window): method read_file (line 898) | def read_file(self, filename: str) -> bytes: method get_storage (line 901) | def get_storage(self, wallet: 'Abstract_Wallet') -> dict: class DeviceUnpairableError (line 907) | class DeviceUnpairableError(UserFacingException): pass class HardwarePluginLibraryUnavailable (line 908) | class HardwarePluginLibraryUnavailable(Exception): pass class CannotAutoSelectDevice (line 909) | class CannotAutoSelectDevice(Exception): pass class Device (line 912) | class Device(NamedTuple): class DeviceInfo (line 921) | class DeviceInfo(NamedTuple): method label_for_device_select (line 930) | def label_for_device_select(self) -> str: class HardwarePluginToScan (line 942) | class HardwarePluginToScan(NamedTuple): function run_in_hwd_thread (line 981) | def run_in_hwd_thread(func: Callable[[], T]) -> T: function runs_in_hwd_thread (line 990) | def runs_in_hwd_thread(func): function assert_runs_in_hwd_thread (line 997) | def assert_runs_in_hwd_thread(): class DeviceMgr (line 1002) | class DeviceMgr(ThreadJob): method __init__ (line 1033) | def __init__(self, config: SimpleConfig): method thread_jobs (line 1050) | def thread_jobs(self): method run (line 1054) | def run(self): method register_devices (line 1069) | def register_devices(self, device_pairs, *, plugin: 'HW_PluginBase'): method register_vendor_ids (line 1073) | def register_vendor_ids(self, vendor_ids: Iterable[int], *, plugin: 'H... method register_enumerate_func (line 1077) | def register_enumerate_func(self, func): method create_client (line 1082) | def create_client(self, device: 'Device', handler: Optional['HardwareH... method id_by_pairing_code (line 1095) | def id_by_pairing_code(self, pairing_code): method pairing_code_by_id (line 1099) | def pairing_code_by_id(self, id_): method unpair_pairing_code (line 1106) | def unpair_pairing_code(self, pairing_code): method unpair_id (line 1113) | def unpair_id(self, id_): method _close_client (line 1120) | def _close_client(self, id_): method _client_by_id (line 1129) | def _client_by_id(self, id_) -> Optional['HardwareClientBase']: method client_by_id (line 1136) | def client_by_id(self, id_, *, scan_now: bool = True) -> Optional['Har... method client_for_keystore (line 1145) | def client_for_keystore(self, plugin: 'HW_PluginBase', handler: Option... method client_by_pairing_code (line 1179) | def client_by_pairing_code( method force_pair_keystore (line 1197) | def force_pair_keystore( method list_pairable_device_infos (line 1234) | def list_pairable_device_infos( method select_device (line 1276) | def select_device(self, plugin: 'HW_PluginBase', handler: 'HardwareHan... method _scan_devices_with_hid (line 1349) | def _scan_devices_with_hid(self) -> List['Device']: method scan_devices (line 1372) | def scan_devices(self) -> Sequence['Device']: method version_info (line 1410) | def version_info(cls) -> Mapping[str, Optional[str]]: method trigger_pairings (line 1435) | def trigger_pairings( FILE: electrum/plugins/audio_modem/qt.py class Plugin (line 36) | class Plugin(BasePlugin): method __init__ (line 38) | def __init__(self, parent, config, name): method is_available (line 46) | def is_available(self): method requires_settings (line 49) | def requires_settings(self): method settings_dialog (line 52) | def settings_dialog(self, window, wallet): method transaction_dialog (line 76) | def transaction_dialog(self, dialog: 'TxDialog'): method scan_text_edit (line 87) | def scan_text_edit(self, parent): method show_text_edit (line 92) | def show_text_edit(self, parent): method _audio_interface (line 99) | def _audio_interface(self): method _send (line 103) | def _send(self, parent, blob): method _recv (line 117) | def _recv(self, parent): FILE: electrum/plugins/bitbox02/bitbox02.py class BitBox02NotInitialized (line 44) | class BitBox02NotInitialized(UserFacingException): class BitBox02Client (line 48) | class BitBox02Client(HardwareClientBase): method __init__ (line 50) | def __init__(self, handler: HardwareHandlerBase, device: Device, confi... method device_model_name (line 75) | def device_model_name(self) -> Optional[str]: method is_initialized (line 78) | def is_initialized(self) -> bool: method close (line 82) | def close(self): method has_usable_connection_with_device (line 88) | def has_usable_connection_with_device(self) -> bool: method get_soft_device_id (line 94) | def get_soft_device_id(self) -> Optional[str]: method pairing_dialog (line 104) | def pairing_dialog(self): method fail_if_not_initialized (line 192) | def fail_if_not_initialized(self) -> None: method coin_network_from_electrum_network (line 199) | def coin_network_from_electrum_network(self) -> int: method get_password_for_storage_encryption (line 205) | def get_password_for_storage_encryption(self) -> str: method get_xpub (line 221) | def get_xpub(self, bip32_path: str, xtype: str, *, display: bool = Fal... method label (line 263) | def label(self) -> str: method request_root_fingerprint_from_device (line 278) | def request_root_fingerprint_from_device(self) -> str: method is_pairable (line 286) | def is_pairable(self) -> bool: method btc_multisig_config (line 292) | def btc_multisig_config( method show_address (line 342) | def show_address( method _get_coin (line 383) | def _get_coin(self): method sign_transaction (line 387) | def sign_transaction( method sign_message (line 544) | def sign_message(self, keypath: str, message: bytes, script_type: str)... class BitBox02_KeyStore (line 571) | class BitBox02_KeyStore(Hardware_KeyStore): method __init__ (line 576) | def __init__(self, d: dict): method give_error (line 580) | def give_error(self, message: str | BaseException): method decrypt_message (line 588) | def decrypt_message(self, pubkey, message, password): method sign_message (line 593) | def sign_message(self, sequence, message, password, *, script_type=None): method sign_transaction (line 605) | def sign_transaction(self, tx: PartialTransaction, password: str): method show_address (line 624) | def show_address( class BitBox02Plugin (line 642) | class BitBox02Plugin(HW_PluginBase): method __init__ (line 649) | def __init__(self, parent: HW_PluginBase, config: SimpleConfig, name: ... method get_library_version (line 657) | def get_library_version(self): method create_client (line 669) | def create_client(self, device, handler) -> BitBox02Client: method show_address (line 673) | def show_address( method show_xpub (line 689) | def show_xpub(self, keystore: BitBox02_KeyStore): method create_device_from_hid_enumeration (line 696) | def create_device_from_hid_enumeration(self, d: dict, *, product_key) ... method wizard_entry_for_device (line 703) | def wizard_entry_for_device(self, device_info: 'DeviceInfo', *, new_wa... method extend_wizard (line 712) | def extend_wizard(self, wizard: 'NewWalletWizard'): FILE: electrum/plugins/bitbox02/qt.py class Plugin (line 23) | class Plugin(BitBox02Plugin, QtPluginBase): method create_handler (line 27) | def create_handler(self, window): method receive_menu (line 32) | def receive_menu(self, menu, addrs, wallet): method transaction_dialog_address_menu (line 38) | def transaction_dialog_address_menu(self, menu, addr, wallet): method show_xpub_button (line 43) | def show_xpub_button(self, mpk_text: ButtonsTextEdit, keystore): method extend_wizard (line 58) | def extend_wizard(self, wizard: 'QENewWalletWizard'): class BitBox02_Handler (line 69) | class BitBox02_Handler(QtHandlerBase): method __init__ (line 72) | def __init__(self, win): method name_multisig_account (line 75) | def name_multisig_account(self): method _name_multisig_account (line 79) | def _name_multisig_account(self): class WCBitbox02ScriptAndDerivation (line 106) | class WCBitbox02ScriptAndDerivation(WCScriptAndDerivation): method __init__ (line 107) | def __init__(self, parent, wizard): method on_ready (line 113) | def on_ready(self): method check_device (line 126) | def check_device(self): FILE: electrum/plugins/coldcard/cmdline.py class ColdcardCmdLineHandler (line 13) | class ColdcardCmdLineHandler(CmdLineHandler): method get_passphrase (line 15) | def get_passphrase(self, msg, confirm): method get_pin (line 18) | def get_pin(self, msg, *, show_strength=True): method prompt_auth (line 21) | def prompt_auth(self, msg): method yes_no_question (line 24) | def yes_no_question(self, msg): method stop (line 28) | def stop(self): method update_status (line 31) | def update_status(self, b): method finished (line 34) | def finished(self): class Plugin (line 37) | class Plugin(ColdcardPlugin): method init_keystore (line 41) | def init_keystore(self, keystore): method create_handler (line 46) | def create_handler(self, window): FILE: electrum/plugins/coldcard/coldcard.py class ElectrumColdcardDevice (line 47) | class ElectrumColdcardDevice(ColdcardDevice): method mitm_verify (line 49) | def mitm_verify(self, sig, expect_xpub): class CKCCClient (line 66) | class CKCCClient(HardwareClientBase): method __init__ (line 67) | def __init__(self, plugin, handler, dev_path, *, is_simulator=False): method device_model_name (line 91) | def device_model_name(self) -> Optional[str]: method get_soft_device_id (line 94) | def get_soft_device_id(self) -> Optional[str]: method __repr__ (line 100) | def __repr__(self): method verify_connection (line 105) | def verify_connection(self, expected_xfp: int, expected_xpub: str): method is_pairable (line 133) | def is_pairable(self): method close (line 138) | def close(self): method is_initialized (line 143) | def is_initialized(self): method label (line 146) | def label(self): method _get_ckcc_master_xpub_from_device (line 160) | def _get_ckcc_master_xpub_from_device(self): method has_usable_connection_with_device (line 173) | def has_usable_connection_with_device(self): method get_xpub (line 182) | def get_xpub(self, bip32_path, xtype): method ping_check (line 198) | def ping_check(self): method show_address (line 209) | def show_address(self, path, addr_fmt): method show_p2sh_address (line 214) | def show_p2sh_address(self, *args, **kws): method get_version (line 219) | def get_version(self): method sign_message_start (line 224) | def sign_message_start(self, path, msg, addr_fmt): method sign_message_poll (line 229) | def sign_message_poll(self): method sign_transaction_start (line 234) | def sign_transaction_start(self, raw_psbt: bytes, *, finalize: bool = ... method sign_transaction_poll (line 250) | def sign_transaction_poll(self): method download_file (line 255) | def download_file(self, length, checksum, file_number=1): class Coldcard_KeyStore (line 261) | class Coldcard_KeyStore(Hardware_KeyStore): method __init__ (line 267) | def __init__(self, d): method dump (line 276) | def dump(self): method get_xfp_int (line 282) | def get_xfp_int(self) -> int: method opportunistically_fill_in_missing_info_from_device (line 287) | def opportunistically_fill_in_missing_info_from_device(self, client: '... method get_client (line 293) | def get_client(self, *args, **kwargs): method give_error (line 304) | def give_error(self, message: str | BaseException): method wrap_busy (line 312) | def wrap_busy(func): method decrypt_message (line 322) | def decrypt_message(self, pubkey, message, password): method sign_message (line 326) | def sign_message(self, sequence, message, password, *, script_type=None): method sign_transaction (line 385) | def sign_transaction(self, tx, password): method _encode_txin_type (line 435) | def _encode_txin_type(txin_type): method show_address (line 446) | def show_address(self, sequence, txin_type): method show_p2sh_address (line 466) | def show_p2sh_address(self, M, script, xfp_paths, txin_type): class ColdcardPlugin (line 488) | class ColdcardPlugin(HW_PluginBase): method __init__ (line 499) | def __init__(self, parent, config, name): method get_library_version (line 509) | def get_library_version(self): method detect_simulator (line 520) | def detect_simulator(self): method create_client (line 536) | def create_client(self, device, handler): method get_client (line 549) | def get_client(self, keystore, force_pair=True, *, method export_ms_wallet (line 562) | def export_ms_wallet(wallet: Multisig_Wallet, fp, name): method show_address (line 590) | def show_address(self, wallet, address, keystore: 'Coldcard_KeyStore' ... method wizard_entry_for_device (line 626) | def wizard_entry_for_device(self, device_info: 'DeviceInfo', *, new_wa... method extend_wizard (line 633) | def extend_wizard(self, wizard: 'NewWalletWizard'): function xfp_int_from_xfp_bytes (line 651) | def xfp_int_from_xfp_bytes(fp_bytes: bytes) -> int: function xfp2str (line 655) | def xfp2str(xfp: int) -> str: FILE: electrum/plugins/coldcard/qt.py class Plugin (line 28) | class Plugin(ColdcardPlugin, QtPluginBase): method create_handler (line 32) | def create_handler(self, window): method trim_file_suffix (line 35) | def trim_file_suffix(self, path): method receive_menu (line 40) | def receive_menu(self, menu, addrs, wallet): method transaction_dialog_address_menu (line 47) | def transaction_dialog_address_menu(self, menu, addr, wallet): method wallet_info_buttons (line 52) | def wallet_info_buttons(self, main_window: 'ElectrumWindow', dialog): method import_multisig_wallet_to_cc (line 80) | def import_multisig_wallet_to_cc(self, main_window: 'ElectrumWindow', ... method export_multisig_setup (line 107) | def export_multisig_setup(self, main_window, wallet): method show_settings_dialog (line 122) | def show_settings_dialog(self, window, keystore): method extend_wizard (line 128) | def extend_wizard(self, wizard: 'QENewWalletWizard'): class Coldcard_Handler (line 139) | class Coldcard_Handler(QtHandlerBase): method __init__ (line 142) | def __init__(self, win): class CKCCSettingsDialog (line 146) | class CKCCSettingsDialog(WindowModalDialog): method __init__ (line 148) | def __init__(self, window: ElectrumWindow, plugin, keystore): method show_placeholders (line 220) | def show_placeholders(self, unclear_arg): method show_values (line 228) | def show_values(self, client): method start_upgrade (line 242) | def start_upgrade(self, client): FILE: electrum/plugins/digitalbitbox/cmdline.py class Plugin (line 5) | class Plugin(DigitalBitboxPlugin): method init_keystore (line 8) | def init_keystore(self, keystore): method create_handler (line 13) | def create_handler(self, window): FILE: electrum/plugins/digitalbitbox/digitalbitbox.py class DeviceErased (line 54) | class DeviceErased(UserFacingException): function to_hexstr (line 62) | def to_hexstr(s): function derive_keys (line 66) | def derive_keys(x): class DigitalBitbox_Client (line 78) | class DigitalBitbox_Client(HardwareClientBase): method __init__ (line 79) | def __init__(self, plugin, hidDevice): method device_model_name (line 88) | def device_model_name(self) -> Optional[str]: method close (line 92) | def close(self): method is_pairable (line 100) | def is_pairable(self): method is_initialized (line 103) | def is_initialized(self): method is_paired (line 106) | def is_paired(self): method has_usable_connection_with_device (line 109) | def has_usable_connection_with_device(self): method _get_xpub (line 116) | def _get_xpub(self, bip32_path: str): method get_xpub (line 121) | def get_xpub(self, bip32_path, xtype): method get_soft_device_id (line 140) | def get_soft_device_id(self): method dbb_has_password (line 143) | def dbb_has_password(self): method stretch_key (line 151) | def stretch_key(self, key: bytes): method backup_password_dialog (line 154) | def backup_password_dialog(self): method password_dialog (line 169) | def password_dialog(self, msg): method check_firmware_version (line 184) | def check_firmware_version(self): method check_device_dialog (line 193) | def check_device_dialog(self): method recover_or_erase_dialog (line 239) | def recover_or_erase_dialog(self): method seed_device_dialog (line 256) | def seed_device_dialog(self): method mobile_pairing_dialog (line 272) | def mobile_pairing_dialog(self): method dbb_generate_wallet (line 311) | def dbb_generate_wallet(self): method dbb_erase (line 319) | def dbb_erase(self): method dbb_load_backup (line 333) | def dbb_load_backup(self, show_msg=True): method hid_send_frame (line 359) | def hid_send_frame(self, data): method hid_read_frame (line 379) | def hid_read_frame(self): method hid_send_plain (line 395) | def hid_send_plain(self, msg): method hid_send_encrypt (line 417) | def hid_send_encrypt(self, msg): class DigitalBitbox_KeyStore (line 447) | class DigitalBitbox_KeyStore(Hardware_KeyStore): method __init__ (line 453) | def __init__(self, d): method give_error (line 457) | def give_error(self, message: str | BaseException): method decrypt_message (line 460) | def decrypt_message(self, pubkey, message, password): method sign_message (line 463) | def sign_message(self, sequence, message, password, *, script_type=None): method sign_transaction (line 522) | def sign_transaction(self, tx, password): class DigitalBitboxPlugin (line 668) | class DigitalBitboxPlugin(HW_PluginBase): method __init__ (line 677) | def __init__(self, parent, config, name): method get_dbb_device (line 685) | def get_dbb_device(self, device): method create_client (line 690) | def create_client(self, device, handler): method is_mobile_paired (line 699) | def is_mobile_paired(self): method comserver_post_notification (line 702) | def comserver_post_notification(self, payload, *, handler: 'HardwareHa... method get_client (line 718) | def get_client(self, keystore, force_pair=True, *, method show_address (line 727) | def show_address(self, wallet, address, keystore=None): method wizard_entry_for_device (line 750) | def wizard_entry_for_device(self, device_info: 'DeviceInfo', *, new_wa... method extend_wizard (line 757) | def extend_wizard(self, wizard: 'NewWalletWizard'): FILE: electrum/plugins/digitalbitbox/qt.py class Plugin (line 23) | class Plugin(DigitalBitboxPlugin, QtPluginBase): method create_handler (line 27) | def create_handler(self, window): method receive_menu (line 32) | def receive_menu(self, menu, addrs, wallet): method transaction_dialog_address_menu (line 43) | def transaction_dialog_address_menu(self, menu, addr, wallet): method extend_wizard (line 51) | def extend_wizard(self, wizard: 'QENewWalletWizard'): class DigitalBitbox_Handler (line 61) | class DigitalBitbox_Handler(QtHandlerBase): method __init__ (line 62) | def __init__(self, win): class WCDigitalBitboxScriptAndDerivation (line 66) | class WCDigitalBitboxScriptAndDerivation(WCScriptAndDerivation): method __init__ (line 69) | def __init__(self, parent, wizard): method on_ready (line 77) | def on_ready(self): method check_device (line 90) | def check_device(self): FILE: electrum/plugins/jade/cmdline.py class Plugin (line 5) | class Plugin(JadePlugin): method init_keystore (line 8) | def init_keystore(self, keystore): method create_handler (line 13) | def create_handler(self, window): FILE: electrum/plugins/jade/jade.py function _versiontuple (line 44) | def _versiontuple(v): function _is_multisig (line 47) | def _is_multisig(wallet): function _register_multisig_wallet (line 52) | def _register_multisig_wallet(wallet, keystore, address): function _http_request (line 82) | def _http_request(params): class Jade_Client (line 90) | class Jade_Client(HardwareClientBase): method _network (line 93) | def _network() -> str: method _convertAddrType (line 107) | def _convertAddrType(cls, addrType: str, multisig: bool) -> str: method __init__ (line 110) | def __init__(self, device: str, plugin: HW_PluginBase): method authenticate (line 130) | def authenticate(self): method is_pairable (line 138) | def is_pairable(self): method close (line 142) | def close(self): method is_initialized (line 147) | def is_initialized(self): method label (line 151) | def label(self) -> Optional[str]: method get_soft_device_id (line 154) | def get_soft_device_id(self): method device_model_name (line 157) | def device_model_name(self): method has_usable_connection_with_device (line 161) | def has_usable_connection_with_device(self): method get_xpub (line 172) | def get_xpub(self, bip32_path, xtype): method sign_message (line 184) | def sign_message(self, bip32_path_prefix, sequence, message): method sign_psbt (line 198) | def sign_psbt(self, psbt_bytes): method show_address (line 205) | def show_address(self, bip32_path_prefix, sequence, txin_type): method register_multisig (line 214) | def register_multisig(self, multisig_name, txin_type, sorted, threshol... method show_address_multi (line 220) | def show_address_multi(self, multisig_name, paths): class Jade_KeyStore (line 224) | class Jade_KeyStore(Hardware_KeyStore): method decrypt_message (line 230) | def decrypt_message(self, sequence, message, password): method sign_message (line 234) | def sign_message(self, sequence, message, password, *, script_type=None): method sign_transaction (line 244) | def sign_transaction(self, tx, password): method show_address (line 273) | def show_address(self, sequence, txin_type): method register_multisig (line 283) | def register_multisig(self, name, txin_type, sorted, threshold, signers): method show_address_multi (line 292) | def show_address_multi(self, multisig_name, paths): class JadePlugin (line 301) | class JadePlugin(HW_PluginBase): method enumerate_serial (line 312) | def enumerate_serial(self): method __init__ (line 349) | def __init__(self, parent, config, name): method get_library_version (line 359) | def get_library_version(self): method create_client (line 370) | def create_client(self, device, handler): method show_address (line 387) | def show_address(self, wallet, address, keystore=None): method wizard_entry_for_device (line 412) | def wizard_entry_for_device(self, device_info: 'DeviceInfo', *, new_wa... method extend_wizard (line 419) | def extend_wizard(self, wizard: 'NewWalletWizard'): FILE: electrum/plugins/jade/jadepy/jade.py function _hexlify (line 43) | def _hexlify(data): function generate_dump (line 127) | def generate_dump(): class JadeAPI (line 153) | class JadeAPI: method __init__ (line 170) | def __init__(self, jade): method __enter__ (line 174) | def __enter__(self): method __exit__ (line 178) | def __exit__(self, exc_type, exc, tb): method create_serial (line 187) | def create_serial(device=None, baud=None, timeout=None): method create_ble (line 216) | def create_ble(device_name=None, serial_number=None, method connect (line 257) | def connect(self): method disconnect (line 264) | def disconnect(self, drain=False): method drain (line 277) | def drain(self): method _get_result_or_raise_error (line 285) | def _get_result_or_raise_error(reply): method _jadeRpc (line 310) | def _jadeRpc(self, method, params=None, inputid=None, http_request_fn=... method ping (line 376) | def ping(self): method get_version_info (line 395) | def get_version_info(self, nonblocking=False): method add_entropy (line 412) | def add_entropy(self, entropy): method set_epoch (line 429) | def set_epoch(self, epoch=None): method logout (line 448) | def logout(self): method ota_update (line 461) | def ota_update(self, fwcmp, fwlen, chunksize, fwhash=None, patchlen=No... method run_remote_selfcheck (line 544) | def run_remote_selfcheck(self): method run_remote_gcov_dump (line 557) | def run_remote_gcov_dump(self): method capture_image_data (line 573) | def capture_image_data(self, check_qr=False): method scan_qr (line 594) | def scan_qr(self, image): method clean_reset (line 614) | def clean_reset(self): method set_mnemonic (line 626) | def set_mnemonic(self, mnemonic, passphrase=None, temporary_wallet=Fal... method set_seed (line 655) | def set_seed(self, seed): method get_bip85_bip39_entropy (line 674) | def get_bip85_bip39_entropy(self, num_words, index, pubkey): method set_pinserver (line 706) | def set_pinserver(self, urlA=None, urlB=None, pubkey=None, cert=None): method reset_pinserver (line 742) | def reset_pinserver(self, reset_details, reset_certificate): method auth_user (line 763) | def auth_user(self, network, http_request_fn=None, epoch=None): method register_otp (line 795) | def register_otp(self, otp_name, otp_uri): method get_otp_code (line 815) | def get_otp_code(self, otp_name, value_override=None): method get_xpub (line 838) | def get_xpub(self, network, path): method get_registered_multisigs (line 858) | def get_registered_multisigs(self): method get_registered_multisig (line 875) | def get_registered_multisig(self, multisig_name, as_file=False): method register_multisig (line 924) | def register_multisig(self, network, multisig_name, variant, sorted_ke... method register_multisig_file (line 974) | def register_multisig_file(self, multisig_file): method get_registered_descriptors (line 1001) | def get_registered_descriptors(self): method get_registered_descriptor (line 1016) | def get_registered_descriptor(self, descriptor_name): method register_descriptor (line 1037) | def register_descriptor(self, network, descriptor_name, descriptor_scr... method get_receive_address (line 1060) | def get_receive_address(self, *args, recovery_xpub=None, csv_blocks=0, method sign_message (line 1147) | def sign_message(self, path, message, use_ae_signatures=False, method sign_message_file (line 1192) | def sign_message_file(self, message_file): method get_identity_pubkey (line 1212) | def get_identity_pubkey(self, identity, curve, key_type, index=0): method get_identity_shared_key (line 1244) | def get_identity_shared_key(self, identity, curve, their_pubkey, index... method sign_identity (line 1274) | def sign_identity(self, identity, curve, challenge, index=0): method sign_attestation (line 1307) | def sign_attestation(self, challenge): method get_master_blinding_key (line 1336) | def get_master_blinding_key(self, only_if_silent=False): method get_blinding_key (line 1359) | def get_blinding_key(self, script, multisig_name=None): method get_shared_nonce (line 1380) | def get_shared_nonce(self, script, their_pubkey, include_pubkey=False,... method get_blinding_factor (line 1418) | def get_blinding_factor(self, hash_prevouts, output_index, bftype, mul... method get_commitments (line 1453) | def get_commitments(self, method _send_tx_inputs (line 1502) | def _send_tx_inputs(self, base_id, inputs, use_ae_signatures): method sign_liquid_tx (line 1597) | def sign_liquid_tx(self, network, txn, inputs, commitments, change, us... method sign_tx (line 1707) | def sign_tx(self, network, txn, inputs, change, use_ae_signatures=False): method sign_psbt (line 1779) | def sign_psbt(self, network, psbt): class JadeInterface (line 1824) | class JadeInterface: method __init__ (line 1845) | def __init__(self, impl): method __enter__ (line 1849) | def __enter__(self): method __exit__ (line 1853) | def __exit__(self, exc_type, exc, tb): method create_serial (line 1862) | def create_serial(device=None, baud=None, timeout=None): method create_ble (line 1896) | def create_ble(device_name=None, serial_number=None, method connect (line 1943) | def connect(self): method disconnect (line 1950) | def disconnect(self, drain=False): method drain (line 1966) | def drain(self): method build_request (line 1995) | def build_request(input_id, method, params=None): method serialise_cbor_request (line 2022) | def serialise_cbor_request(request): method write (line 2045) | def write(self, bytes_): method write_request (line 2064) | def write_request(self, request): method read (line 2078) | def read(self, n): method read_cbor_message (line 2092) | def read_cbor_message(self): method read_response (line 2140) | def read_response(self, long_timeout=False): method validate_reply (line 2166) | def validate_reply(request, reply): method make_rpc_call (line 2176) | def make_rpc_call(self, request, long_timeout=False): FILE: electrum/plugins/jade/jadepy/jade_error.py class JadeError (line 1) | class JadeError(Exception): method __init__ (line 14) | def __init__(self, code, message, data): method __repr__ (line 19) | def __repr__(self): method __str__ (line 23) | def __str__(self): FILE: electrum/plugins/jade/jadepy/jade_serial.py class JadeSerialImpl (line 23) | class JadeSerialImpl: method _get_first_compatible_device (line 30) | def _get_first_compatible_device(cls): method __init__ (line 41) | def __init__(self, device, baud, timeout): method connect (line 47) | def connect(self): method disconnect (line 68) | def disconnect(self): method write (line 80) | def write(self, bytes_): method read (line 84) | def read(self, n): FILE: electrum/plugins/jade/jadepy/jade_tcp.py class JadeTCPImpl (line 21) | class JadeTCPImpl: method isSupportedDevice (line 25) | def isSupportedDevice(cls, device): method __init__ (line 28) | def __init__(self, device, timeout): method connect (line 34) | def connect(self): method disconnect (line 49) | def disconnect(self): method write (line 56) | def write(self, bytes_): method read (line 60) | def read(self, n): FILE: electrum/plugins/jade/qt.py class Plugin (line 21) | class Plugin(JadePlugin, QtPluginBase): method create_handler (line 25) | def create_handler(self, window): method receive_menu (line 30) | def receive_menu(self, menu, addrs, wallet): method transaction_dialog_address_menu (line 39) | def transaction_dialog_address_menu(self, menu, addr, wallet): method extend_wizard (line 45) | def extend_wizard(self, wizard: 'QENewWalletWizard'): class Jade_Handler (line 56) | class Jade_Handler(QtHandlerBase): method __init__ (line 62) | def __init__(self, win): FILE: electrum/plugins/keepkey/client.py class KeepKeyClient (line 4) | class KeepKeyClient(KeepKeyClientBase, ProtocolMixin, BaseClient): method __init__ (line 5) | def __init__(self, transport, handler, plugin): method recovery_device (line 10) | def recovery_device(self, *args): FILE: electrum/plugins/keepkey/clientbase.py class GuiMixin (line 16) | class GuiMixin(object): method callback_Failure (line 32) | def callback_Failure(self, msg): method callback_ButtonRequest (line 44) | def callback_ButtonRequest(self, msg): method callback_PinMatrixRequest (line 51) | def callback_PinMatrixRequest(self, msg): method callback_PassphraseRequest (line 69) | def callback_PassphraseRequest(self, req): method callback_WordRequest (line 89) | def callback_WordRequest(self, msg): method callback_CharacterRequest (line 97) | def callback_CharacterRequest(self, msg): class KeepKeyClientBase (line 104) | class KeepKeyClientBase(HardwareClientBase, GuiMixin, Logger): method __init__ (line 106) | def __init__(self, handler, plugin, proto): method __str__ (line 119) | def __str__(self): method label (line 122) | def label(self): method get_soft_device_id (line 125) | def get_soft_device_id(self): method is_initialized (line 128) | def is_initialized(self): method is_pairable (line 131) | def is_pairable(self): method has_usable_connection_with_device (line 135) | def has_usable_connection_with_device(self): method used (line 143) | def used(self): method prevent_timeouts (line 146) | def prevent_timeouts(self): method timeout (line 150) | def timeout(self, cutoff): method expand_path (line 157) | def expand_path(n): method cancel (line 161) | def cancel(self): method i4b (line 165) | def i4b(self, x): method get_xpub (line 172) | def get_xpub(self, bip32_path, xtype): method toggle_passphrase (line 184) | def toggle_passphrase(self): method change_label (line 193) | def change_label(self, label): method change_homescreen (line 198) | def change_homescreen(self, homescreen): method set_pin (line 203) | def set_pin(self, remove): method clear_session (line 213) | def clear_session(self): method get_public_node (line 225) | def get_public_node(self, address_n, creating): method close (line 230) | def close(self): method firmware_version (line 237) | def firmware_version(self): method atleast_version (line 241) | def atleast_version(self, major, minor=0, patch=0): method wrapper (line 245) | def wrapper(func): method wrap_methods (line 261) | def wrap_methods(cls): FILE: electrum/plugins/keepkey/cmdline.py class Plugin (line 5) | class Plugin(KeepKeyPlugin): method init_keystore (line 8) | def init_keystore(self, keystore): method create_handler (line 13) | def create_handler(self, window): FILE: electrum/plugins/keepkey/keepkey.py class KeepKey_KeyStore (line 26) | class KeepKey_KeyStore(Hardware_KeyStore): method decrypt_message (line 32) | def decrypt_message(self, sequence, message, password): method sign_message (line 36) | def sign_message(self, sequence, message, password, *, script_type=None): method sign_transaction (line 44) | def sign_transaction(self, tx, password): class KeepKeyPlugin (line 58) | class KeepKeyPlugin(HW_PluginBase): method __init__ (line 73) | def __init__(self, parent, config, name): method enumerate (line 95) | def enumerate(self): method _dev_to_str (line 109) | def _dev_to_str(dev: "usb1.USBDevice") -> str: method hid_transport (line 113) | def hid_transport(self, pair): method webusb_transport (line 118) | def webusb_transport(self, device): method _try_hid (line 125) | def _try_hid(self, device): method _try_webusb (line 141) | def _try_webusb(self, device): method create_client (line 150) | def create_client(self, device, handler): method get_client (line 185) | def get_client(self, keystore, force_pair=True, *, method get_coin_name (line 195) | def get_coin_name(self): method _initialize_device (line 199) | def _initialize_device(self, settings, method, device_id, handler): method _make_node_path (line 227) | def _make_node_path(self, xpub: str, address_n: Sequence[int]): method get_keepkey_input_script_type (line 238) | def get_keepkey_input_script_type(self, electrum_txin_type: str): method get_keepkey_output_script_type (line 249) | def get_keepkey_output_script_type(self, electrum_txin_type: str): method sign_transaction (line 261) | def sign_transaction(self, keystore, tx: PartialTransaction, prev_tx): method show_address (line 273) | def show_address(self, wallet, address, keystore=None): method tx_inputs (line 297) | def tx_inputs(self, tx: Transaction, *, for_sig=False, keystore: 'Keep... method _make_multisig (line 340) | def _make_multisig(self, desc: descriptor.MultisigDescriptor): method tx_outputs (line 353) | def tx_outputs(self, tx: PartialTransaction, *, keystore: 'KeepKey_Key... method electrum_tx_to_txtype (line 406) | def electrum_tx_to_txtype(self, tx: Optional[Transaction]): method get_tx (line 423) | def get_tx(self, tx_hash): method wizard_entry_for_device (line 427) | def wizard_entry_for_device(self, device_info: 'DeviceInfo', *, new_wa... method extend_wizard (line 434) | def extend_wizard(self, wizard: 'NewWalletWizard'): FILE: electrum/plugins/keepkey/qt.py class CharacterButton (line 56) | class CharacterButton(QPushButton): method __init__ (line 57) | def __init__(self, text=None): method keyPressEvent (line 60) | def keyPressEvent(self, event): class CharacterDialog (line 64) | class CharacterDialog(WindowModalDialog): method __init__ (line 66) | def __init__(self, parent): method refresh (line 102) | def refresh(self): method is_valid_alpha_space (line 112) | def is_valid_alpha_space(self, key): method process_key (line 122) | def process_key(self, key): method keyPressEvent (line 133) | def keyPressEvent(self, event): method get_char (line 138) | def get_char(self, word_pos, character_pos): class QtHandler (line 146) | class QtHandler(QtHandlerBase): method __init__ (line 151) | def __init__(self, win, pin_matrix_widget_class, device): method get_char (line 159) | def get_char(self, msg): method _close_char_dialog (line 168) | def _close_char_dialog(self): method get_pin (line 173) | def get_pin(self, msg, *, show_strength=True): method pin_dialog (line 179) | def pin_dialog(self, msg, show_strength): method update_character_dialog (line 193) | def update_character_dialog(self, msg): class QtPlugin (line 200) | class QtPlugin(QtPluginBase): method receive_menu (line 207) | def receive_menu(self, menu, addrs, wallet): method transaction_dialog_address_menu (line 214) | def transaction_dialog_address_menu(self, menu, addr, wallet): method show_settings_dialog (line 217) | def show_settings_dialog(self, window, keystore): function clean_text (line 227) | def clean_text(widget): class KeepkeyInitLayout (line 232) | class KeepkeyInitLayout(QVBoxLayout): method __init__ (line 235) | def __init__(self, method, device): method get_settings (line 304) | def get_settings(self): class Plugin (line 315) | class Plugin(KeepKeyPlugin, QtPlugin): method create_handler (line 319) | def create_handler(self, window): method pin_matrix_widget_class (line 323) | def pin_matrix_widget_class(self): method extend_wizard (line 327) | def extend_wizard(self, wizard: 'QENewWalletWizard'): class SettingsDialog (line 340) | class SettingsDialog(WindowModalDialog): method __init__ (line 345) | def __init__(self, window, plugin, keystore, device_id): class WCKeepkeyInitMethod (line 602) | class WCKeepkeyInitMethod(WalletWizardComponent): method __init__ (line 603) | def __init__(self, parent, wizard): method on_ready (line 606) | def on_ready(self): method apply (line 630) | def apply(self): class WCKeepkeyInitParams (line 635) | class WCKeepkeyInitParams(WalletWizardComponent): method __init__ (line 636) | def __init__(self, parent, wizard): method on_ready (line 641) | def on_ready(self): method on_settings_valid_changed (line 652) | def on_settings_valid_changed(self, is_valid: bool): method apply (line 655) | def apply(self): class WCKeepkeyInit (line 660) | class WCKeepkeyInit(WalletWizardComponent, Logger): method __init__ (line 661) | def __init__(self, parent, wizard): method on_ready (line 671) | def on_ready(self): method apply (line 699) | def apply(self): FILE: electrum/plugins/labels/__init__.py function push (line 36) | async def push(self: 'Commands', plugin: 'LabelsPlugin' = None, wallet=N... function pull (line 42) | async def pull(self: 'Commands', plugin: 'LabelsPlugin' = None, wallet=N... FILE: electrum/plugins/labels/cmdline.py class Plugin (line 29) | class Plugin(LabelsPlugin): method load_wallet (line 32) | def load_wallet(self, wallet, window): method on_pulled (line 35) | def on_pulled(self, wallet): FILE: electrum/plugins/labels/labels.py class ErrorConnectingServer (line 43) | class ErrorConnectingServer(Exception): method __init__ (line 44) | def __init__(self, reason: Union[str, Exception] = None): method __str__ (line 47) | def __str__(self): class LabelsPlugin (line 55) | class LabelsPlugin(BasePlugin): method __init__ (line 57) | def __init__(self, parent, config, name): method encode (line 62) | def encode(self, wallet: 'Abstract_Wallet', msg: str) -> str: method decode (line 68) | def decode(self, wallet: 'Abstract_Wallet', message: str) -> str: method get_nonce (line 74) | def get_nonce(self, wallet: 'Abstract_Wallet'): method set_nonce (line 82) | def set_nonce(self, wallet: 'Abstract_Wallet', nonce): method set_label (line 87) | def set_label(self, wallet: 'Abstract_Wallet', item, label): method do_post_safe (line 111) | async def do_post_safe(self, *args): method do_get (line 114) | async def do_get(self, url = "/labels"): method do_post (line 122) | async def do_post(self, url = "/labels", data=None): method push_thread (line 133) | async def push_thread(self, wallet: 'Abstract_Wallet') -> int: method pull_thread (line 153) | async def pull_thread(self, wallet: 'Abstract_Wallet', force: bool) ->... method on_pulled (line 193) | def on_pulled(self, wallet: 'Abstract_Wallet') -> None: method pull_safe_thread (line 198) | async def pull_safe_thread(self, wallet: 'Abstract_Wallet', force: bool): method pull (line 204) | def pull(self, wallet: 'Abstract_Wallet', force: bool): method push (line 209) | def push(self, wallet: 'Abstract_Wallet'): method start_wallet (line 214) | def start_wallet(self, wallet: 'Abstract_Wallet'): method stop_wallet (line 230) | def stop_wallet(self, wallet): FILE: electrum/plugins/labels/qml.py class Plugin (line 38) | class Plugin(LabelsPlugin): class QSignalObject (line 40) | class QSignalObject(PluginQObject): method __init__ (line 49) | def __init__(self, plugin, parent): method settingsComponent (line 53) | def settingsComponent(self): return '../../../plugins/labels/Labels.... method upload (line 56) | def upload(self): method upload_finished (line 64) | def upload_finished(self, result): method download (line 73) | def download(self): method download_finished (line 81) | def download_finished(self, result): method __init__ (line 89) | def __init__(self, *args): method load_wallet (line 95) | def load_wallet(self, wallet): method push_async (line 99) | def push_async(self): method pull_async (line 119) | def pull_async(self): method on_pulled (line 139) | def on_pulled(self, wallet): method init_qml (line 144) | def init_qml(self, app): FILE: electrum/plugins/labels/qt.py class QLabelsSignalObject (line 43) | class QLabelsSignalObject(QObject): class Plugin (line 47) | class Plugin(LabelsPlugin): method __init__ (line 49) | def __init__(self, *args): method init_menubar (line 55) | def init_menubar(self, window: 'ElectrumWindow'): method do_push (line 65) | def do_push(self, window: 'ElectrumWindow'): method do_pull (line 73) | def do_pull(self, window: 'ElectrumWindow'): method on_pulled (line 81) | def on_pulled(self, wallet: 'Abstract_Wallet'): method done_processing_success (line 84) | def done_processing_success(self, dialog, result): method done_processing_error (line 87) | def done_processing_error(self, dialog, exc_info): method load_wallet (line 92) | def load_wallet(self, wallet: 'Abstract_Wallet', window: 'ElectrumWind... method on_close_window (line 97) | def on_close_window(self, window): FILE: electrum/plugins/ledger/cmdline.py class Plugin (line 6) | class Plugin(LedgerPlugin): method init_keystore (line 9) | def init_keystore(self, keystore): method create_handler (line 14) | def create_handler(self, window): FILE: electrum/plugins/ledger/ledger.py function is_policy_standard (line 68) | def is_policy_standard(wp: 'WalletPolicy', fpr: bytes, exp_coin_type: in... function convert_xpub (line 120) | def convert_xpub(xpub: str, xtype='standard') -> str: function test_pin_unlocked (line 131) | def test_pin_unlocked(func): function is_witness (line 149) | def is_witness(script: bytes) -> Tuple[bool, int, bytes]: function parse_multisig (line 174) | def parse_multisig(script: bytes) -> Optional[Tuple[int, Sequence[bytes]]]: function H_ (line 214) | def H_(x: int) -> int: function is_hardened (line 221) | def is_hardened(i: int) -> bool: function get_bip44_purpose (line 228) | def get_bip44_purpose(addrtype: 'AddressType') -> int: function get_bip44_chain (line 246) | def get_bip44_chain(chain: 'Chain') -> int: function get_addrtype_from_bip44_purpose (line 260) | def get_addrtype_from_bip44_purpose(index: int) -> Optional['AddressType']: function is_standard_path (line 275) | def is_standard_path( function get_chain (line 298) | def get_chain() -> 'Chain': class Ledger_Client (line 311) | class Ledger_Client(HardwareClientBase, ABC): method construct_new (line 315) | def construct_new( method __init__ (line 347) | def __init__(self, *, plugin: HW_PluginBase): method get_master_fingerprint (line 350) | def get_master_fingerprint(self) -> bytes: method show_address (line 354) | def show_address(self, address_path: str, txin_type: str): method sign_transaction (line 358) | def sign_transaction(self, keystore: Hardware_KeyStore, tx: PartialTra... method sign_message (line 362) | def sign_message( class Ledger_Client_Legacy (line 373) | class Ledger_Client_Legacy(Ledger_Client): method __init__ (line 377) | def __init__(self, hidDevice: 'HID', *, product_key: Tuple[int, int], method is_pairable (line 393) | def is_pairable(self): method set_and_unset_signing (line 396) | def set_and_unset_signing(func): method give_error (line 406) | def give_error(self, message: str | BaseException): method close (line 415) | def close(self): method is_initialized (line 418) | def is_initialized(self): method get_soft_device_id (line 422) | def get_soft_device_id(self): method is_hw1 (line 430) | def is_hw1(self) -> bool: method device_model_name (line 433) | def device_model_name(self): method has_usable_connection_with_device (line 437) | def has_usable_connection_with_device(self): method get_xpub (line 446) | def get_xpub(self, bip32_path, xtype): method has_detached_pin_support (line 480) | def has_detached_pin_support(self, client: 'btchip'): method is_pin_validated (line 489) | def is_pin_validated(self, client: 'btchip'): method supports_multi_output (line 500) | def supports_multi_output(self): method supports_segwit (line 503) | def supports_segwit(self): method supports_native_segwit (line 506) | def supports_native_segwit(self): method supports_segwit_trustedInputs (line 509) | def supports_segwit_trustedInputs(self): method checkDevice (line 513) | def checkDevice(self): method password_dialog (line 521) | def password_dialog(self, msg=None): method show_address (line 530) | def show_address(self, address_path: str, txin_type: str): method sign_transaction (line 558) | def sign_transaction(self, keystore: Hardware_KeyStore, tx: PartialTra... method sign_message (line 730) | def sign_message( class Ledger_Client_New (line 782) | class Ledger_Client_New(Ledger_Client): method __init__ (line 787) | def __init__(self, hidDevice: 'HID', *, product_key: Tuple[int, int], method is_pairable (line 802) | def is_pairable(self): method close (line 806) | def close(self): method is_initialized (line 809) | def is_initialized(self): method get_soft_device_id (line 813) | def get_soft_device_id(self): method device_model_name (line 818) | def device_model_name(self): method has_usable_connection_with_device (line 822) | def has_usable_connection_with_device(self): method get_xpub (line 831) | def get_xpub(self, bip32_path: str, xtype): method request_root_fingerprint_from_device (line 850) | def request_root_fingerprint_from_device(self) -> str: method get_master_fingerprint (line 855) | def get_master_fingerprint(self) -> bytes: method get_singlesig_default_wallet_policy (line 862) | def get_singlesig_default_wallet_policy(self, addr_type: 'AddressType'... method get_singlesig_policy_for_path (line 886) | def get_singlesig_policy_for_path(self, path: str, xtype: str, master_... method password_dialog (line 924) | def password_dialog(self, msg=None): method _register_policy_if_needed (line 930) | def _register_policy_if_needed(self, wallet_policy: 'WalletPolicy') ->... method show_address (line 941) | def show_address(self, address_path: str, txin_type: str): method sign_transaction (line 968) | def sign_transaction(self, keystore: Hardware_KeyStore, tx: PartialTra... method sign_message (line 1148) | def sign_message( class Ledger_KeyStore (line 1176) | class Ledger_KeyStore(Hardware_KeyStore): method __init__ (line 1184) | def __init__(self, d): method dump (line 1188) | def dump(self): method get_client_dongle_object (line 1193) | def get_client_dongle_object(self, *, client: Optional[Ledger_Client] ... method decrypt_message (line 1198) | def decrypt_message(self, pubkey, message, password): method sign_message (line 1201) | def sign_message(self, sequence, *args, **kwargs): method sign_transaction (line 1207) | def sign_transaction(self, *args, **kwargs): method show_address (line 1210) | def show_address(self, sequence, *args, **kwargs): class LedgerPlugin (line 1217) | class LedgerPlugin(HW_PluginBase): method __init__ (line 1246) | def __init__(self, parent, config, name): method get_library_version (line 1257) | def get_library_version(self): method is_hw1 (line 1271) | def is_hw1(cls, product_key) -> bool: method _recognize_device (line 1275) | def _recognize_device(cls, product_key) -> Tuple[bool, Optional[str]]: method can_recognize_device (line 1306) | def can_recognize_device(self, device: Device) -> bool: method device_name_from_product_key (line 1319) | def device_name_from_product_key(cls, product_key) -> Optional[str]: method create_device_from_hid_enumeration (line 1322) | def create_device_from_hid_enumeration(self, d, *, product_key): method create_client (line 1329) | def create_client(self, device, handler) -> Union[Ledger_Client, None,... method show_address (line 1337) | def show_address(self, wallet, address, keystore=None): method wizard_entry_for_device (line 1350) | def wizard_entry_for_device(self, device_info: 'DeviceInfo', *, new_wa... method extend_wizard (line 1357) | def extend_wizard(self, wizard: 'NewWalletWizard'): FILE: electrum/plugins/ledger/qt.py class Plugin (line 20) | class Plugin(LedgerPlugin, QtPluginBase): method create_handler (line 24) | def create_handler(self, window): method receive_menu (line 29) | def receive_menu(self, menu, addrs, wallet): method transaction_dialog_address_menu (line 38) | def transaction_dialog_address_menu(self, menu, addr, wallet): method extend_wizard (line 44) | def extend_wizard(self, wizard: 'QENewWalletWizard'): class Ledger_Handler (line 55) | class Ledger_Handler(QtHandlerBase): method __init__ (line 59) | def __init__(self, win): FILE: electrum/plugins/nwc/__init__.py function add_connection (line 47) | async def add_connection( function remove_connection (line 66) | async def remove_connection(self: 'Commands', name: str, plugin=None) ->... function list_connections (line 76) | async def list_connections(self: 'Commands', plugin=None) -> dict: FILE: electrum/plugins/nwc/cmdline.py class Plugin (line 36) | class Plugin(NWCServerPlugin): method __init__ (line 38) | def __init__(self, *args): method daemon_wallet_loaded (line 42) | def daemon_wallet_loaded(self, daemon: 'Daemon', wallet: 'Abstract_Wal... FILE: electrum/plugins/nwc/nwcserver.py class NWCServerPlugin (line 54) | class NWCServerPlugin(BasePlugin): method __init__ (line 57) | def __init__(self, parent, config: 'SimpleConfig', name): method start_plugin (line 68) | def start_plugin(self, wallet: 'Abstract_Wallet'): method close_wallet (line 82) | def close_wallet(self, *args, **kwargs): method delete_expired_connections (line 94) | def delete_expired_connections(self): method create_connection (line 106) | def create_connection(self, name: str, daily_limit_sat: Optional[int],... method remove_connection (line 138) | def remove_connection(self, name: str) -> None: method list_connections (line 146) | def list_connections(self) -> dict: method serialize_connection_uri (line 159) | def serialize_connection_uri(self, client_secret_hex: str, our_pubkey_... class NWCServer (line 177) | class NWCServer(Logger, EventListener): method __init__ (line 188) | def __init__( method get_relay_manager (line 208) | def get_relay_manager(self) -> aionostr.Manager: method run (line 227) | async def run(self) -> None: method refresh_manager (line 256) | async def refresh_manager(self) -> bool: method restart_event_handler (line 279) | def restart_event_handler(self) -> None: method on_event_proxy_set (line 285) | def on_event_proxy_set(self, *args): method handle_requests (line 295) | async def handle_requests(self) -> None: method run_request_task (line 378) | async def run_request_task(self, task: Awaitable, *, request_event: nE... method send_error (line 389) | async def send_error( method get_error_response (line 404) | def get_error_response(error_type: str, error_msg: str = "", method: O... method send_encrypted_response (line 415) | async def send_encrypted_response( method handle_pay_invoice (line 440) | async def handle_pay_invoice(self, request_event: nEvent, params: dict... method handle_make_invoice (line 452) | async def handle_make_invoice(self, request_event: nEvent, params: dict): method handle_lookup_invoice (line 498) | async def handle_lookup_invoice(self, request_event: nEvent, params: d... method handle_get_balance (line 564) | async def handle_get_balance(self, request_event: nEvent): method handle_get_info (line 578) | async def handle_get_info(self, request_event: nEvent): method handle_list_transactions (line 604) | async def handle_list_transactions(self, request_event: nEvent, params... method on_event_request_status (line 731) | def on_event_request_status(self, wallet, key, status): method on_event_payment_succeeded (line 772) | def on_event_payment_succeeded(self, wallet, key): method pay_invoice (line 807) | async def pay_invoice(self, b11: str, amount_msat: Optional[int], requ... method remove_from_budget (line 868) | def remove_from_budget(self, client_pub: str, budget_item: list[int]) ... method get_used_budget_msat (line 878) | def get_used_budget_msat(self, client_pub: str) -> int: method add_to_budget (line 898) | def add_to_budget(self, client_pub: str, *, msat_requested: int) -> li... method _update_budget_item_amount (line 915) | def _update_budget_item_amount(self, client_pub: str, *, old_budget_it... method publish_info_event (line 928) | async def publish_info_event(self): method publish_notification_event (line 953) | def publish_notification_event(self, content: dict): method encrypt_to_pubkey (line 969) | def encrypt_to_pubkey(self, msg: str, pubkey: str) -> str: method get_payment_info (line 978) | def get_payment_info(self, payment_hash: str) \ method is_receive_only (line 994) | def is_receive_only(self, pubkey: str) -> bool: method invoice_status_to_nip47_state (line 998) | def invoice_status_to_nip47_state(status) -> Optional[str]: FILE: electrum/plugins/nwc/qt.py class Plugin (line 52) | class Plugin(NWCServerPlugin): method __init__ (line 53) | def __init__(self, *args): method load_wallet (line 58) | def load_wallet(self, wallet: 'Abstract_Wallet', window: 'ElectrumWind... method init_menubar (line 64) | def init_menubar(self, window): method settings_dialog (line 69) | def settings_dialog(self, window: WindowModalDialog): method connection_info_input_dialog (line 207) | def connection_info_input_dialog(self, window) -> Optional[str]: method show_new_connection_dialog (line 281) | def show_new_connection_dialog(window, connection_string: str): class OptionalSpinBox (line 321) | class OptionalSpinBox(QSpinBox): method __init__ (line 322) | def __init__(self, parent=None): method value (line 328) | def value(self): method setValue (line 333) | def setValue(self, value): FILE: electrum/plugins/psbt_nostr/psbt_nostr.py class PsbtNostrPlugin (line 58) | class PsbtNostrPlugin(BasePlugin): method __init__ (line 60) | def __init__(self, parent, config, name): method is_available (line 64) | def is_available(self): method add_cosigner_wallet (line 67) | def add_cosigner_wallet(self, wallet: 'Abstract_Wallet', cosigner_wall... method remove_cosigner_wallet (line 71) | def remove_cosigner_wallet(self, wallet: 'Abstract_Wallet'): class CosignerWallet (line 77) | class CosignerWallet(Logger): # children have to inherit EventListener ... method __init__ (line 84) | def __init__(self, wallet: 'Multisig_Wallet', db_storage: dict): method on_event_proxy_set (line 126) | async def on_event_proxy_set(self, *args): method main_loop (line 135) | async def main_loop(self): method stop (line 149) | async def stop(self): method nostr_manager (line 153) | async def nostr_manager(self): method send_direct_messages (line 170) | async def send_direct_messages(self, messages: List[Tuple[str, dict]]): method check_direct_messages (line 184) | async def check_direct_messages(self): method diagnostic_name (line 229) | def diagnostic_name(self): method close (line 232) | def close(self): method cosigner_can_sign (line 238) | def cosigner_can_sign(self, tx: Transaction, cosigner_xpub: str) -> bool: method can_send_psbt (line 244) | def can_send_psbt(self, tx: Union[Transaction, PartialTransaction]) ->... method mark_pending_event_rcvd (line 252) | def mark_pending_event_rcvd(self, event_id): method prepare_messages (line 257) | def prepare_messages(self, tx: Union[Transaction, PartialTransaction],... method send_psbt (line 268) | def send_psbt(self, tx: Union[Transaction, PartialTransaction], label:... method do_send (line 271) | def do_send(self, messages: List[Tuple[str, dict]], txid: Optional[str... method on_receive (line 274) | def on_receive(self, pubkey, event_id, tx, label: str): method add_transaction_to_wallet (line 277) | def add_transaction_to_wallet( FILE: electrum/plugins/psbt_nostr/qml.py class QReceiveSignalObject (line 46) | class QReceiveSignalObject(QObject): method __init__ (line 47) | def __init__(self, plugin: 'Plugin'): method loader (line 56) | def loader(self): method canSendPsbt (line 60) | def canSendPsbt(self, wallet: 'QEWallet', tx: str) -> bool: method sendPsbt (line 68) | def sendPsbt(self, wallet: 'QEWallet', tx: str, label: str = None): method saveTxLabel (line 75) | def saveTxLabel(self, wallet: 'QEWallet', tx: str, label: str): method acceptPsbt (line 83) | def acceptPsbt(self, wallet: 'QEWallet', event_id: str, save_to_wallet... method rejectPsbt (line 93) | def rejectPsbt(self, wallet: 'QEWallet', event_id: str): class Plugin (line 100) | class Plugin(PsbtNostrPlugin): method __init__ (line 101) | def __init__(self, parent, config, name): method init_qml (line 107) | def init_qml(self, app: 'ElectrumQmlApplication'): method load_wallet (line 116) | def load_wallet(self, wallet: 'Abstract_Wallet'): class QmlCosignerWallet (line 127) | class QmlCosignerWallet(EventListener, CosignerWallet): method __init__ (line 129) | def __init__(self, wallet: 'Multisig_Wallet', plugin: 'Plugin'): method on_event_psbt_nostr_received (line 138) | def on_event_psbt_nostr_received(self, wallet, pubkey, event_id, tx: '... method close (line 144) | def close(self): method do_send (line 148) | def do_send(self, messages: List[Tuple[str, dict]], txid: Optional[str... method save_tx_label (line 166) | def save_tx_label(self, tx, label): method accept_psbt (line 169) | def accept_psbt(self, event_id, save: bool = False): method reject_psbt (line 174) | def reject_psbt(self, event_id): method on_add_fail (line 177) | def on_add_fail(self, error_msg: str): FILE: electrum/plugins/psbt_nostr/qt.py class QReceiveSignalObject (line 46) | class QReceiveSignalObject(QObject): class Plugin (line 50) | class Plugin(PsbtNostrPlugin): method __init__ (line 51) | def __init__(self, parent, config, name): method load_wallet (line 56) | def load_wallet(self, wallet: 'Abstract_Wallet', window: 'ElectrumWind... method on_close_window (line 64) | def on_close_window(self, window): method transaction_dialog (line 69) | def transaction_dialog(self, d: 'TxDialog'): method transaction_dialog_update (line 80) | def transaction_dialog_update(self, d: 'TxDialog'): class QtCosignerWallet (line 86) | class QtCosignerWallet(EventListener, CosignerWallet): method __init__ (line 87) | def __init__(self, wallet: 'Multisig_Wallet', window: 'ElectrumWindow'... method close (line 95) | def close(self): method on_event_psbt_nostr_received (line 100) | def on_event_psbt_nostr_received(self, wallet, *args): method send_to_cosigners (line 104) | def send_to_cosigners(self, tx: Union['Transaction', 'PartialTransacti... method do_send (line 109) | def do_send(self, messages: List[Tuple[str, dict]], txid: Optional[str... method on_receive (line 129) | def on_receive(self, pubkey, event_id, tx, label): method on_tx_dialog_closed (line 155) | def on_tx_dialog_closed(self, event_id, _tx: Optional['Transaction']): method on_add_fail (line 158) | def on_add_fail(self, msg: str): FILE: electrum/plugins/revealer/hmac_drbg.py class DRBG (line 26) | class DRBG(object): method __init__ (line 27) | def __init__(self, seed): method hmac (line 32) | def hmac(self, key, val): method reseed (line 35) | def reseed(self, data=b''): method generate (line 43) | def generate(self, n): FILE: electrum/plugins/revealer/qt.py class Plugin (line 48) | class Plugin(RevealerPlugin): method __init__ (line 68) | def __init__(self, parent, config, name): method load_wallet (line 92) | def load_wallet(self, wallet, window): method init_menubar (line 101) | def init_menubar(self, window): method requires_settings (line 106) | def requires_settings(self): method settings_dialog (line 109) | def settings_dialog(self, window, wallet): method password_dialog (line 112) | def password_dialog(self, msg=None, parent=None): method get_seed (line 118) | def get_seed(self): method setup_dialog (line 131) | def setup_dialog(self, window): method get_noise (line 224) | def get_noise(self): method on_edit (line 229) | def on_edit(self): method make_digital (line 237) | def make_digital(self, dialog): method get_path_to_revealer_file (line 242) | def get_path_to_revealer_file(self, ext: str= '') -> str: method get_path_to_calibration_file (line 249) | def get_path_to_calibration_file(self): method bcrypt (line 253) | def bcrypt(self, dialog): method ext_warning (line 269) | def ext_warning(self, dialog): method bdone (line 278) | def bdone(self, dialog): method customtxt_limits (line 290) | def customtxt_limits(self): method t (line 317) | def t(self): method warn_old_revealer (line 321) | def warn_old_revealer(self): method cypherseed_dialog (line 333) | def cypherseed_dialog(self, window): method update_wallet_name (line 430) | def update_wallet_name(self, name): method seed_img (line 433) | def seed_img(self, is_seed = True): method make_rawnoise (line 491) | def make_rawnoise(self, create_revealer=False): method make_calnoise (line 506) | def make_calnoise(self): method make_revealer (line 515) | def make_revealer(self): method make_cypherseed (line 526) | def make_cypherseed(self, img, rawnoise, calibration=False, is_seed = ... method calibration (line 554) | def calibration(self): method toPdf (line 564) | def toPdf(self, image): method calibration_pdf (line 589) | def calibration_pdf(self, image): method pixelcode_2x2 (line 615) | def pixelcode_2x2(self, img): method overlay_marks (line 637) | def overlay_marks(self, img, is_cseed=False, calibration_sheet=False): method calibration_dialog (line 850) | def calibration_dialog(self, window): FILE: electrum/plugins/revealer/revealer.py class VersionedSeed (line 12) | class VersionedSeed(NamedTuple): method get_ui_string_version_plus_seed (line 17) | def get_ui_string_version_plus_seed(self): class RevealerPlugin (line 26) | class RevealerPlugin(BasePlugin): method __init__ (line 34) | def __init__(self, parent, config, name): method code_hashid (line 38) | def code_hashid(cls, txt: str) -> str: method get_versioned_seed_from_user_input (line 45) | def get_versioned_seed_from_user_input(cls, txt: str) -> Optional[Vers... method get_noise_map (line 63) | def get_noise_map(cls, versioned_seed: VersionedSeed) -> Dict[Tuple[in... method gen_random_versioned_seed (line 93) | def gen_random_versioned_seed(cls): FILE: electrum/plugins/safe_t/client.py class SafeTClient (line 4) | class SafeTClient(SafeTClientBase, ProtocolMixin, BaseClient): method __init__ (line 5) | def __init__(self, transport, handler, plugin): FILE: electrum/plugins/safe_t/clientbase.py class GuiMixin (line 16) | class GuiMixin(object): method callback_Failure (line 34) | def callback_Failure(self, msg): method callback_ButtonRequest (line 46) | def callback_ButtonRequest(self, msg): method callback_PinMatrixRequest (line 53) | def callback_PinMatrixRequest(self, msg): method callback_PassphraseRequest (line 71) | def callback_PassphraseRequest(self, req): method callback_PassphraseStateRequest (line 94) | def callback_PassphraseStateRequest(self, msg): method callback_WordRequest (line 97) | def callback_WordRequest(self, msg): class SafeTClientBase (line 106) | class SafeTClientBase(HardwareClientBase, GuiMixin, Logger): method __init__ (line 108) | def __init__(self, handler, plugin, proto): method device_model_name (line 121) | def device_model_name(self) -> Optional[str]: method __str__ (line 124) | def __str__(self): method label (line 127) | def label(self): method get_soft_device_id (line 130) | def get_soft_device_id(self): method is_initialized (line 133) | def is_initialized(self): method is_pairable (line 136) | def is_pairable(self): method has_usable_connection_with_device (line 140) | def has_usable_connection_with_device(self): method used (line 148) | def used(self): method prevent_timeouts (line 151) | def prevent_timeouts(self): method timeout (line 155) | def timeout(self, cutoff): method expand_path (line 162) | def expand_path(n): method cancel (line 166) | def cancel(self): method i4b (line 170) | def i4b(self, x): method get_xpub (line 174) | def get_xpub(self, bip32_path, xtype): method toggle_passphrase (line 186) | def toggle_passphrase(self): method change_label (line 195) | def change_label(self, label): method change_homescreen (line 200) | def change_homescreen(self, homescreen): method set_pin (line 205) | def set_pin(self, remove): method clear_session (line 215) | def clear_session(self): method get_public_node (line 227) | def get_public_node(self, address_n, creating): method close (line 232) | def close(self): method firmware_version (line 239) | def firmware_version(self): method atleast_version (line 243) | def atleast_version(self, major, minor=0, patch=0): method wrapper (line 247) | def wrapper(func): method wrap_methods (line 263) | def wrap_methods(cls): FILE: electrum/plugins/safe_t/cmdline.py class Plugin (line 6) | class Plugin(SafeTPlugin): method init_keystore (line 9) | def init_keystore(self, keystore): method create_handler (line 14) | def create_handler(self, window): FILE: electrum/plugins/safe_t/qt.py class QtHandler (line 47) | class QtHandler(QtHandlerBase): method __init__ (line 51) | def __init__(self, win, pin_matrix_widget_class, device): method get_pin (line 56) | def get_pin(self, msg, *, show_strength=True): method pin_dialog (line 62) | def pin_dialog(self, msg, show_strength): class QtPlugin (line 77) | class QtPlugin(QtPluginBase): method receive_menu (line 84) | def receive_menu(self, menu, addrs, wallet): method transaction_dialog_address_menu (line 91) | def transaction_dialog_address_menu(self, menu, addr, wallet): method show_settings_dialog (line 94) | def show_settings_dialog(self, window, keystore): function clean_text (line 104) | def clean_text(widget): class SafeTInitLayout (line 109) | class SafeTInitLayout(QVBoxLayout): method __init__ (line 112) | def __init__(self, method, device): method get_settings (line 180) | def get_settings(self): class Plugin (line 191) | class Plugin(SafeTPlugin, QtPlugin): method create_handler (line 195) | def create_handler(self, window): method pin_matrix_widget_class (line 199) | def pin_matrix_widget_class(self): method extend_wizard (line 203) | def extend_wizard(self, wizard: 'QENewWalletWizard'): class SettingsDialog (line 216) | class SettingsDialog(WindowModalDialog): method __init__ (line 221) | def __init__(self, window, plugin, keystore, device_id): class WCSafeTInitMethod (line 534) | class WCSafeTInitMethod(WalletWizardComponent): method __init__ (line 535) | def __init__(self, parent, wizard): method on_ready (line 538) | def on_ready(self): method apply (line 562) | def apply(self): class WCSafeTInitParams (line 567) | class WCSafeTInitParams(WalletWizardComponent): method __init__ (line 568) | def __init__(self, parent, wizard): method on_ready (line 573) | def on_ready(self): method on_settings_valid_changed (line 584) | def on_settings_valid_changed(self, is_valid: bool): method apply (line 587) | def apply(self): class WCSafeTInit (line 592) | class WCSafeTInit(WalletWizardComponent, Logger): method __init__ (line 593) | def __init__(self, parent, wizard): method on_ready (line 603) | def on_ready(self): method apply (line 631) | def apply(self): FILE: electrum/plugins/safe_t/safe_t.py class SafeTKeyStore (line 24) | class SafeTKeyStore(Hardware_KeyStore): method decrypt_message (line 30) | def decrypt_message(self, sequence, message, password): method sign_message (line 34) | def sign_message(self, sequence, message, password, *, script_type=None): method sign_transaction (line 42) | def sign_transaction(self, tx, password): class SafeTPlugin (line 56) | class SafeTPlugin(HW_PluginBase): method __init__ (line 72) | def __init__(self, parent, config, name): method get_library_version (line 89) | def get_library_version(self): method enumerate (line 97) | def enumerate(self): method create_client (line 108) | def create_client(self, device, handler): method get_client (line 144) | def get_client(self, keystore, force_pair=True, *, method get_coin_name (line 154) | def get_coin_name(self): method _initialize_device (line 158) | def _initialize_device(self, settings, method, device_id, handler): method _make_node_path (line 198) | def _make_node_path(self, xpub: str, address_n: Sequence[int]): method get_safet_input_script_type (line 209) | def get_safet_input_script_type(self, electrum_txin_type: str): method get_safet_output_script_type (line 220) | def get_safet_output_script_type(self, electrum_txin_type: str): method sign_transaction (line 232) | def sign_transaction(self, keystore, tx: PartialTransaction, prev_tx): method show_address (line 244) | def show_address(self, wallet, address, keystore=None): method tx_inputs (line 268) | def tx_inputs(self, tx: Transaction, *, for_sig=False, keystore: 'Safe... method _make_multisig (line 311) | def _make_multisig(self, desc: descriptor.MultisigDescriptor): method tx_outputs (line 324) | def tx_outputs(self, tx: PartialTransaction, *, keystore: 'SafeTKeySto... method electrum_tx_to_txtype (line 379) | def electrum_tx_to_txtype(self, tx: Optional[Transaction]): method get_tx (line 396) | def get_tx(self, tx_hash): method wizard_entry_for_device (line 400) | def wizard_entry_for_device(self, device_info: 'DeviceInfo', *, new_wa... method extend_wizard (line 407) | def extend_wizard(self, wizard: 'NewWalletWizard'): FILE: electrum/plugins/safe_t/transport.py class SafeTTransport (line 7) | class SafeTTransport: method all_transports (line 10) | def all_transports(): method enumerate_devices (line 68) | def enumerate_devices(self): method get_transport (line 82) | def get_transport(self, path=None): FILE: electrum/plugins/swapserver/__init__.py function get_history (line 21) | async def get_history(self: 'Commands', wallet: 'Abstract_Wallet' = None... function get_summary (line 77) | async def get_summary(self: 'Commands', wallet: 'Abstract_Wallet' = None... FILE: electrum/plugins/swapserver/cmdline.py class Plugin (line 30) | class Plugin(SwapServerPlugin): FILE: electrum/plugins/swapserver/server.py class HttpSwapServer (line 41) | class HttpSwapServer(Logger, EventListener): method __init__ (line 50) | def __init__(self, config: 'SimpleConfig', wallet: 'Abstract_Wallet'): method run (line 63) | async def run(self): method get_pairs (line 81) | async def get_pairs(self, r): method add_swap_invoice (line 123) | async def add_swap_invoice(self, r): method create_normal_swap (line 128) | async def create_normal_swap(self, r): method create_swap (line 133) | async def create_swap(self, r): FILE: electrum/plugins/swapserver/swapserver.py class SwapServerPlugin (line 37) | class SwapServerPlugin(BasePlugin): method __init__ (line 39) | def __init__(self, parent, config: 'SimpleConfig', name): method daemon_wallet_loaded (line 45) | def daemon_wallet_loaded(self, daemon: 'Daemon', wallet: 'Abstract_Wal... FILE: electrum/plugins/timelock_recovery/qt.py function selectable_label (line 59) | def selectable_label(text: str) -> QLabel: class FontManager (line 65) | class FontManager: method __init__ (line 66) | def __init__(self, font_name: str, resolution: int): class Plugin (line 81) | class Plugin(TimelockRecoveryPlugin): method __init__ (line 89) | def __init__(self, parent, config, name: str): method load_wallet (line 103) | def load_wallet(self, wallet, window): method init_menubar (line 112) | def init_menubar(self, window): method setup_dialog (line 117) | def setup_dialog(self, main_window: 'ElectrumWindow') -> bool: method create_intro_dialog (line 122) | def create_intro_dialog(self, context: TimelockRecoveryContext) -> bool: method create_plan_dialog (line 175) | def create_plan_dialog(self, context: TimelockRecoveryContext) -> bool: method _validate_input_values (line 435) | def _validate_input_values( method start_plan (line 490) | def start_plan(self, context: TimelockRecoveryContext): method create_download_dialog (line 520) | def create_download_dialog(self, context: TimelockRecoveryContext) -> ... method _save_recovery_plan_json (line 684) | def _save_recovery_plan_json(self, context: TimelockRecoveryContext, d... method _save_cancellation_plan_json (line 728) | def _save_cancellation_plan_json(self, context: TimelockRecoveryContex... method _create_pdf_printer (line 766) | def _create_pdf_printer(self, file_path: str) -> QPrinter: method _paint_scaled_logo (line 775) | def _paint_scaled_logo(self, painter: QPainter, page_width: int, curre... method _save_recovery_plan_pdf (line 789) | def _save_recovery_plan_pdf(self, context: TimelockRecoveryContext, do... method _paint_recovery_plan_pdf (line 823) | def _paint_recovery_plan_pdf(self, context: TimelockRecoveryContext, p... method _save_cancellation_plan_pdf (line 1150) | def _save_cancellation_plan_pdf(self, context: TimelockRecoveryContext... method _paint_cancellation_plan_pdf (line 1184) | def _paint_cancellation_plan_pdf(self, context: TimelockRecoveryContex... method _paint_qr (line 1352) | def _paint_qr(cls, qr: qrcode.main.QRCode) -> QImage: FILE: electrum/plugins/timelock_recovery/timelock_recovery.py class PartialTxInputWithFixedNsequence (line 19) | class PartialTxInputWithFixedNsequence(PartialTxInput): method __init__ (line 22) | def __init__(self, *args, nsequence: int = 0xfffffffe, **kwargs): method nsequence (line 27) | def nsequence(self) -> int: method nsequence (line 31) | def nsequence(self, value: int): class TimelockRecoveryContext (line 34) | class TimelockRecoveryContext: method __init__ (line 53) | def __init__(self, wallet: 'Abstract_Wallet'): method _get_address_by_label (line 57) | def _get_address_by_label(self, label: str) -> str: method get_alert_address (line 73) | def get_alert_address(self) -> str: method get_cancellation_address (line 78) | def get_cancellation_address(self) -> str: method make_unsigned_alert_tx (line 83) | def make_unsigned_alert_tx(self, fee_policy) -> 'PartialTransaction': method _alert_tx_output (line 98) | def _alert_tx_output(self) -> Tuple[int, 'TxOutput']: method _alert_tx_outpoint (line 108) | def _alert_tx_outpoint(self, out_idx: int) -> TxOutpoint: method make_unsigned_recovery_tx (line 111) | def make_unsigned_recovery_tx(self, fee_policy) -> 'PartialTransaction': method add_input_info_to_recovery_tx (line 132) | def add_input_info_to_recovery_tx(self): method add_input_info_to_cancellation_tx (line 136) | def add_input_info_to_cancellation_tx(self): method make_unsigned_cancellation_tx (line 140) | def make_unsigned_cancellation_tx(self, fee_policy) -> 'PartialTransac... class TimelockRecoveryPlugin (line 157) | class TimelockRecoveryPlugin(BasePlugin): method __init__ (line 158) | def __init__(self, parent, config, name): method json_checksum (line 162) | def json_checksum(cls, json_data: dict[str, Any]) -> str: FILE: electrum/plugins/trezor/clientbase.py class TrezorClientBase (line 51) | class TrezorClientBase(HardwareClientBase, Logger): method __init__ (line 52) | def __init__(self, transport, handler, plugin): method run_flow (line 68) | def run_flow(self, message=None, creating_wallet=False): method end_flow (line 78) | def end_flow(self): method __enter__ (line 85) | def __enter__(self): method __exit__ (line 88) | def __exit__(self, exc_type, e, traceback): method features (line 102) | def features(self): method __str__ (line 105) | def __str__(self): method label (line 108) | def label(self): method get_soft_device_id (line 111) | def get_soft_device_id(self): method is_initialized (line 114) | def is_initialized(self): method is_pairable (line 117) | def is_pairable(self): method has_usable_connection_with_device (line 121) | def has_usable_connection_with_device(self): method used (line 131) | def used(self): method prevent_timeouts (line 134) | def prevent_timeouts(self): method timeout (line 138) | def timeout(self, cutoff): method i4b (line 144) | def i4b(self, x): method get_xpub (line 148) | def get_xpub(self, bip32_path, xtype, creating=False): method toggle_passphrase (line 160) | def toggle_passphrase(self): method change_label (line 170) | def change_label(self, label): method change_homescreen (line 175) | def change_homescreen(self, homescreen): method set_pin (line 180) | def set_pin(self, remove): method clear_session (line 191) | def clear_session(self): method close (line 203) | def close(self): method is_uptodate (line 209) | def is_uptodate(self): method get_trezor_model (line 214) | def get_trezor_model(self): method device_model_name (line 218) | def device_model_name(self): method show_address (line 231) | def show_address(self, address_str, script_type, multisig=None): method sign_message (line 244) | def sign_message(self, address_str, message, *, script_type): method recover_device (line 257) | def recover_device(self, recovery_type, *args, **kwargs): method sign_tx (line 270) | def sign_tx(self, *args, **kwargs): method get_ownership_id (line 275) | def get_ownership_id(self, *args, **kwargs): method get_ownership_proof (line 280) | def get_ownership_proof(self, *args, **kwargs): method reset_device (line 285) | def reset_device(self, *args, **kwargs): method wipe_device (line 290) | def wipe_device(self, *args, **kwargs): method button_request (line 296) | def button_request(self, br): method get_pin (line 300) | def get_pin(self, code=None): method get_passphrase (line 327) | def get_passphrase(self, available_on_device): method _matrix_char (line 349) | def _matrix_char(self, matrix_type): method mnemonic_callback (line 356) | def mnemonic_callback(self, recovery_type): FILE: electrum/plugins/trezor/cmdline.py class TrezorCmdLineHandler (line 8) | class TrezorCmdLineHandler(CmdLineHandler): method __init__ (line 9) | def __init__(self): method get_passphrase (line 13) | def get_passphrase(self, msg, confirm): class Plugin (line 21) | class Plugin(TrezorPlugin): method init_keystore (line 24) | def init_keystore(self, keystore): method create_handler (line 29) | def create_handler(self, window): FILE: electrum/plugins/trezor/qt.py class MatrixDialog (line 56) | class MatrixDialog(WindowModalDialog): method __init__ (line 58) | def __init__(self, parent): method refresh (line 88) | def refresh(self): method is_valid (line 92) | def is_valid(self, key): method process_key (line 95) | def process_key(self, key): method keyPressEvent (line 107) | def keyPressEvent(self, event): method get_matrix (line 112) | def get_matrix(self, num): class QtHandler (line 118) | class QtHandler(QtHandlerBase): method __init__ (line 124) | def __init__(self, win, pin_matrix_widget_class, device): method get_pin (line 133) | def get_pin(self, msg, *, show_strength=True): method get_matrix (line 139) | def get_matrix(self, msg): method _close_matrix_dialog (line 148) | def _close_matrix_dialog(self): method close_matrix_dialog (line 153) | def close_matrix_dialog(self): method pin_dialog (line 156) | def pin_dialog(self, msg, show_strength): method matrix_recovery_dialog (line 170) | def matrix_recovery_dialog(self, msg): method passphrase_dialog (line 176) | def passphrase_dialog(self, msg, confirm): class QtPlugin (line 241) | class QtPlugin(QtPluginBase): method receive_menu (line 248) | def receive_menu(self, menu, addrs, wallet): method transaction_dialog_address_menu (line 255) | def transaction_dialog_address_menu(self, menu, addr, wallet): method show_settings_dialog (line 258) | def show_settings_dialog(self, window, keystore): class InitSettingsLayout (line 268) | class InitSettingsLayout(QVBoxLayout): method __init__ (line 269) | def __init__(self, devmgr, method, device_id) -> QVBoxLayout: method get_settings (line 446) | def get_settings(self): class Plugin (line 458) | class Plugin(TrezorPlugin, QtPlugin): method create_handler (line 462) | def create_handler(self, window): method pin_matrix_widget_class (line 466) | def pin_matrix_widget_class(self): method extend_wizard (line 470) | def extend_wizard(self, wizard: 'QENewWalletWizard'): class SettingsDialog (line 483) | class SettingsDialog(WindowModalDialog): method __init__ (line 488) | def __init__(self, window, plugin, keystore, device_id): class WCTrezorXPub (line 801) | class WCTrezorXPub(WCHWXPub): method __init__ (line 802) | def __init__(self, parent, wizard): method get_xpub_from_client (line 805) | def get_xpub_from_client(self, client, derivation, xtype): class WCTrezorInitMethod (line 818) | class WCTrezorInitMethod(WalletWizardComponent, Logger): method __init__ (line 819) | def __init__(self, parent, wizard): method on_ready (line 825) | def on_ready(self): method apply (line 856) | def apply(self): class WCTrezorInitParams (line 863) | class WCTrezorInitParams(WalletWizardComponent): method __init__ (line 864) | def __init__(self, parent, wizard): method on_ready (line 869) | def on_ready(self): method apply (line 879) | def apply(self): class WCTrezorInit (line 884) | class WCTrezorInit(WalletWizardComponent, Logger): method __init__ (line 885) | def __init__(self, parent, wizard): method on_ready (line 895) | def on_ready(self): method apply (line 923) | def apply(self): FILE: electrum/plugins/trezor/trezor.py class _EnumMissing (line 46) | class _EnumMissing: method __init__ (line 47) | def __init__(self): method __getattr__ (line 51) | def __getattr__(self, key): class TrezorKeyStore (line 71) | class TrezorKeyStore(Hardware_KeyStore): method decrypt_message (line 77) | def decrypt_message(self, sequence, message, password): method sign_message (line 80) | def sign_message(self, sequence, message, password, *, script_type=None): method sign_transaction (line 87) | def sign_transaction(self, tx, password): method has_support_for_slip_19_ownership_proofs (line 100) | def has_support_for_slip_19_ownership_proofs(self) -> bool: method add_slip_19_ownership_proofs_to_tx (line 103) | def add_slip_19_ownership_proofs_to_tx(self, tx: 'PartialTransaction',... class TrezorInitSettings (line 135) | class TrezorInitSettings(NamedTuple): class TrezorPlugin (line 145) | class TrezorPlugin(HW_PluginBase): method __init__ (line 163) | def __init__(self, parent, config, name): method get_library_version (line 172) | def get_library_version(self): method is_bridge_available (line 184) | def is_bridge_available(self) -> bool: method enumerate (line 199) | def enumerate(self): method create_client (line 222) | def create_client(self, device, handler): method get_client (line 239) | def get_client(self, keystore, force_pair=True, *, method get_coin_name (line 249) | def get_coin_name(self): method _initialize_device (line 253) | def _initialize_device(self, settings: TrezorInitSettings, method, dev... method _make_node_path (line 289) | def _make_node_path(self, xpub: str, address_n: Sequence[int]): method get_trezor_input_script_type (line 300) | def get_trezor_input_script_type(self, electrum_txin_type: str): method get_trezor_output_script_type (line 313) | def get_trezor_output_script_type(self, electrum_txin_type: str): method get_trezor_amount_unit (line 326) | def get_trezor_amount_unit(self): method sign_transaction (line 337) | def sign_transaction(self, keystore, tx: PartialTransaction, prev_tx): method show_address (line 354) | def show_address(self, wallet, address, keystore=None): method tx_inputs (line 374) | def tx_inputs(self, tx: Transaction, *, for_sig=False, keystore: 'Trez... method _make_multisig (line 420) | def _make_multisig(self, desc: descriptor.MultisigDescriptor): method tx_outputs (line 433) | def tx_outputs(self, tx: PartialTransaction, *, keystore: 'TrezorKeySt... method electrum_tx_to_txtype (line 495) | def electrum_tx_to_txtype(self, tx: Optional[Transaction]): method wizard_entry_for_device (line 510) | def wizard_entry_for_device(self, device_info: 'DeviceInfo', *, new_wa... method extend_wizard (line 517) | def extend_wizard(self, wizard: 'NewWalletWizard'): FILE: electrum/plugins/trustedcoin/cmdline.py class Plugin (line 30) | class Plugin(TrustedCoinPlugin): method prompt_user_for_otp (line 32) | def prompt_user_for_otp(self, wallet, tx): # FIXME this is broken FILE: electrum/plugins/trustedcoin/common_qt.py class TrustedcoinPluginQObject (line 19) | class TrustedcoinPluginQObject(PluginQObject): method __init__ (line 36) | def __init__(self, plugin, wizard: 'NewWalletWizard', parent): method disclaimer (line 47) | def disclaimer(self): method canSignWithoutServer (line 51) | def canSignWithoutServer(self): method keystore (line 55) | def keystore(self): method otpSecret (line 59) | def otpSecret(self): method shortId (line 63) | def shortId(self): method otpSubmit (line 67) | def otpSubmit(self, otp): method remoteKeyState (line 71) | def remoteKeyState(self): method remoteKeyState (line 75) | def remoteKeyState(self, new_state): method billingModel (line 81) | def billingModel(self): method updateBillingInfo (line 84) | def updateBillingInfo(self, wallet): method fetchTermsAndConditions (line 102) | def fetchTermsAndConditions(self): method createKeystore (line 124) | def createKeystore(self): method resetOtpSecret (line 187) | def resetOtpSecret(self): method checkOtp (line 231) | def checkOtp(self, short_id, otp): FILE: electrum/plugins/trustedcoin/qml.py class Plugin (line 19) | class Plugin(TrustedCoinPlugin): method __init__ (line 20) | def __init__(self, *args): method load_wallet (line 29) | def load_wallet(self, wallet: 'Abstract_Wallet'): method init_qml (line 45) | def init_qml(self, app: 'ElectrumQmlApplication'): method extend_wizard (line 60) | def extend_wizard(self, wizard: 'NewWalletWizard'): method prompt_user_for_otp (line 104) | def prompt_user_for_otp(self, wallet, tx, on_success, on_failure): method on_otp (line 113) | def on_otp(self, otp): method billing_info_retrieved (line 134) | def billing_info_retrieved(self, wallet): FILE: electrum/plugins/trustedcoin/qt.py class TOS (line 60) | class TOS(QTextEdit): class HandlerTwoFactor (line 65) | class HandlerTwoFactor(QObject, Logger): method __init__ (line 67) | def __init__(self, plugin, window): method prompt_user_for_otp (line 73) | def prompt_user_for_otp(self, wallet, tx, on_success, on_failure): class Plugin (line 90) | class Plugin(TrustedCoinPlugin): method __init__ (line 92) | def __init__(self, parent, config, name): method load_wallet (line 96) | def load_wallet(self, wallet: 'Abstract_Wallet', window: 'ElectrumWind... method auth_dialog (line 115) | def auth_dialog(self, window): method prompt_user_for_otp (line 135) | def prompt_user_for_otp(self, wallet, tx, on_success, on_failure): method waiting_dialog_for_billing_info (line 138) | def waiting_dialog_for_billing_info(self, window, *, on_finished=None): method abort_send (line 155) | def abort_send(self, window): method settings_dialog (line 166) | def settings_dialog(self, window): method icon_path (line 170) | def icon_path(self, name): method show_settings_dialog (line 173) | def show_settings_dialog(self, window, success): method init_wallet_wizard (line 232) | def init_wallet_wizard(self, wizard: 'QENewWalletWizard'): method extend_wizard (line 238) | def extend_wizard(self, wizard: 'QENewWalletWizard'): method on_continue_online (line 314) | def on_continue_online(self, wizard_data): class WCDisclaimer (line 325) | class WCDisclaimer(WalletWizardComponent): method __init__ (line 326) | def __init__(self, parent, wizard): method apply (line 334) | def apply(self): class WCChooseSeed (line 338) | class WCChooseSeed(WalletWizardComponent): method __init__ (line 339) | def __init__(self, parent, wizard): method apply (line 353) | def apply(self): class WCTerms (line 357) | class WCTerms(WalletWizardComponent): method __init__ (line 358) | def __init__(self, parent, wizard): method on_ready (line 365) | def on_ready(self): method fetch_terms_and_conditions (line 368) | def fetch_terms_and_conditions(self): method on_busy_changed (line 374) | def on_busy_changed(self): method on_terms_retrieved (line 377) | def on_terms_retrieved(self, tos: str) -> None: method on_terms_error (line 382) | def on_terms_error(self, error: str) -> None: method validate (line 385) | def validate(self): method apply (line 388) | def apply(self): class WCShowConfirmOTP (line 392) | class WCShowConfirmOTP(WalletWizardComponent): method __init__ (line 395) | def __init__(self, parent, wizard): method on_ready (line 456) | def on_ready(self): method update (line 481) | def update(self): method on_busy_changed (line 498) | def on_busy_changed(self): method on_remote_key_error (line 504) | def on_remote_key_error(self, text): method on_request_otp (line 508) | def on_request_otp(self): method on_otp_success (line 513) | def on_otp_success(self): method on_otp_error (line 524) | def on_otp_error(self, message): method on_otp_edited (line 532) | def on_otp_edited(self): method apply (line 548) | def apply(self): class WCKeepDisable (line 552) | class WCKeepDisable(WalletWizardComponent): method __init__ (line 553) | def __init__(self, parent, wizard): method apply (line 570) | def apply(self): class WCContinueOnline (line 574) | class WCContinueOnline(WalletWizardComponent): method __init__ (line 575) | def __init__(self, parent, wizard): method on_ready (line 579) | def on_ready(self): method apply (line 603) | def apply(self): class WCKeystorePassword (line 607) | class WCKeystorePassword(WalletWizardComponent): method __init__ (line 608) | def __init__(self, parent, wizard): method on_ready (line 626) | def on_ready(self): method on_text (line 629) | def on_text(self): method apply (line 637) | def apply(self): FILE: electrum/plugins/trustedcoin/trustedcoin.py function get_signing_xpub (line 54) | def get_signing_xpub(xtype): function get_billing_xpub (line 67) | def get_billing_xpub(): class TrustedCoinException (line 108) | class TrustedCoinException(Exception): method __init__ (line 109) | def __init__(self, message, *, status_code=0): class ErrorConnectingServer (line 120) | class ErrorConnectingServer(Exception): method __init__ (line 121) | def __init__(self, reason: Union[str, Exception] = None): method __str__ (line 124) | def __str__(self): class TrustedCoinCosignerClient (line 132) | class TrustedCoinCosignerClient(Logger): method __init__ (line 133) | def __init__(self, user_agent=None, base_url='https://api.trustedcoin.... method handle_response (line 139) | async def handle_response(self, resp: ClientResponse): method send_request (line 152) | def send_request(self, method, relative_url, data=None, *, timeout=None): method get_terms_of_service (line 186) | def get_terms_of_service(self, billing_plan='electrum-per-tx-otp'): method create (line 194) | def create(self, xpubkey1, xpubkey2, email, billing_plan='electrum-per... method auth (line 210) | def auth(self, id, otp): method get (line 219) | def get(self, id): method get_challenge (line 223) | def get_challenge(self, id): method reset_auth (line 227) | def reset_auth(self, id, challenge, signatures): method sign (line 232) | def sign(self, id, transaction, otp): class Wallet_2fa (line 250) | class Wallet_2fa(Multisig_Wallet): method __init__ (line 254) | def __init__(self, db, *, config): method _load_billing_addresses (line 261) | def _load_billing_addresses(self): method can_sign_without_server (line 275) | def can_sign_without_server(self): method get_user_id (line 278) | def get_user_id(self): method min_prepay (line 281) | def min_prepay(self): method num_prepay (line 284) | def num_prepay(self): method extra_fee (line 291) | def extra_fee(self): method make_unsigned_transaction (line 309) | def make_unsigned_transaction( method on_otp (line 335) | def on_otp(self, tx: PartialTransaction, otp): method add_new_billing_address (line 359) | def add_new_billing_address(self, billing_index: int, address: str, ad... method is_billing_address (line 383) | def is_billing_address(self, addr: str) -> bool: method can_enable_disable_keystore (line 386) | def can_enable_disable_keystore(self, ks: KeyStore) -> bool: method enable_keystore (line 389) | def enable_keystore(self, keystore, is_hardware_keystore, password): method disable_keystore (line 392) | def disable_keystore(self, keystore): function get_user_id (line 398) | def get_user_id(db): function make_xpub (line 408) | def make_xpub(xpub, s) -> str: function make_billing_address (line 419) | def make_billing_address(wallet, num, addr_type): function finish_requesting (line 433) | def finish_requesting(func): class TrustedCoinPlugin (line 442) | class TrustedCoinPlugin(BasePlugin): method __init__ (line 446) | def __init__(self, parent, config, name): method is_available (line 451) | def is_available(self): method is_enabled (line 454) | def is_enabled(self): method can_user_disable (line 457) | def can_user_disable(self): method tc_sign_wrapper (line 461) | def tc_sign_wrapper(self, wallet, tx, on_success, on_failure): method prompt_user_for_otp (line 478) | def prompt_user_for_otp(self, wallet, tx, on_success, on_failure) -> N... method get_tx_extra_fee (line 482) | def get_tx_extra_fee(self, wallet, tx: Transaction): method request_billing_info (line 490) | def request_billing_info(self, wallet: 'Wallet_2fa', *, suppress_conne... method billing_info_retrieved (line 518) | def billing_info_retrieved(self, wallet): method start_request_thread (line 522) | def start_request_thread(self, wallet): method make_seed (line 531) | def make_seed(self, seed_type): method do_clear (line 537) | def do_clear(self, window): method get_xkeys (line 541) | def get_xkeys(cls, seed, t, passphrase, derivation): method xkeys_from_seed (line 550) | def xkeys_from_seed(cls, seed, passphrase): method get_action (line 578) | def get_action(self, db): method extend_wizard (line 589) | def extend_wizard(self, wizard: 'NewWalletWizard'): method create_keys (line 638) | def create_keys(self, wizard_data): method on_accept_otp_secret (line 655) | def on_accept_otp_secret(self, wizard_data): method recovery_disable (line 666) | def recovery_disable(self, wizard_data): FILE: electrum/plugins/watchtower/cmdline.py class Plugin (line 29) | class Plugin(WatchtowerPlugin): FILE: electrum/plugins/watchtower/server.py class WatchTowerServer (line 19) | class WatchTowerServer(AuthenticatedServer): method __init__ (line 21) | def __init__(self, watchtower, network: 'Network', port:int): method run (line 34) | async def run(self): method get_ctn (line 41) | async def get_ctn(self, *args): method add_sweep_tx (line 44) | async def add_sweep_tx(self, *args): FILE: electrum/plugins/watchtower/watchtower.py class WatchtowerPlugin (line 49) | class WatchtowerPlugin(BasePlugin): method __init__ (line 51) | def __init__(self, parent, config: 'SimpleConfig', name): class WatchTower (line 65) | class WatchTower(Logger, EventListener): method __init__ (line 67) | def __init__(self, network: 'Network'): method remove_callback (line 80) | def remove_callback(self, address): method add_callback (line 83) | def add_callback(self, address, callback): method on_event_blockchain_updated (line 88) | async def on_event_blockchain_updated(self, *args): method on_event_wallet_updated (line 92) | async def on_event_wallet_updated(self, wallet): method on_event_adb_added_verified_tx (line 99) | async def on_event_adb_added_verified_tx(self, adb, tx_hash): method on_event_adb_set_up_to_date (line 105) | async def on_event_adb_set_up_to_date(self, adb): method trigger_callbacks (line 111) | async def trigger_callbacks(self): method stop (line 118) | async def stop(self): method add_channel (line 122) | def add_channel(self, outpoint: str, address: str) -> None: method diagnostic_name (line 126) | def diagnostic_name(self): method start_watching (line 130) | async def start_watching(self): method check_onchain_situation (line 136) | async def check_onchain_situation(self, address, funding_outpoint): method inspect_tx_candidate (line 154) | def inspect_tx_candidate(self, outpoint, n: int) -> Dict[str, str]: method sweep_commitment_transaction (line 206) | async def sweep_commitment_transaction(self, funding_outpoint: str, cl... method broadcast_or_log (line 220) | async def broadcast_or_log(self, funding_outpoint: str, tx: Transaction): method get_ctn (line 232) | async def get_ctn(self, outpoint, addr): method get_num_tx (line 238) | def get_num_tx(self, outpoint): method list_sweep_tx (line 243) | def list_sweep_tx(self): method list_channels (line 248) | def list_channels(self): method unwatch_channel (line 253) | async def unwatch_channel(self, address, funding_outpoint): class SweepStore (line 274) | class SweepStore(SqlDB): method __init__ (line 276) | def __init__(self, path, network): method create_database (line 279) | def create_database(self): method get_sweep_tx (line 286) | def get_sweep_tx(self, funding_outpoint, prevout): method list_sweep_tx (line 292) | def list_sweep_tx(self): method add_sweep_tx (line 298) | def add_sweep_tx(self, funding_outpoint, ctn, prevout, raw_tx): method get_num_tx (line 305) | def get_num_tx(self, funding_outpoint): method get_ctn (line 311) | def get_ctn(self, outpoint, addr): method remove_sweep_tx (line 319) | def remove_sweep_tx(self, funding_outpoint): method _add_channel (line 324) | def _add_channel(self, outpoint, address): method remove_channel (line 330) | def remove_channel(self, outpoint): method _has_channel (line 335) | def _has_channel(self, outpoint): method get_address (line 342) | def get_address(self, outpoint): method list_channels (line 349) | def list_channels(self): FILE: electrum/qrreader/__init__.py class MissingQrDetectionLib (line 38) | class MissingQrDetectionLib(RuntimeError): function get_qr_reader (line 43) | def get_qr_reader() -> AbstractQrCodeReader: class MissingLib (line 71) | class MissingLib(RuntimeError): FILE: electrum/qrreader/abstract_base.py class QrCodeResult (line 34) | class QrCodeResult(): method __init__ (line 38) | def __init__(self, data: str, center: QrCodePoint, points: QrCodePoint... method __str__ (line 43) | def __str__(self) -> str: method __hash__ (line 46) | def __hash__(self): method __eq__ (line 49) | def __eq__(self, other): method __ne__ (line 52) | def __ne__(self, other): class AbstractQrCodeReader (line 55) | class AbstractQrCodeReader(ABC): method interval (line 60) | def interval(self) -> float: method read_qr_code (line 70) | def read_qr_code(self, buffer: ctypes.c_void_p, FILE: electrum/qrreader/zbar.py function zbar_cleanup (line 87) | def zbar_cleanup(image): class ZbarSymbolType (line 92) | class ZbarSymbolType(IntEnum): class ZbarConfig (line 116) | class ZbarConfig(IntEnum): class ZbarQrCodeReader (line 122) | class ZbarQrCodeReader(AbstractQrCodeReader): method __init__ (line 127) | def __init__(self): method __del__ (line 142) | def __del__(self): method read_qr_code (line 147) | def read_qr_code(self, buffer: ctypes.c_void_p, buffer_size: int, FILE: electrum/qrscanner.py function scan_barcode (line 60) | def scan_barcode(device='', timeout=-1, display=True, threaded=False) ->... function find_system_cameras (line 89) | def find_system_cameras() -> Mapping[str, str]: function version_info (line 105) | def version_info() -> Mapping[str, Optional[str]]: FILE: electrum/ripemd.py class RIPEMD160 (line 44) | class RIPEMD160: method __init__ (line 49) | def __init__(self, arg=None): method update (line 55) | def update(self, arg): method digest (line 60) | def digest(self): method hexdigest (line 69) | def hexdigest(self): method copy (line 77) | def copy(self): function new (line 84) | def new(arg=None): class RMDContext (line 96) | class RMDContext: method __init__ (line 97) | def __init__(self): method copy (line 102) | def copy(self): function ROL (line 121) | def ROL(n, x): function F0 (line 124) | def F0(x, y, z): function F1 (line 127) | def F1(x, y, z): function F2 (line 130) | def F2(x, y, z): function F3 (line 133) | def F3(x, y, z): function F4 (line 136) | def F4(x, y, z): function R (line 139) | def R(a, b, c, d, e, Fj, Kj, sj, rj, X): function RMD160Transform (line 149) | def RMD160Transform(state, block): #uint32 state[5], uchar block[64] function RMD160Update (line 355) | def RMD160Update(ctx, inp, inplen): function RMD160Final (line 378) | def RMD160Final(ctx): FILE: electrum/rsakey.py function SHA1 (line 41) | def SHA1(x): function getRandomBytes (line 50) | def getRandomBytes(howMany): function bytesToNumber (line 62) | def bytesToNumber(b): function numberToByteArray (line 71) | def numberToByteArray(n, howManyBytes=None): function mpiToNumber (line 86) | def mpiToNumber(mpi): #mpi is an openssl-format bignum string function numberToMPI (line 92) | def numberToMPI(n): function numBits (line 112) | def numBits(n): function numBytes (line 123) | def numBytes(n): function getRandomNumber (line 133) | def getRandomNumber(low, high): function gcd (line 147) | def gcd(a,b): function lcm (line 153) | def lcm(a, b): function invMod (line 158) | def invMod(a, b): function powMod (line 170) | def powMod(base, power, modulus): function makeSieve (line 179) | def makeSieve(n): function isPrime (line 193) | def isPrime(n, iterations=5, display=False): function getRandomPrime (line 220) | def getRandomPrime(bits, display=False): function getRandomSafePrime (line 242) | def getRandomSafePrime(bits, display=False): class RSAKey (line 269) | class RSAKey(object): method __init__ (line 271) | def __init__(self, n=0, e=0, d=0, p=0, q=0, dP=0, dQ=0, qInv=0): method __len__ (line 285) | def __len__(self): method hasPrivateKey (line 292) | def hasPrivateKey(self): method hashAndSign (line 295) | def hashAndSign(self, bytes): method hashAndVerify (line 312) | def hashAndVerify(self, sigBytes, bytes): method sign (line 335) | def sign(self, bytes): method verify (line 357) | def verify(self, sigBytes, bytes): method encrypt (line 381) | def encrypt(self, bytes): method decrypt (line 400) | def decrypt(self, encBytes): method _addPKCS1SHA1Prefix (line 440) | def _addPKCS1SHA1Prefix(self, bytes, withNULL=True): method _addPKCS1Padding (line 459) | def _addPKCS1Padding(self, bytes, blockType): method _rawPrivateKeyOp (line 479) | def _rawPrivateKeyOp(self, m): method _rawPrivateKeyOpHelper (line 503) | def _rawPrivateKeyOpHelper(self, m): method _rawPublicKeyOp (line 514) | def _rawPublicKeyOp(self, c): method acceptsPassword (line 518) | def acceptsPassword(self): method generate (line 521) | def generate(bits): FILE: electrum/scripts/bip39_recovery.py function f (line 27) | async def f(): FILE: electrum/scripts/block_headers.py function f (line 27) | async def f(): FILE: electrum/scripts/bruteforce_pw.py function test_password_for_storage_encryption (line 42) | def test_password_for_storage_encryption(storage: WalletStorage, passwor... function test_password_for_keystore_encryption (line 51) | def test_password_for_keystore_encryption(wallet: Abstract_Wallet, passw... function bruteforce_loop (line 60) | def bruteforce_loop(test_password: Callable[[str], bool]) -> str: FILE: electrum/scripts/estimate_fee.py function f (line 19) | async def f(): FILE: electrum/scripts/get_history.py function f (line 25) | async def f(): FILE: electrum/scripts/ln_features.py function worker (line 60) | async def worker(work_queue: asyncio.Queue, results_queue: asyncio.Queue... function node_flag_stats (line 98) | async def node_flag_stats(opt_flag: LnFeatures, presync: False): FILE: electrum/scripts/peers.py function f (line 17) | async def f(): FILE: electrum/scripts/servers.py function f (line 19) | async def f(): FILE: electrum/scripts/txbroadcast.py function f (line 26) | async def f(): FILE: electrum/scripts/txradar.py function f (line 23) | async def f(): FILE: electrum/scripts/update_default_servers.py function get_newly_added_servers (line 28) | def get_newly_added_servers(fname1, fname2=None): function f (line 48) | async def f(): FILE: electrum/scripts/watch_address.py class Notifier (line 26) | class Notifier(SynchronizerBase): method __init__ (line 27) | def __init__(self, network): method main (line 32) | async def main(self): method _on_address_status (line 42) | async def _on_address_status(self, addr, status): FILE: electrum/segwit_addr.py class Encoding (line 34) | class Encoding(Enum): class DecodedBech32 (line 40) | class DecodedBech32(NamedTuple): function bech32_polymod (line 46) | def bech32_polymod(values): function bech32_hrp_expand (line 58) | def bech32_hrp_expand(hrp): function bech32_verify_checksum (line 63) | def bech32_verify_checksum(hrp, data): function bech32_create_checksum (line 74) | def bech32_create_checksum(encoding: Encoding, hrp: str, data: List[int]... function bech32_encode (line 82) | def bech32_encode(encoding: Encoding, hrp: str, data: List[int]) -> str: function bech32_decode (line 88) | def bech32_decode(bech: str, *, ignore_long_length=False) -> DecodedBech32: function convertbits (line 111) | def convertbits(data: Iterable[int], frombits: int, tobits: int, pad: bo... function decode_segwit_address (line 134) | def decode_segwit_address(hrp: str, addr: Optional[str]) -> Tuple[Option... function encode_segwit_address (line 153) | def encode_segwit_address(hrp: str, witver: int, witprog: bytes) -> Opti... FILE: electrum/simple_config.py class ConfigVar (line 31) | class ConfigVar(property): method __init__ (line 33) | def __init__( method _get_config_value (line 67) | def _get_config_value(self, config: 'SimpleConfig'): method _set_config_value (line 88) | def _set_config_value(self, config: 'SimpleConfig', value, *, save=True): method key (line 100) | def key(self) -> str: method get_default_value (line 103) | def get_default_value(self) -> Any: method get_short_desc (line 106) | def get_short_desc(self) -> Optional[str]: method get_long_desc (line 110) | def get_long_desc(self) -> Optional[str]: method __repr__ (line 114) | def __repr__(self): method __deepcopy__ (line 117) | def __deepcopy__(self, memo): class ConfigVarWithConfig (line 122) | class ConfigVarWithConfig: method __init__ (line 124) | def __init__(self, *, config: 'SimpleConfig', config_var: 'ConfigVar'): method get (line 128) | def get(self) -> Any: method set (line 131) | def set(self, value: Any, *, save=True) -> None: method key (line 134) | def key(self) -> str: method get_default_value (line 137) | def get_default_value(self) -> Any: method get_short_desc (line 140) | def get_short_desc(self) -> Optional[str]: method get_long_desc (line 143) | def get_long_desc(self) -> Optional[str]: method is_modifiable (line 146) | def is_modifiable(self) -> bool: method is_set (line 149) | def is_set(self) -> bool: method __repr__ (line 152) | def __repr__(self): method __eq__ (line 155) | def __eq__(self, other) -> bool: class SimpleConfig (line 161) | class SimpleConfig(Logger): method __init__ (line 172) | def __init__(self, options=None, read_user_config_function=None, method list_config_vars (line 230) | def list_config_vars(self) -> Sequence[str]: method electrum_path_root (line 233) | def electrum_path_root(self): method set_chain_config_opt_based_on_android_packagename (line 241) | def set_chain_config_opt_based_on_android_packagename(cls, config_opti... method get_selected_chain (line 248) | def get_selected_chain(self) -> Type[constants.AbstractNet]: method electrum_path (line 257) | def electrum_path(self): method rename_config_keys (line 267) | def rename_config_keys(self, config, keypairs, deprecation_warning=Fal... method set_key (line 281) | def set_key(self, key: Union[str, ConfigVar, ConfigVarWithConfig], val... method _set_key_in_user_config (line 301) | def _set_key_in_user_config(self, key: str, value, *, save=True) -> None: method get (line 328) | def get(self, key: str, default=None) -> Any: method is_set (line 347) | def is_set(self, key: Union[str, ConfigVar, ConfigVarWithConfig]) -> b... method is_plugin_enabled (line 354) | def is_plugin_enabled(self, name: str) -> bool: method get_installed_plugins (line 357) | def get_installed_plugins(self) -> AbstractSet[str]: method enable_plugin (line 361) | def enable_plugin(self, name: str): method disable_plugin (line 364) | def disable_plugin(self, name: str): method _check_dependent_keys (line 367) | def _check_dependent_keys(self) -> None: method requires_upgrade (line 375) | def requires_upgrade(self): method upgrade (line 378) | def upgrade(self): method convert_version_2 (line 387) | def convert_version_2(self): method convert_version_3 (line 406) | def convert_version_3(self): method _is_upgrade_method_needed (line 417) | def _is_upgrade_method_needed(self, min_version, max_version): method get_config_version (line 428) | def get_config_version(self): method is_modifiable (line 435) | def is_modifiable(self, key: Union[str, ConfigVar, ConfigVarWithConfig... method make_key_not_modifiable (line 441) | def make_key_not_modifiable(self, key: Union[str, ConfigVar, ConfigVar... method save_user_config (line 447) | def save_user_config(self): method get_backup_dir (line 466) | def get_backup_dir(self) -> Optional[str]: method maybe_complete_wallet_path (line 474) | def maybe_complete_wallet_path(self, path: Optional[str]) -> str: method _complete_wallet_path (line 477) | def _complete_wallet_path(self, path: str) -> str: method get_wallet_path (line 483) | def get_wallet_path(self) -> str: method get_datadir_wallet_path (line 494) | def get_datadir_wallet_path(self): method get_fallback_wallet_path (line 500) | def get_fallback_wallet_path(self): method set_session_timeout (line 503) | def set_session_timeout(self, seconds): method get_session_timeout (line 507) | def get_session_timeout(self): method get_video_device (line 510) | def get_video_device(self): method format_amount (line 516) | def format_amount( method format_amount_and_units (line 539) | def format_amount_and_units(self, *args, **kwargs) -> str: method format_fee_rate (line 542) | def format_fee_rate(self, fee_rate) -> str: method get_base_unit (line 546) | def get_base_unit(self): method set_base_unit (line 549) | def set_base_unit(self, unit): method get_nostr_relays (line 553) | def get_nostr_relays(self) -> Sequence[str]: method add_nostr_relay (line 561) | def add_nostr_relay(self, relay: str): method remove_nostr_relay (line 567) | def remove_nostr_relay(self, relay: str): method __setattr__ (line 573) | def __setattr__(self, name, value): method cv (line 589) | def cv(config): function read_user_config (line 974) | def read_user_config(path: Optional[str]) -> Dict[str, Any]: FILE: electrum/slip39.py function _bits_to_bytes (line 47) | def _bits_to_bytes(n: int) -> int: function _bits_to_words (line 51) | def _bits_to_words(n: int) -> int: function _xor (line 55) | def _xor(a: bytes, b: bytes) -> bytes: class Slip39Error (line 122) | class Slip39Error(RuntimeError): class Share (line 126) | class Share: method __init__ (line 131) | def __init__( method common_parameters (line 154) | def common_parameters(self) -> tuple: class EncryptedSeed (line 165) | class EncryptedSeed: method __init__ (line 170) | def __init__( method decrypt (line 182) | def decrypt(self, passphrase: str) -> bytes: function recover_ems (line 202) | def recover_ems(mnemonics: List[str]) -> EncryptedSeed: function decode_mnemonic (line 242) | def decode_mnemonic(mnemonic: str) -> Share: function get_wordlist (line 301) | def get_wordlist() -> Wordlist: function process_mnemonics (line 313) | def process_mnemonics(mnemonics: List[str]) -> Tuple[Optional[EncryptedS... function _make_group_prefix (line 393) | def _make_group_prefix( function _group_status (line 418) | def _group_status(group: Set[Share], group_prefix) -> str: function _int_from_indices (line 433) | def _int_from_indices(indices: Indices) -> int: function _int_to_indices (line 441) | def _int_to_indices(value: int, output_length: int, bits: int) -> Iterab... function _mnemonic_to_indices (line 447) | def _mnemonic_to_indices(mnemonic: str) -> List[int]: function _get_customization_string (line 465) | def _get_customization_string(extendable_backup_flag: bool) -> bytes: function _rs1024_polymod (line 472) | def _rs1024_polymod(values: Indices) -> int: function _rs1024_verify_checksum (line 494) | def _rs1024_verify_checksum(data: Indices, extendable_backup_flag: bool)... function _precompute_exp_log (line 509) | def _precompute_exp_log() -> Tuple[List[int], List[int]]: function _interpolate (line 531) | def _interpolate(shares, x) -> bytes: function _round_function (line 583) | def _round_function(i: int, passphrase: bytes, e: int, salt: bytes, r: b... function _get_salt (line 594) | def _get_salt(identifier: int, extendable_backup_flag: bool) -> bytes: function _create_digest (line 603) | def _create_digest(random_data: bytes, shared_secret: bytes) -> bytes: function _recover_secret (line 607) | def _recover_secret(threshold: int, shares: List[Tuple[int, bytes]]) -> ... function _decode_mnemonics (line 623) | def _decode_mnemonics( FILE: electrum/sql_db.py function sql (line 11) | def sql(func): class SqlDB (line 24) | class SqlDB(Logger): method __init__ (line 26) | def __init__(self, asyncio_loop: asyncio.BaseEventLoop, path, commit_i... method stop (line 38) | def stop(self): method filesize (line 41) | def filesize(self): method run_sql (line 44) | def run_sql(self): method create_database (line 75) | def create_database(self): FILE: electrum/storage.py function get_derivation_used_for_hw_device_encryption (line 44) | def get_derivation_used_for_hw_device_encryption(): class StorageEncryptionVersion (line 50) | class StorageEncryptionVersion(IntEnum): class StorageReadWriteError (line 56) | class StorageReadWriteError(Exception): pass class StorageOnDiskUnexpectedlyChanged (line 59) | class StorageOnDiskUnexpectedlyChanged(Exception): pass class WalletStorage (line 63) | class WalletStorage(Logger): method __init__ (line 67) | def __init__( method read (line 96) | def read(self): method write (line 99) | def write(self, data: str) -> None: method append (line 122) | def append(self, data: str) -> None: method _needs_consolidation (line 135) | def _needs_consolidation(self): method should_do_full_write_next (line 138) | def should_do_full_write_next(self) -> bool: method file_exists (line 147) | def file_exists(self) -> bool: method is_past_initial_decryption (line 150) | def is_past_initial_decryption(self) -> bool: method is_encrypted (line 159) | def is_encrypted(self) -> bool: method is_encrypted_with_user_pw (line 163) | def is_encrypted_with_user_pw(self) -> bool: method is_encrypted_with_hw_device (line 166) | def is_encrypted_with_hw_device(self) -> bool: method get_encryption_version (line 169) | def get_encryption_version(self): method _init_encryption_version (line 180) | def _init_encryption_version(self): method get_eckey_from_password (line 193) | def get_eckey_from_password(password): method _get_encryption_magic (line 200) | def _get_encryption_magic(self): method decrypt (line 209) | def decrypt(self, password) -> None: method encrypt_before_writing (line 223) | def encrypt_before_writing(self, plaintext: str) -> str: method check_password (line 235) | def check_password(self, password: Optional[str]) -> None: method set_password (line 247) | def set_password(self, password, enc_version=None): method basename (line 261) | def basename(self) -> str: FILE: electrum/submarine_swaps.py function _check_swap_scriptcode (line 103) | def _check_swap_scriptcode( function _construct_swap_scriptcode (line 138) | def _construct_swap_scriptcode( class SwapServerError (line 154) | class SwapServerError(Exception): method __init__ (line 155) | def __init__(self, message=None): method __str__ (line 159) | def __str__(self): function now (line 165) | def now(): class SwapFees (line 170) | class SwapFees: class SwapOffer (line 179) | class SwapOffer: method server_npub (line 187) | def server_npub(self): class SwapData (line 193) | class SwapData(StoredObject): method payment_hash (line 213) | def payment_hash(self) -> bytes: method is_funded (line 216) | def is_funded(self) -> bool: function pubkey_to_rgb_color (line 220) | def pubkey_to_rgb_color(swapserver_pubkey: str) -> Tuple[int, int, int]: class SwapManager (line 230) | class SwapManager(Logger): method __init__ (line 235) | def __init__(self, *, wallet: 'Abstract_Wallet', lnworker: 'LNWallet'): method start_network (line 271) | def start_network(self, network: 'Network'): method run_nostr_server (line 287) | async def run_nostr_server(self): method main_loop (line 323) | async def main_loop(self): method stop (line 336) | async def stop(self): method create_transport (line 339) | def create_transport(self) -> 'SwapServerTransport': method set_nostr_proof_of_work (line 347) | async def set_nostr_proof_of_work(self) -> None: method pay_invoice (line 364) | async def pay_invoice(self, key): method pay_pending_invoices (line 381) | async def pay_pending_invoices(self): method cancel_normal_swap (line 390) | def cancel_normal_swap(self, swap: SwapData): method _fail_swap (line 399) | def _fail_swap(self, swap: SwapData, reason: str): method extract_preimage (line 425) | def extract_preimage(cls, swap: SwapData, claim_tx: Transaction) -> Op... method _claim_swap (line 437) | async def _claim_swap(self, swap: SwapData) -> None: method _claim_to_output (line 551) | async def _claim_to_output(self, swap: SwapData, claim_txin: PartialTx... method get_fee_for_txbatcher (line 587) | def get_fee_for_txbatcher(self): method _get_tx_fee (line 590) | def _get_tx_fee(self, policy_descriptor: str): method _sanity_check_swap_costs (line 594) | def _sanity_check_swap_costs( method get_swap (line 614) | def get_swap(self, payment_hash: bytes) -> Optional[SwapData]: method add_lnwatcher_callback (line 624) | def add_lnwatcher_callback(self, swap: SwapData) -> None: method hold_invoice_callback (line 628) | async def hold_invoice_callback(self, payment_hash: bytes) -> None: method create_normal_swap (line 639) | def create_normal_swap(self, *, lightning_amount_sat: int, payment_has... method add_normal_swap (line 670) | def add_normal_swap( method create_reverse_swap (line 754) | def create_reverse_swap(self, *, lightning_amount_sat: int, their_pubk... method add_reverse_swap (line 784) | def add_reverse_swap( method server_add_swap_invoice (line 830) | def server_add_swap_invoice(self, request: dict) -> dict: method normal_swap (line 859) | async def normal_swap( method request_normal_swap (line 899) | async def request_normal_swap( method wait_for_htlcs_and_broadcast (line 972) | async def wait_for_htlcs_and_broadcast( method create_funding_output (line 1005) | def create_funding_output(self, swap: SwapData) -> PartialTxOutput: method create_funding_tx (line 1008) | def create_funding_tx( method request_swap_for_amount (line 1034) | async def request_swap_for_amount( method broadcast_funding_tx (line 1053) | async def broadcast_funding_tx(self, swap: SwapData, tx: Transaction) ... method reverse_swap (line 1057) | async def reverse_swap( method _add_or_reindex_swap (line 1185) | def _add_or_reindex_swap(self, swap: SwapData, *, is_new: bool) -> None: method server_update_pairs (line 1194) | def server_update_pairs(self) -> None: method _keep_leading_digits (line 1209) | def _keep_leading_digits(num: int, digits: int) -> int: method update_pairs (line 1217) | def update_pairs(self, pairs: SwapFees): method trigger_pairs_updated_threadsafe (line 1226) | def trigger_pairs_updated_threadsafe(self): method get_provider_max_forward_amount (line 1234) | def get_provider_max_forward_amount(self) -> int: method get_provider_max_reverse_amount (line 1238) | def get_provider_max_reverse_amount(self) -> int: method get_min_amount (line 1242) | def get_min_amount(self) -> int: method check_invoice_amount (line 1246) | def check_invoice_amount(self, x, is_reverse: bool) -> bool: method _get_recv_amount (line 1253) | def _get_recv_amount(self, send_amount: Optional[int], *, is_reverse: ... method _get_send_amount (line 1283) | def _get_send_amount(self, recv_amount: Optional[int], *, is_reverse: ... method get_recv_amount (line 1313) | def get_recv_amount(self, send_amount: Optional[int], *, is_reverse: b... method get_send_amount (line 1328) | def get_send_amount(self, recv_amount: Optional[int], *, is_reverse: b... method get_swaps_by_funding_tx (line 1342) | def get_swaps_by_funding_tx(self, tx: Transaction) -> Iterable[SwapData]: method get_swaps_by_claim_tx (line 1350) | def get_swaps_by_claim_tx(self, tx: Transaction) -> Iterable[Tuple[int... method get_swap_by_claim_txin (line 1357) | def get_swap_by_claim_txin(self, txin: TxInput) -> Optional[SwapData]: method is_lockup_address_for_a_swap (line 1360) | def is_lockup_address_for_a_swap(self, addr: str) -> bool: method add_txin_info (line 1364) | def add_txin_info(cls, swap, txin: PartialTxInput) -> None: method create_claim_txin (line 1378) | def create_claim_txin( method client_max_amount_forward_swap (line 1399) | def client_max_amount_forward_swap(self) -> Optional[int]: method client_max_amount_reverse_swap (line 1410) | def client_max_amount_reverse_swap(self) -> Optional[int]: method server_create_normal_swap (line 1419) | def server_create_normal_swap(self, request): method server_create_swap (line 1440) | def server_create_swap(self, request): method get_groups_for_onchain_history (line 1472) | def get_groups_for_onchain_history(self): method get_group_id_for_payment_hash (line 1536) | def get_group_id_for_payment_hash(self, payment_hash: bytes) -> Option... method get_pending_swaps (line 1543) | def get_pending_swaps(self) -> List[SwapData]: class SwapServerTransport (line 1562) | class SwapServerTransport(Logger): method __init__ (line 1564) | def __init__(self, *, config: 'SimpleConfig', sm: 'SwapManager'): method __enter__ (line 1572) | def __enter__(self): method __exit__ (line 1575) | def __exit__(self, ex_type, ex, tb): method __aenter__ (line 1578) | async def __aenter__(self): method __aexit__ (line 1581) | async def __aexit__(self, exc_type, exc_val, exc_tb): method send_request_to_server (line 1584) | async def send_request_to_server(self, method: str, request_data: Opti... method uses_proxy (line 1589) | def uses_proxy(self): class HttpTransport (line 1593) | class HttpTransport(SwapServerTransport): method __init__ (line 1595) | def __init__(self, config, sm): method __enter__ (line 1600) | def __enter__(self): method __exit__ (line 1604) | def __exit__(self, ex_type, ex, tb): method __aenter__ (line 1607) | async def __aenter__(self): method __aexit__ (line 1611) | async def __aexit__(self, exc_type, exc_val, exc_tb): method send_request_to_server (line 1614) | async def send_request_to_server(self, method, request_data): method get_pairs_just_once (line 1633) | async def get_pairs_just_once(self) -> None: class NostrTransport (line 1653) | class NostrTransport(SwapServerTransport): method __init__ (line 1665) | def __init__(self, config, sm, keypair: Keypair): method __enter__ (line 1678) | def __enter__(self): method __exit__ (line 1682) | def __exit__(self, ex_type, ex, tb): method __aenter__ (line 1686) | async def __aenter__(self): method __aexit__ (line 1690) | async def __aexit__(self, exc_type, exc_val, exc_tb): method main_loop (line 1694) | async def main_loop(self): method stop (line 1724) | async def stop(self): method relays (line 1733) | def relays(self): method get_relay_manager (line 1740) | def get_relay_manager(self) -> aionostr.Manager: method get_offer (line 1759) | def get_offer(self, pubkey: str) -> Optional[SwapOffer]: method get_recent_offers (line 1762) | def get_recent_offers(self) -> Sequence[SwapOffer]: method publish_offer (line 1774) | async def publish_offer(self, sm: 'SwapManager') -> None: method send_direct_message (line 1805) | async def send_direct_message(self, pubkey: str, content: str, *, retr... method send_request_to_server (line 1826) | async def send_request_to_server(self, method: str, request_data: dict... method _get_pairs_loop (line 1842) | async def _get_pairs_loop(self): method update_relays (line 1909) | async def update_relays(self): method rebroadcast_event (line 1931) | async def rebroadcast_event(self, event: Event, server_relays: Sequenc... method check_direct_messages (line 1947) | async def check_direct_messages(self): method _handle_requests (line 1975) | async def _handle_requests(self) -> None: method _store_last_swapserver_relays (line 2004) | def _store_last_swapserver_relays(self, relays: Sequence[str]): method _load_last_swapserver_relays (line 2015) | def _load_last_swapserver_relays(self) -> Optional[Sequence[str]]: FILE: electrum/synchronizer.py class SynchronizerFailure (line 45) | class SynchronizerFailure(Exception): pass function history_status (line 48) | def history_status(h: Sequence[tuple[str, int]]) -> Optional[str]: class SynchronizerBase (line 57) | class SynchronizerBase(NetworkJobOnDefaultServer): method __init__ (line 61) | def __init__(self, network: 'Network'): method _reset (line 66) | def _reset(self): method _run_tasks (line 76) | async def _run_tasks(self, *, taskgroup): method add (line 86) | def add(self, addr: str) -> None: method _add_address (line 90) | async def _add_address(self, addr: str): method _on_address_status (line 99) | async def _on_address_status(self, addr: str, status: Optional[str]): method _subscribe_to_address (line 105) | async def _subscribe_to_address(self, addr): method handle_status (line 118) | async def handle_status(self): method main (line 127) | async def main(self): class Synchronizer (line 131) | class Synchronizer(SynchronizerBase): method __init__ (line 139) | def __init__(self, adb: 'AddressSynchronizer'): method _reset (line 143) | def _reset(self): method diagnostic_name (line 150) | def diagnostic_name(self): method is_up_to_date (line 153) | def is_up_to_date(self): method _maybe_request_history_for_addr (line 163) | async def _maybe_request_history_for_addr(self, addr: str, *, ann_stat... method _on_address_status (line 183) | async def _on_address_status(self, addr, status): method _request_missing_txs (line 223) | async def _request_missing_txs(self, hist, *, allow_server_not_finding... method _get_transaction (line 241) | async def _get_transaction(self, tx_hash, *, allow_server_not_finding_... method main (line 262) | async def main(self): class Notifier (line 290) | class Notifier(SynchronizerBase): method __init__ (line 294) | def __init__(self, network): method main (line 299) | async def main(self): method start_watching_addr (line 309) | async def start_watching_addr(self, addr: str, url: str): method stop_watching_addr (line 312) | async def stop_watching_addr(self, addr: str): method _on_address_status (line 316) | async def _on_address_status(self, addr, status): FILE: electrum/trampoline.py function hardcoded_trampoline_nodes (line 44) | def hardcoded_trampoline_nodes() -> Mapping[str, LNPeerAddr]: function trampolines_by_id (line 59) | def trampolines_by_id(): function is_hardcoded_trampoline (line 63) | def is_hardcoded_trampoline(node_id: bytes) -> bool: function encode_routing_info (line 67) | def encode_routing_info(r_tags: Sequence[Sequence[Sequence[Any]]]) -> Li... function decode_routing_info (line 82) | def decode_routing_info(rinfo: bytes) -> Sequence[Sequence[Sequence[Any]]]: function is_legacy_relay (line 103) | def is_legacy_relay(invoice_features, r_tags) -> Tuple[bool, Set[bytes]]: function _extend_trampoline_route (line 137) | def _extend_trampoline_route( function _allocate_fee_along_route (line 163) | def _allocate_fee_along_route( function _choose_second_trampoline (line 191) | def _choose_second_trampoline( function create_trampoline_route (line 209) | def create_trampoline_route( function create_trampoline_onion (line 285) | def create_trampoline_onion( function create_trampoline_route_and_onion (line 361) | def create_trampoline_route_and_onion( FILE: electrum/transaction.py class SerializationError (line 70) | class SerializationError(Exception): class UnknownTxinType (line 74) | class UnknownTxinType(Exception): class BadHeaderMagic (line 78) | class BadHeaderMagic(SerializationError): class UnexpectedEndOfStream (line 82) | class UnexpectedEndOfStream(SerializationError): class PSBTInputConsistencyFailure (line 86) | class PSBTInputConsistencyFailure(SerializationError): class MalformedBitcoinScript (line 90) | class MalformedBitcoinScript(Exception): class MissingTxInputAmount (line 94) | class MissingTxInputAmount(Exception): class TxinDataFetchProgress (line 98) | class TxinDataFetchProgress(NamedTuple): class Sighash (line 105) | class Sighash(IntEnum): method is_valid (line 115) | def is_valid(cls, sighash: int, *, is_taproot: bool = False) -> bool: method to_sigbytes (line 125) | def to_sigbytes(cls, sighash: int) -> bytes: class TxOutput (line 131) | class TxOutput: method __init__ (line 135) | def __init__(self, *, scriptpubkey: bytes, value: Union[int, str]): method from_address_and_value (line 142) | def from_address_and_value(cls, address: str, value: Union[int, str]) ... method serialize_to_network (line 146) | def serialize_to_network(self) -> bytes: method from_network_bytes (line 154) | def from_network_bytes(cls, raw: bytes) -> 'TxOutput': method to_legacy_tuple (line 162) | def to_legacy_tuple(self) -> Tuple[int, str, Union[int, str]]: method from_legacy_tuple (line 168) | def from_legacy_tuple(cls, _type: int, addr: str, val: Union[int, str]... method scriptpubkey (line 176) | def scriptpubkey(self) -> bytes: method scriptpubkey (line 180) | def scriptpubkey(self, scriptpubkey: bytes): method address (line 185) | def address(self) -> Optional[str]: method get_ui_address_str (line 190) | def get_ui_address_str(self) -> str: method __repr__ (line 196) | def __repr__(self): method __eq__ (line 199) | def __eq__(self, other): method __ne__ (line 204) | def __ne__(self, other): method __hash__ (line 207) | def __hash__(self) -> int: method to_json (line 210) | def to_json(self): class BIP143SharedTxDigestFields (line 219) | class BIP143SharedTxDigestFields(NamedTuple): # witness v0 method from_tx (line 225) | def from_tx(cls, tx: 'Transaction') -> 'BIP143SharedTxDigestFields': class BIP341SharedTxDigestFields (line 240) | class BIP341SharedTxDigestFields(NamedTuple): # witness v1 method from_tx (line 248) | def from_tx(cls, tx: 'Transaction') -> 'BIP341SharedTxDigestFields': class SighashCache (line 271) | class SighashCache: method __init__ (line 273) | def __init__(self): method get_witver0_data_for_tx (line 277) | def get_witver0_data_for_tx(self, tx: 'Transaction') -> BIP143SharedTx... method get_witver1_data_for_tx (line 282) | def get_witver1_data_for_tx(self, tx: 'Transaction') -> BIP341SharedTx... class TxOutpoint (line 288) | class TxOutpoint(NamedTuple): method from_str (line 293) | def from_str(cls, s: str) -> 'TxOutpoint': method __str__ (line 299) | def __str__(self) -> str: method __repr__ (line 302) | def __repr__(self): method to_str (line 305) | def to_str(self) -> str: method to_json (line 308) | def to_json(self): method serialize_to_network (line 311) | def serialize_to_network(self) -> bytes: method is_coinbase (line 314) | def is_coinbase(self) -> bool: method short_name (line 317) | def short_name(self): class TxInput (line 321) | class TxInput: method __init__ (line 328) | def __init__(self, *, method get_time_based_relative_locktime (line 351) | def get_time_based_relative_locktime(self) -> Optional[int]: method get_block_based_relative_locktime (line 359) | def get_block_based_relative_locktime(self) -> Optional[int]: method short_id (line 367) | def short_id(self): method utxo (line 374) | def utxo(self): method utxo (line 378) | def utxo(self, tx: Optional['Transaction']): method validate_data (line 395) | def validate_data(self, *, utxo: Optional['Transaction'] = None, **kwa... method is_coinbase_input (line 402) | def is_coinbase_input(self) -> bool: method is_coinbase_output (line 406) | def is_coinbase_output(self) -> bool: method value_sats (line 412) | def value_sats(self) -> Optional[int]: method address (line 416) | def address(self) -> Optional[str]: method scriptpubkey (line 422) | def scriptpubkey(self) -> Optional[bytes]: method to_json (line 425) | def to_json(self): method serialize_to_network (line 438) | def serialize_to_network(self, *, script_sig: bytes = None) -> bytes: method witness_elements (line 449) | def witness_elements(self) -> Sequence[bytes]: method is_segwit (line 457) | def is_segwit(self, *, guess_for_address=False) -> bool: method is_taproot (line 462) | def is_taproot(self) -> Optional[bool]: method add_info_from_network (line 468) | async def add_info_from_network( method get_scriptcode_for_sighash (line 497) | def get_scriptcode_for_sighash(self) -> bytes: class BCDataStream (line 559) | class BCDataStream(object): method __init__ (line 562) | def __init__(self): method clear (line 566) | def clear(self): method write (line 570) | def write(self, _bytes: Union[bytes, bytearray]): # Initialize with s... method read_string (line 577) | def read_string(self, encoding='ascii'): method write_string (line 592) | def write_string(self, string, encoding='ascii'): method read_bytes (line 598) | def read_bytes(self, length: int) -> bytes: method write_bytes (line 612) | def write_bytes(self, _bytes: Union[bytes, bytearray], length: int): method can_read_more (line 616) | def can_read_more(self) -> bool: method read_boolean (line 621) | def read_boolean(self) -> bool: return self.read_bytes(1) != b'\x00' method read_int16 (line 622) | def read_int16(self): return self._read_num(' bool: method is_instance (line 722) | def is_instance(cls, item): class OPGeneric (line 729) | class OPGeneric: method __init__ (line 730) | def __init__(self, matcher: Callable[[Any], bool] | None = None): method match (line 734) | def match(self, op) -> bool: method is_instance (line 738) | def is_instance(cls, item) -> bool: function check_scriptpubkey_template_and_dust (line 760) | def check_scriptpubkey_template_and_dust(scriptpubkey, amount: Optional[... function merge_duplicate_tx_outputs (line 777) | def merge_duplicate_tx_outputs(outputs: Iterable['PartialTxOutput']) -> ... function match_script_against_template (line 789) | def match_script_against_template(script, template, debug=False) -> bool: function get_script_type_from_output_script (line 821) | def get_script_type_from_output_script(scriptpubkey: bytes) -> Optional[... function get_address_from_output_script (line 843) | def get_address_from_output_script(_bytes: bytes, *, net=None) -> Option... function parse_input (line 871) | def parse_input(vds: BCDataStream) -> TxInput: function parse_witness (line 880) | def parse_witness(vds: BCDataStream, txin: TxInput) -> None: function parse_output (line 886) | def parse_output(vds: BCDataStream) -> TxOutput: function multisig_script (line 898) | def multisig_script(public_keys: Sequence[str], m: int) -> bytes: class Transaction (line 904) | class Transaction: method __str__ (line 907) | def __str__(self): method __init__ (line 910) | def __init__(self, raw): method locktime (line 928) | def locktime(self): method locktime (line 933) | def locktime(self, value: int): method version (line 939) | def version(self): method version (line 944) | def version(self, value): method to_json (line 948) | def to_json(self) -> dict: method inputs (line 957) | def inputs(self) -> Sequence[TxInput]: method outputs (line 962) | def outputs(self) -> Sequence[TxOutput]: method deserialize (line 967) | def deserialize(self) -> None: method serialize_witness (line 1000) | def serialize_witness(cls, txin: TxInput, *, estimate_size=False) -> b... method input_script (line 1027) | def input_script(cls, txin: TxInput, *, estimate_size=False) -> bytes: method serialize_preimage (line 1053) | def serialize_preimage( method verify_sig_for_txin (line 1151) | def verify_sig_for_txin( method is_segwit (line 1170) | def is_segwit(self, *, guess_for_address=False): method invalidate_ser_cache (line 1174) | def invalidate_ser_cache(self): method serialize (line 1178) | def serialize(self) -> str: method serialize_as_bytes (line 1183) | def serialize_as_bytes(self) -> bytes: method serialize_to_network (line 1186) | def serialize_to_network(self, *, estimate_size=False, include_sigs=Tr... method to_qr_data (line 1219) | def to_qr_data(self) -> Tuple[str, bool]: method txid (line 1233) | def txid(self) -> Optional[str]: method wtxid (line 1247) | def wtxid(self) -> Optional[str]: method add_info_from_wallet (line 1258) | def add_info_from_wallet(self, wallet: 'Abstract_Wallet', **kwargs) ->... method add_info_from_network (line 1263) | async def add_info_from_network( method is_missing_info_from_network (line 1312) | def is_missing_info_from_network(self) -> bool: method add_info_from_wallet_and_network (line 1315) | def add_info_from_wallet_and_network( method get_time_based_relative_locktime (line 1334) | def get_time_based_relative_locktime(self) -> Optional[int]: method get_block_based_relative_locktime (line 1340) | def get_block_based_relative_locktime(self) -> Optional[int]: method is_rbf_enabled (line 1346) | def is_rbf_enabled(self) -> bool: method estimated_size (line 1350) | def estimated_size(self) -> int: method estimated_input_weight (line 1368) | def estimated_input_weight(cls, txin: TxInput, is_segwit_tx: bool) -> ... method estimated_output_size_for_address (line 1381) | def estimated_output_size_for_address(cls, address: str) -> int: method estimated_output_size_for_script (line 1387) | def estimated_output_size_for_script(cls, script: bytes) -> int: method virtual_size_from_weight (line 1395) | def virtual_size_from_weight(cls, weight: int) -> int: method satperbyte_from_satperkw (line 1399) | def satperbyte_from_satperkw(cls, feerate_kw): method estimated_total_size (line 1403) | def estimated_total_size(self): method estimated_witness_size (line 1410) | def estimated_witness_size(self): method estimated_base_size (line 1420) | def estimated_base_size(self): method estimated_weight (line 1424) | def estimated_weight(self): method is_complete (line 1430) | def is_complete(self) -> bool: method get_output_idxs_from_scriptpubkey (line 1433) | def get_output_idxs_from_scriptpubkey(self, script: bytes) -> Set[int]: method get_output_idxs_from_address (line 1447) | def get_output_idxs_from_address(self, addr: str) -> Set[int]: method output_value_for_address (line 1451) | def output_value_for_address(self, addr): method input_value (line 1459) | def input_value(self) -> int: method output_value (line 1465) | def output_value(self) -> int: method get_fee (line 1468) | def get_fee(self) -> Optional[int]: method get_input_idx_that_spent_prevout (line 1474) | def get_input_idx_that_spent_prevout(self, prevout: TxOutpoint) -> Opt... function convert_raw_tx_to_hex (line 1489) | def convert_raw_tx_to_hex(raw: Union[str, bytes]) -> str: function tx_from_any (line 1527) | def tx_from_any(raw: Union[str, bytes], *, class PSBTGlobalType (line 1549) | class PSBTGlobalType(IntEnum): class PSBTInputType (line 1555) | class PSBTInputType(IntEnum): class PSBTOutputType (line 1570) | class PSBTOutputType(IntEnum): function deser_compact_size (line 1577) | def deser_compact_size(f) -> Optional[int]: class PSBTSection (line 1593) | class PSBTSection: method _populate_psbt_fields_from_fd (line 1595) | def _populate_psbt_fields_from_fd(self, fd=None): method get_next_kv_from_fd (line 1606) | def get_next_kv_from_fd(cls, fd) -> Tuple[int, bytes, bytes]: method create_psbt_writer (line 1623) | def create_psbt_writer(cls, fd): method get_keytype_and_key_from_fullkey (line 1633) | def get_keytype_and_key_from_fullkey(cls, full_key: bytes) -> Tuple[in... method get_fullkey_from_keytype_and_key (line 1641) | def get_fullkey_from_keytype_and_key(cls, key_type: int, key: bytes) -... method _serialize_psbt_section (line 1645) | def _serialize_psbt_section(self, fd): method parse_psbt_section_kv (line 1650) | def parse_psbt_section_kv(self, kt: int, key: bytes, val: bytes) -> None: method serialize_psbt_section_kvs (line 1653) | def serialize_psbt_section_kvs(self, wr) -> None: class PartialTxInput (line 1657) | class PartialTxInput(TxInput, PSBTSection): method __init__ (line 1658) | def __init__(self, *args, **kwargs): method witness_utxo (line 1680) | def witness_utxo(self): method witness_utxo (line 1684) | def witness_utxo(self, value: Optional[TxOutput]): method pubkeys (line 1689) | def pubkeys(self) -> Set[bytes]: method script_descriptor (line 1695) | def script_descriptor(self): method script_descriptor (line 1699) | def script_descriptor(self, desc: Optional[Descriptor]): method to_json (line 1707) | def to_json(self): method from_txin (line 1730) | def from_txin(cls, txin: TxInput, *, strip_witness: bool = True) -> 'P... method validate_data (line 1743) | def validate_data( method parse_psbt_section_kv (line 1783) | def parse_psbt_section_kv(self, kt, key, val): method serialize_psbt_section_kvs (line 1864) | def serialize_psbt_section_kvs(self, wr): method value_sats (line 1894) | def value_sats(self) -> Optional[int]: method address (line 1904) | def address(self) -> Optional[str]: method scriptpubkey (line 1914) | def scriptpubkey(self) -> Optional[bytes]: method is_complete (line 1923) | def is_complete(self) -> bool: method get_satisfaction_progress (line 1939) | def get_satisfaction_progress(self) -> Tuple[int, int]: method finalize (line 1944) | def finalize(self) -> None: method combine_with_other_txin (line 1965) | def combine_with_other_txin(self, other_txin: 'TxInput') -> None: method convert_utxo_to_witness_utxo (line 1993) | def convert_utxo_to_witness_utxo(self) -> None: method is_native_segwit (line 1998) | def is_native_segwit(self) -> Optional[bool]: method is_p2sh_segwit (line 2005) | def is_p2sh_segwit(self) -> Optional[bool]: method is_segwit (line 2032) | def is_segwit(self, *, guess_for_address=False) -> bool: method is_taproot (line 2049) | def is_taproot(self) -> Optional[bool]: method already_has_some_signatures (line 2056) | def already_has_some_signatures(self) -> bool: method get_scriptcode_for_sighash (line 2063) | def get_scriptcode_for_sighash(self) -> bytes: class PartialTxOutput (line 2091) | class PartialTxOutput(TxOutput, PSBTSection): method __init__ (line 2092) | def __init__(self, *args, **kwargs): method pubkeys (line 2105) | def pubkeys(self) -> Set[bytes]: method script_descriptor (line 2111) | def script_descriptor(self): method script_descriptor (line 2115) | def script_descriptor(self, desc: Optional[Descriptor]): method to_json (line 2123) | def to_json(self): method from_txout (line 2136) | def from_txout(cls, txout: TxOutput) -> 'PartialTxOutput': method parse_psbt_section_kv (line 2141) | def parse_psbt_section_kv(self, kt, key, val): method serialize_psbt_section_kvs (line 2169) | def serialize_psbt_section_kvs(self, wr): method combine_with_other_txout (line 2181) | def combine_with_other_txout(self, other_txout: 'TxOutput') -> None: class PartialTransaction (line 2193) | class PartialTransaction(Transaction): method __init__ (line 2195) | def __init__(self): method to_json (line 2203) | def to_json(self) -> dict: method from_tx (line 2213) | def from_tx(cls, tx: Transaction, *, strip_witness: bool = True) -> 'P... method from_raw_psbt (line 2224) | def from_raw_psbt(cls, raw: Union[str, bytes, bytearray]) -> 'PartialT... method requires_keystore (line 2322) | def requires_keystore(self): method from_io (line 2330) | def from_io( method _serialize_psbt (line 2350) | def _serialize_psbt(self, fd) -> None: method finalize_psbt (line 2369) | def finalize_psbt(self) -> None: method combine_with_other_psbt (line 2373) | def combine_with_other_psbt(self, other_tx: 'Transaction') -> None: method join_with_other_psbt (line 2393) | def join_with_other_psbt(self, other_tx: 'PartialTransaction', *, conf... method inputs (line 2414) | def inputs(self) -> Sequence[PartialTxInput]: method outputs (line 2417) | def outputs(self) -> Sequence[PartialTxOutput]: method add_inputs (line 2420) | def add_inputs(self, inputs: List[PartialTxInput], BIP69_sort=True) ->... method add_outputs (line 2426) | def add_outputs(self, outputs: List[PartialTxOutput], *, merge_duplica... method replace_output_address (line 2434) | def replace_output_address(self, old_address: str, new_address: str) -... method get_change_outputs (line 2444) | def get_change_outputs(self) -> Sequence[PartialTxOutput]: method has_change (line 2447) | def has_change(self) -> bool: method get_dummy_output (line 2450) | def get_dummy_output(self, dummy_addr: str) -> Optional['PartialTxOutp... method set_rbf (line 2458) | def set_rbf(self, rbf: bool) -> None: method BIP69_sort (line 2464) | def BIP69_sort(self, inputs=True, outputs=True): method sign (line 2472) | def sign(self, keypairs: Mapping[bytes, bytes]) -> None: method sign_txin (line 2489) | def sign_txin( method is_complete (line 2514) | def is_complete(self) -> bool: method signature_count (line 2517) | def signature_count(self) -> Tuple[int, int]: method serialize (line 2525) | def serialize(self) -> str: method serialize_as_bytes (line 2532) | def serialize_as_bytes(self, *, force_psbt: bool = False) -> bytes: method _serialize_as_base64 (line 2542) | def _serialize_as_base64(self) -> str: method update_signatures (line 2546) | def update_signatures(self, signatures: Sequence[Union[bytes, None]]) ... method add_signature_to_txin (line 2581) | def add_signature_to_txin(self, *, txin_idx: int, signing_pubkey: byte... method add_info_from_wallet (line 2589) | def add_info_from_wallet( method remove_xpubs_and_bip32_paths (line 2622) | def remove_xpubs_and_bip32_paths(self) -> None: method prepare_for_export_for_coinjoin (line 2629) | def prepare_for_export_for_coinjoin(self) -> None: method prepare_for_export_for_hardware_device (line 2644) | async def prepare_for_export_for_hardware_device(self, wallet: 'Abstra... method convert_all_utxos_to_witness_utxos (line 2658) | def convert_all_utxos_to_witness_utxos(self) -> None: method remove_signatures (line 2666) | def remove_signatures(self): function pack_bip32_root_fingerprint_and_int_path (line 2676) | def pack_bip32_root_fingerprint_and_int_path(xfp: bytes, path: Sequence[... function unpack_bip32_root_fingerprint_and_int_path (line 2682) | def unpack_bip32_root_fingerprint_and_int_path(path: bytes) -> Tuple[byt... FILE: electrum/txbatcher.py class TxBatcher (line 86) | class TxBatcher(Logger): method __init__ (line 90) | def __init__(self, wallet: 'Abstract_Wallet'): method add_payment_output (line 103) | def add_payment_output(self, key: str, output: 'PartialTxOutput') -> N... method add_sweep_input (line 108) | def add_sweep_input(self, key: str, sweep_info: 'SweepInfo') -> None: method _maybe_create_new_batch (line 124) | def _maybe_create_new_batch(self, key: str, fee_policy_name: str) -> '... method delete_batch (line 135) | def delete_batch(self, key: str) -> None: method find_batch_by_prevout (line 140) | def find_batch_by_prevout(self, prevout: str) -> Optional['TxBatch']: method find_batch_of_txid (line 146) | def find_batch_of_txid(self, txid: str) -> Optional[str]: method is_mine (line 152) | def is_mine(self, txid: str) -> bool: method run_batch (line 156) | async def run_batch(self, key: str, batch: 'TxBatch') -> None: method run (line 161) | async def run(self): method redeem_legacy_htlcs (line 168) | async def redeem_legacy_htlcs(self) -> None: method _maybe_redeem_legacy_htlcs (line 174) | async def _maybe_redeem_legacy_htlcs(self, sweep_info: 'SweepInfo') ->... method get_password (line 194) | async def get_password(self, txid: str) -> Optional[str]: method set_password_future (line 209) | def set_password_future(self, password: Optional[str]) -> None: method get_password_future (line 219) | def get_password_future(self, txid: str): class TxBatch (line 229) | class TxBatch(Logger): method __init__ (line 231) | def __init__(self, wallet: 'Abstract_Wallet', storage: StoredDict): method fee_policy (line 247) | def fee_policy(self) -> FeePolicy: method run (line 254) | async def run(self) -> None: method is_mine (line 265) | def is_mine(self, txid: str) -> bool: method add_payment_output (line 269) | def add_payment_output(self, output: 'PartialTxOutput') -> None: method is_dust (line 273) | def is_dust(self, sweep_info: SweepInfo) -> bool: method add_sweep_input (line 288) | def add_sweep_input(self, sweep_info: 'SweepInfo') -> None: method _to_pay_after (line 311) | def _to_pay_after(self, tx: Optional[PartialTransaction]) -> Sequence[... method _to_sweep_after (line 326) | def _to_sweep_after(self, tx: Optional[PartialTransaction]) -> Dict[Tx... method _should_bump_fee (line 364) | def _should_bump_fee(self, base_tx: Optional[PartialTransaction]) -> b... method is_done (line 376) | def is_done(self): method find_base_tx (line 380) | async def find_base_tx(self) -> Optional[PartialTransaction]: method run_iteration (line 412) | async def run_iteration(self) -> None: method sign_transaction (line 474) | async def sign_transaction(self, tx: PartialTransaction) -> Optional[P... method create_next_transaction (line 485) | def create_next_transaction(self, base_tx: Optional[PartialTransaction... method add_sweep_info_to_tx (line 518) | def add_sweep_info_to_tx(self, base_tx: PartialTransaction) -> None: method _create_batch_tx (line 527) | def _create_batch_tx( method _clear_unconfirmed_sweeps (line 567) | def _clear_unconfirmed_sweeps(self, tx: PartialTransaction) -> None: method _start_new_batch (line 575) | def _start_new_batch(self, tx: Optional[PartialTransaction]) -> None: method _new_base_tx (line 585) | def _new_base_tx(self, tx: PartialTransaction) -> None: method _create_inputs_from_tx_change (line 595) | def _create_inputs_from_tx_change(self, parent_tx: PartialTransaction)... method _can_broadcast (line 604) | def _can_broadcast(self, sweep_info: 'SweepInfo', base_tx: 'Transactio... FILE: electrum/util.py function inv_dict (line 80) | def inv_dict(d): function all_subclasses (line 84) | def all_subclasses(cls) -> Set: class UnknownBaseUnit (line 102) | class UnknownBaseUnit(Exception): pass function decimal_point_to_base_unit_name (line 105) | def decimal_point_to_base_unit_name(dp: int) -> str: function base_unit_name_to_decimal_point (line 113) | def base_unit_name_to_decimal_point(unit_name: str) -> int: function parse_max_spend (line 121) | def parse_max_spend(amt: Any) -> Optional[int]: class NotEnoughFunds (line 147) | class NotEnoughFunds(Exception): method __str__ (line 148) | def __str__(self): class UneconomicFee (line 152) | class UneconomicFee(Exception): method __str__ (line 153) | def __str__(self): class NoDynamicFeeEstimates (line 157) | class NoDynamicFeeEstimates(Exception): method __str__ (line 158) | def __str__(self): class BelowDustLimit (line 162) | class BelowDustLimit(Exception): class InvalidPassword (line 166) | class InvalidPassword(Exception): method __init__ (line 167) | def __init__(self, message: Optional[str] = None): method __str__ (line 170) | def __str__(self): class AddTransactionException (line 177) | class AddTransactionException(Exception): class UnrelatedTransactionException (line 181) | class UnrelatedTransactionException(AddTransactionException): method __str__ (line 182) | def __str__(self): class FileImportFailed (line 186) | class FileImportFailed(Exception): method __init__ (line 187) | def __init__(self, message=''): method __str__ (line 190) | def __str__(self): class FileExportFailed (line 194) | class FileExportFailed(Exception): method __init__ (line 195) | def __init__(self, message=''): method __str__ (line 198) | def __str__(self): class WalletFileException (line 202) | class WalletFileException(Exception): method __init__ (line 203) | def __init__(self, message='', *, should_report_crash: bool = False): class BitcoinException (line 208) | class BitcoinException(Exception): pass class UserFacingException (line 211) | class UserFacingException(Exception): class InvoiceError (line 215) | class InvoiceError(UserFacingException): pass class NetworkOfflineException (line 218) | class NetworkOfflineException(UserFacingException): method __str__ (line 222) | def __str__(self): class UserCancelled (line 228) | class UserCancelled(Exception): function to_decimal (line 233) | def to_decimal(x: Union[str, float, int, Decimal]) -> Decimal: class Satoshis (line 247) | class Satoshis(object): method __new__ (line 250) | def __new__(cls, value): method __repr__ (line 257) | def __repr__(self): method __str__ (line 260) | def __str__(self): method __eq__ (line 264) | def __eq__(self, other): method __ne__ (line 267) | def __ne__(self, other): method __add__ (line 270) | def __add__(self, other): class Fiat (line 275) | class Fiat(object): method __new__ (line 278) | def __new__(cls, value: Optional[Decimal], ccy: str): method __repr__ (line 286) | def __repr__(self): method __str__ (line 289) | def __str__(self): method to_ui_string (line 295) | def to_ui_string(self): method __eq__ (line 301) | def __eq__(self, other): method __ne__ (line 311) | def __ne__(self, other): method __add__ (line 314) | def __add__(self, other): class MyEncoder (line 319) | class MyEncoder(json.JSONEncoder): method default (line 320) | def default(self, obj): class ThreadJob (line 345) | class ThreadJob(Logger): method __init__ (line 350) | def __init__(self): method run (line 353) | def run(self): class DaemonThread (line 358) | class DaemonThread(threading.Thread, Logger): method __init__ (line 361) | def __init__(self): method add_jobs (line 373) | def add_jobs(self, jobs): method run_jobs (line 377) | def run_jobs(self): method remove_jobs (line 392) | def remove_jobs(self, jobs): method start (line 397) | def start(self): method is_running (line 402) | def is_running(self): method stop (line 406) | def stop(self): method on_stop (line 412) | def on_stop(self): function print_stderr (line 423) | def print_stderr(*args): function print_msg (line 429) | def print_msg(*args): function json_encode (line 436) | def json_encode(obj): function json_decode (line 444) | def json_decode(x): function json_normalize (line 451) | def json_normalize(x): function constant_time_compare (line 460) | def constant_time_compare(val1, val2): function profiler (line 468) | def profiler(func=None, *, min_threshold: Union[int, float, None] = None): class AsyncHangDetector (line 501) | class AsyncHangDetector: method __init__ (line 504) | def __init__( method _monitor (line 515) | async def _monitor(self): method __aenter__ (line 523) | async def __aenter__(self): method __aexit__ (line 526) | async def __aexit__(self, exc_type, exc, tb): function android_ext_dir (line 530) | def android_ext_dir(): function android_backup_dir (line 535) | def android_backup_dir(): function android_data_dir (line 543) | def android_data_dir(): function ensure_sparse_file (line 549) | def ensure_sparse_file(filename): function get_headers_dir (line 559) | def get_headers_dir(config): function assert_datadir_available (line 563) | def assert_datadir_available(config_path): function assert_file_in_datadir_available (line 573) | def assert_file_in_datadir_available(path, config_path): function standardize_path (line 583) | def standardize_path(path): function get_new_wallet_name (line 593) | def get_new_wallet_name(wallet_folder: str) -> str: function is_android_debug_apk (line 607) | def is_android_debug_apk() -> bool: function get_android_package_name (line 617) | def get_android_package_name() -> str: function assert_bytes (line 627) | def assert_bytes(*args): function assert_str (line 639) | def assert_str(*args): function to_string (line 647) | def to_string(x, enc) -> str: function to_bytes (line 656) | def to_bytes(something, encoding='utf8') -> bytes: function xor_bytes (line 673) | def xor_bytes(a: bytes, b: bytes) -> bytes: function user_dir (line 679) | def user_dir(): function resource_path (line 695) | def resource_path(*parts): function is_valid_email (line 703) | def is_valid_email(s): function is_valid_websocket_url (line 708) | def is_valid_websocket_url(url: str) -> bool: function is_hash256_str (line 731) | def is_hash256_str(text: Any) -> bool: function is_hex_str (line 737) | def is_hex_str(text: Any) -> bool: function is_integer (line 749) | def is_integer(val: Any) -> bool: function is_non_negative_integer (line 753) | def is_non_negative_integer(val: Any) -> bool: function is_int_or_float (line 759) | def is_int_or_float(val: Any) -> bool: function is_non_negative_int_or_float (line 763) | def is_non_negative_int_or_float(val: Any) -> bool: function chunks (line 769) | def chunks(items, size: int): function format_satoshis_plain (line 777) | def format_satoshis_plain( function format_satoshis (line 808) | def format_satoshis( function format_fee_satoshis (line 874) | def format_fee_satoshis(fee, *, num_zeros=0, precision=None): function quantize_feerate (line 881) | def quantize_feerate(fee) -> Union[None, Decimal, int]: function timestamp_to_datetime (line 889) | def timestamp_to_datetime(timestamp: Union[int, float, None], *, utc: bo... function format_time (line 898) | def format_time(timestamp: Union[int, float, None]) -> str: function age (line 903) | def age( function delta_time_str (line 922) | def delta_time_str(distance_in_time: timedelta, *, include_seconds: bool... function block_explorer_info (line 1027) | def block_explorer_info(): function block_explorer (line 1038) | def block_explorer(config: 'SimpleConfig') -> Optional[str]: function block_explorer_tuple (line 1052) | def block_explorer_tuple(config: 'SimpleConfig') -> Optional[Tuple[str, ... function block_explorer_URL (line 1067) | def block_explorer_URL(config: 'SimpleConfig', kind: str, item: str) -> ... function raw_input (line 1084) | def raw_input(prompt=None): function parse_json (line 1094) | def parse_json(message): function setup_thread_excepthook (line 1106) | def setup_thread_excepthook(): function send_exception_to_crash_reporter (line 1132) | def send_exception_to_crash_reporter(e: BaseException): function versiontuple (line 1137) | def versiontuple(v): function read_json_file (line 1141) | def read_json_file(path): function write_json_file (line 1154) | def write_json_file(path, data): function os_chmod (line 1163) | def os_chmod(path, mode): function make_dir (line 1175) | def make_dir(path, *, allow_symlink=True): function is_subpath (line 1192) | def is_subpath(long_path: str, short_path: str) -> bool: function log_exceptions (line 1203) | def log_exceptions(func): function ignore_exceptions (line 1224) | def ignore_exceptions(func): function with_lock (line 1237) | def with_lock(func): class TxMinedInfo (line 1247) | class TxMinedInfo: method height (line 1255) | def height(self) -> int: method short_id (line 1265) | def short_id(self) -> Optional[str]: method is_local_like (line 1271) | def is_local_like(self) -> bool: class ShortID (line 1281) | class ShortID(bytes): method __repr__ (line 1283) | def __repr__(self): method __str__ (line 1286) | def __str__(self): method from_components (line 1290) | def from_components(cls, block_height: int, tx_pos_in_block: int, outp... method from_str (line 1297) | def from_str(cls, scid: str) -> 'ShortID': method normalize (line 1309) | def normalize(cls, data: Union[None, str, bytes, 'ShortID']) -> Option... method block_height (line 1320) | def block_height(self) -> int: method txpos (line 1324) | def txpos(self) -> int: method output_index (line 1328) | def output_index(self) -> int: function format_short_id (line 1332) | def format_short_id(short_channel_id: Optional[bytes]): function make_aiohttp_proxy_connector (line 1340) | def make_aiohttp_proxy_connector(proxy: 'ProxySettings', ssl_context: Op... function make_aiohttp_session (line 1352) | def make_aiohttp_session(proxy: Optional['ProxySettings'], headers=None,... class OldTaskGroup (line 1371) | class OldTaskGroup(aiorpcx.TaskGroup): method join (line 1393) | async def join(self): function _aiorpcx_monkeypatched_set_new_deadline (line 1430) | def _aiorpcx_monkeypatched_set_new_deadline(task, deadline): function _aiorpcx_monkeypatched_set_task_deadline (line 1446) | def _aiorpcx_monkeypatched_set_task_deadline(task, deadline): function _aiorpcx_monkeypatched_unset_task_deadline (line 1452) | def _aiorpcx_monkeypatched_unset_task_deadline(task): function wait_for2 (line 1467) | async def wait_for2(fut: Awaitable, timeout: Union[int, float, None]): class TimeoutAfterAsynciolike (line 1482) | class TimeoutAfterAsynciolike(aiorpcx.curio.TimeoutAfter): method __aexit__ (line 1483) | async def __aexit__(self, exc_type, exc_value, tb): function async_timeout (line 1491) | def async_timeout(delay: Union[int, float, None]): class NetworkJobOnDefaultServer (line 1497) | class NetworkJobOnDefaultServer(Logger, ABC): method __init__ (line 1502) | def __init__(self, network: 'Network'): method _reset (line 1517) | def _reset(self): method _start (line 1524) | async def _start(self, interface: 'Interface'): method _run_tasks (line 1542) | async def _run_tasks(self, *, taskgroup: OldTaskGroup) -> None: method stop (line 1551) | async def stop(self, *, full_shutdown: bool = True): method _restart (line 1558) | async def _restart(self, *args): method reset_request_counters (line 1568) | def reset_request_counters(self): method num_requests_sent_and_answered (line 1572) | def num_requests_sent_and_answered(self) -> Tuple[int, int]: method session (line 1576) | def session(self): function detect_tor_socks_proxy (line 1582) | async def detect_tor_socks_proxy() -> Optional[Tuple[str, int]]: function is_tor_socks_port (line 1607) | async def is_tor_socks_port(host: str, port: int) -> bool: function get_asyncio_loop (line 1635) | def get_asyncio_loop() -> asyncio.AbstractEventLoop: function create_and_start_event_loop (line 1645) | def create_and_start_event_loop() -> Tuple[asyncio.AbstractEventLoop, function _set_custom_task_factory (line 1724) | def _set_custom_task_factory(loop: asyncio.AbstractEventLoop): function run_sync_function_on_asyncio_thread (line 1759) | def run_sync_function_on_asyncio_thread(func: Callable[[], Any], *, bloc... class OrderedDictWithIndex (line 1795) | class OrderedDictWithIndex(OrderedDict): method __init__ (line 1801) | def __init__(self): method _recalc_index (line 1806) | def _recalc_index(self): method pos_from_key (line 1810) | def pos_from_key(self, key): method value_from_pos (line 1813) | def value_from_pos(self, pos): method popitem (line 1817) | def popitem(self, *args, **kwargs): method move_to_end (line 1822) | def move_to_end(self, *args, **kwargs): method clear (line 1827) | def clear(self): method pop (line 1832) | def pop(self, *args, **kwargs): method update (line 1837) | def update(self, *args, **kwargs): method __delitem__ (line 1842) | def __delitem__(self, *args, **kwargs): method __setitem__ (line 1847) | def __setitem__(self, key, *args, **kwargs): function make_object_immutable (line 1857) | def make_object_immutable(obj): function multisig_type (line 1872) | def multisig_type(wallet_type): function is_ip_address (line 1883) | def is_ip_address(x: Union[str, bytes]) -> bool: function is_localhost (line 1893) | def is_localhost(host: str) -> bool: function is_private_netaddress (line 1906) | def is_private_netaddress(host: str) -> bool: function list_enabled_bits (line 1919) | def list_enabled_bits(x: int) -> Sequence[int]: function resolve_dns_srv (line 1926) | async def resolve_dns_srv(host: str): function randrange (line 1941) | def randrange(bound: int) -> int: class CallbackManager (line 1951) | class CallbackManager(Logger): method __init__ (line 1959) | def __init__(self): method _wcb_from_any_callback (line 1965) | def _wcb_from_any_callback(cb: Callable) -> weakref.ref[Callable]: method register_callback (line 1974) | def register_callback(self, cb: Callable, events: Sequence[str]) -> None: method unregister_callback (line 1980) | def unregister_callback(self, cb: Callable) -> None: method count_all_callbacks (line 1988) | def count_all_callbacks(self) -> int: method clear_all_callbacks (line 1992) | def clear_all_callbacks(self) -> None: method trigger_callback (line 1996) | def trigger_callback(self, event: str, *args) -> None: class WeakMethodProper (line 2030) | class WeakMethodProper(weakref.WeakMethod): method __init__ (line 2032) | def __init__(self, *args, **kwargs): method __hash__ (line 2037) | def __hash__(self): method __eq__ (line 2040) | def __eq__(self, other): class EventListener (line 2046) | class EventListener: method _list_callbacks (line 2054) | def _list_callbacks(self): method register_callbacks (line 2063) | def register_callbacks(self): method unregister_callbacks (line 2068) | def unregister_callbacks(self): method __del__ (line 2073) | def __del__(self): function event_listener (line 2077) | def event_listener(func): class NetworkRetryManager (line 2091) | class NetworkRetryManager(Generic[_NetAddrType]): method __init__ (line 2094) | def __init__( method _trying_addr_now (line 2113) | def _trying_addr_now(self, addr: _NetAddrType) -> None: method _on_connection_successfully_established (line 2120) | def _on_connection_successfully_established(self, addr: _NetAddrType) ... method _can_retry_addr (line 2123) | def _can_retry_addr(self, addr: _NetAddrType, *, method __calc_delay (line 2139) | def __calc_delay(cls, *, multiplier: float, max_delay: float, method _clear_addr_retry_times (line 2148) | def _clear_addr_retry_times(self) -> None: class ESocksProxy (line 2152) | class ESocksProxy(aiorpcx.SOCKSProxy): method open_connection (line 2156) | async def open_connection(self, host=None, port=None, **kwargs): method from_network_settings (line 2166) | def from_network_settings(cls, network: Optional['Network']) -> Option... class JsonRPCError (line 2189) | class JsonRPCError(Exception): class Codes (line 2191) | class Codes(enum.IntEnum): method __init__ (line 2196) | def __init__(self, *, code: int, message: str, data: Optional[dict] = ... class JsonRPCClient (line 2203) | class JsonRPCClient: method __init__ (line 2205) | def __init__(self, session: aiohttp.ClientSession, url: str): method request (line 2210) | async def request(self, endpoint, *args): method add_method (line 2231) | def add_method(self, endpoint): function random_shuffled_copy (line 2240) | def random_shuffled_copy(x: Iterable[T]) -> List[T]: function test_read_write_permissions (line 2247) | def test_read_write_permissions(path) -> None: class classproperty (line 2269) | class classproperty(property): method __get__ (line 2273) | def __get__(self, owner_self, owner_cls): function sticky_property (line 2277) | def sticky_property(val): function get_running_loop (line 2301) | def get_running_loop() -> Optional[asyncio.AbstractEventLoop]: function error_text_str_to_safe_str (line 2309) | def error_text_str_to_safe_str(err: str, *, max_len: Optional[int] = 500... function error_text_bytes_to_safe_str (line 2319) | def error_text_bytes_to_safe_str(err: bytes, *, max_len: Optional[int] =... function truncate_text (line 2336) | def truncate_text(text: str, *, max_len: Optional[int]) -> str: function nostr_pow_worker (line 2343) | def nostr_pow_worker(nonce, nostr_pubk, target_bits, hash_function, hash... function gen_nostr_ann_pow (line 2359) | async def gen_nostr_ann_pow(nostr_pubk: bytes, target_bits: int) -> Tupl... function get_nostr_ann_pow_amount (line 2396) | def get_nostr_ann_pow_amount(nostr_pubk: bytes, nonce: Optional[int]) ->... class OnchainHistoryItem (line 2409) | class OnchainHistoryItem(NamedTuple): method to_dict (line 2419) | def to_dict(self): class LightningHistoryItem (line 2439) | class LightningHistoryItem(NamedTuple): method to_dict (line 2449) | def to_dict(self): class ChoiceItem (line 2466) | class ChoiceItem: FILE: electrum/utils/memory_leak.py function count_objects_in_memory (line 15) | def count_objects_in_memory(mclasses: Sequence[type[_U]]) -> Mapping[typ... class DebugMem (line 30) | class DebugMem(ThreadJob): method __init__ (line 38) | def __init__(self, classes, interval=30): method mem_stats (line 44) | def mem_stats(self): method run (line 51) | def run(self): function wait_until_obj_is_garbage_collected (line 57) | async def wait_until_obj_is_garbage_collected(wr: weakref.ref) -> None: function debug_memusage_list_all_objects (line 77) | def debug_memusage_list_all_objects(limit: int = 50) -> list[tuple[str, ... function debug_memusage_dump_random_backref_chain (line 86) | def debug_memusage_dump_random_backref_chain(objtype: str) -> Optional[s... FILE: electrum/utils/stacktracer.py function _thread_from_id (line 54) | def _thread_from_id(ident) -> Optional[threading.Thread]: function stacktraces (line 58) | def stacktraces(): class TraceDumper (line 76) | class TraceDumper(threading.Thread): method __init__ (line 82) | def __init__(self, fpath, interval, auto): method run (line 97) | def run(self): method stop (line 103) | def stop(self): method dump_stacktraces (line 112) | def dump_stacktraces(self): function trace_start (line 120) | def trace_start(fpath, interval=5, *, auto=True): function trace_stop (line 131) | def trace_stop(): FILE: electrum/verifier.py class MerkleVerificationFailure (line 42) | class MerkleVerificationFailure(Exception): pass class MissingBlockHeader (line 43) | class MissingBlockHeader(MerkleVerificationFailure): pass class MerkleRootMismatch (line 44) | class MerkleRootMismatch(MerkleVerificationFailure): pass class InnerNodeOfSpvProofIsValidTx (line 45) | class InnerNodeOfSpvProofIsValidTx(MerkleVerificationFailure): pass class SPV (line 48) | class SPV(NetworkJobOnDefaultServer): method __init__ (line 51) | def __init__(self, network: 'Network', wallet: 'AddressSynchronizer'): method _reset (line 55) | def _reset(self): method _run_tasks (line 60) | async def _run_tasks(self, *, taskgroup): method diagnostic_name (line 65) | def diagnostic_name(self): method main (line 68) | async def main(self): method _request_proofs (line 75) | async def _request_proofs(self): method _request_and_verify_single_proof (line 98) | async def _request_and_verify_single_proof(self, tx_hash, tx_height): method hash_merkle_root (line 141) | def hash_merkle_root(cls, merkle_branch: Sequence[str], tx_hash: str, ... method _raise_if_valid_tx (line 164) | def _raise_if_valid_tx(cls, raw_tx: str): method _maybe_undo_verifications (line 177) | async def _maybe_undo_verifications(self): method remove_spv_proof_for_tx (line 189) | def remove_spv_proof_for_tx(self, tx_hash): method is_up_to_date (line 193) | def is_up_to_date(self): function verify_tx_is_in_block (line 198) | def verify_tx_is_in_block(tx_hash: str, merkle_branch: Sequence[str], FILE: electrum/version.py function seed_prefix (line 13) | def seed_prefix(seed_type): FILE: electrum/wallet.py function _append_utxos_to_inputs (line 103) | async def _append_utxos_to_inputs( function sweep_preparations (line 135) | async def sweep_preparations( function sweep (line 172) | async def sweep( function get_locktime_for_new_transaction (line 201) | def get_locktime_for_new_transaction( class CannotRBFTx (line 231) | class CannotRBFTx(Exception): pass class TransactionPotentiallyDangerousException (line 232) | class TransactionPotentiallyDangerousException(Exception): pass class TransactionDangerousException (line 233) | class TransactionDangerousException(TransactionPotentiallyDangerousExcep... class CannotBumpFee (line 236) | class CannotBumpFee(CannotRBFTx): method __str__ (line 237) | def __str__(self): class CannotDoubleSpendTx (line 241) | class CannotDoubleSpendTx(CannotRBFTx): method __str__ (line 242) | def __str__(self): class CannotCPFP (line 246) | class CannotCPFP(Exception): method __str__ (line 247) | def __str__(self): class InternalAddressCorruption (line 251) | class InternalAddressCorruption(Exception): method __str__ (line 252) | def __str__(self): class TxSighashRiskLevel (line 257) | class TxSighashRiskLevel(enum.IntEnum): class TxSighashDanger (line 266) | class TxSighashDanger: method __init__ (line 268) | def __init__( method needs_confirm (line 279) | def needs_confirm(self) -> bool: method needs_reject (line 283) | def needs_reject(self) -> bool: method get_long_message (line 287) | def get_long_message(self) -> str: method combine (line 297) | def combine(*args: 'TxSighashDanger') -> 'TxSighashDanger': method __repr__ (line 306) | def __repr__(self): class BumpFeeStrategy (line 311) | class BumpFeeStrategy(enum.Enum): method all (line 316) | def all(cls) -> Sequence['BumpFeeStrategy']: method text (line 319) | def text(self) -> str: class ReceiveRequestHelp (line 328) | class ReceiveRequestHelp(NamedTuple): method can_swap (line 342) | def can_swap(self) -> bool: method can_rebalance (line 345) | def can_rebalance(self) -> bool: method can_zeroconf (line 348) | def can_zeroconf(self) -> bool: class TxWalletDelta (line 352) | class TxWalletDelta(NamedTuple): class TxWalletDetails (line 360) | class TxWalletDetails(NamedTuple): class PiechartBalance (line 379) | class PiechartBalance: method total (line 387) | def total(self) -> Decimal: class Abstract_Wallet (line 391) | class Abstract_Wallet(ABC, Logger, EventListener): method __init__ (line 405) | def __init__(self, db: WalletDB, *, config: SimpleConfig): method _init_lnworker (line 466) | def _init_lnworker(self): method main_loop (line 469) | async def main_loop(self): method do_synchronize_loop (line 482) | async def do_synchronize_loop(self): method save_db (line 495) | def save_db(self): method save_backup (line 499) | def save_backup(self, backup_dir): method has_lightning (line 516) | def has_lightning(self) -> bool: method has_channels (line 519) | def has_channels(self): method can_have_lightning (line 522) | def can_have_lightning(self) -> bool: method can_have_deterministic_lightning (line 537) | def can_have_deterministic_lightning(self) -> bool: method init_lightning (line 542) | def init_lightning(self, *, password) -> None: method stop (line 560) | async def stop(self): method is_up_to_date (line 580) | def is_up_to_date(self) -> bool: method tx_is_related (line 585) | def tx_is_related(self, tx): method clear_tx_parents_cache (line 590) | def clear_tx_parents_cache(self): method on_event_adb_set_up_to_date (line 597) | async def on_event_adb_set_up_to_date(self, adb): method on_event_adb_added_tx (line 620) | def on_event_adb_added_tx(self, adb, tx_hash: str, tx: Transaction): method on_event_adb_removed_tx (line 632) | def on_event_adb_removed_tx(self, adb, txid: str, tx: Transaction): method on_event_adb_added_verified_tx (line 641) | def on_event_adb_added_verified_tx(self, adb, tx_hash): method on_event_adb_removed_verified_tx (line 649) | def on_event_adb_removed_verified_tx(self, adb, tx_hash): method clear_history (line 654) | def clear_history(self): method start_network (line 658) | def start_network(self, network: 'Network'): method _start_network_lightning (line 668) | def _start_network_lightning(self): method load_keystore (line 677) | def load_keystore(self) -> None: method diagnostic_name (line 680) | def diagnostic_name(self): method __str__ (line 683) | def __str__(self): method get_master_public_key (line 686) | def get_master_public_key(self): method get_master_public_keys (line 689) | def get_master_public_keys(self): method basename (line 692) | def basename(self) -> str: method test_addresses_sanity (line 695) | def test_addresses_sanity(self) -> None: method check_returned_address_for_corruption (line 704) | def check_returned_address_for_corruption(func): method _calc_unused_change_addresses (line 711) | def _calc_unused_change_addresses(self) -> Sequence[str]: method is_deterministic (line 728) | def is_deterministic(self) -> bool: method _set_label (line 731) | def _set_label(self, key: str, value: Optional[str]) -> None: method set_label (line 738) | def set_label(self, name: str, text: str = None) -> bool: method import_labels (line 757) | def import_labels(self, path): method export_labels (line 762) | def export_labels(self, path): method set_fiat_value (line 765) | def set_fiat_value(self, txid, ccy, text, fx, value_sat): method get_fiat_value (line 796) | def get_fiat_value(self, txid, ccy): method is_mine (line 803) | def is_mine(self, address) -> bool: method is_change (line 807) | def is_change(self, address) -> bool: method get_addresses (line 813) | def get_addresses(self) -> Sequence[str]: method get_address_index (line 817) | def get_address_index(self, address: str) -> Optional[AddressIndexGene... method get_address_path_str (line 821) | def get_address_path_str(self, address: str) -> Optional[str]: method get_redeem_script (line 827) | def get_redeem_script(self, address: str) -> Optional[str]: method get_witness_script (line 834) | def get_witness_script(self, address: str) -> Optional[str]: method get_txin_type (line 842) | def get_txin_type(self, address: str) -> str: method export_private_key (line 846) | def export_private_key(self, address: str, password: Optional[str]) ->... method export_private_key_for_path (line 859) | def export_private_key_for_path(self, path: Union[Sequence[int], str],... method get_public_keys (line 863) | def get_public_keys(self, address: str) -> Sequence[str]: method get_public_keys_with_deriv_info (line 866) | def get_public_keys_with_deriv_info(self, address: str) -> Dict[bytes,... method is_lightning_funding_tx (line 870) | def is_lightning_funding_tx(self, txid: Optional[str]) -> bool: method get_swaps_by_claim_tx (line 881) | def get_swaps_by_claim_tx(self, tx: Transaction) -> Iterable['SwapData']: method get_swaps_by_funding_tx (line 884) | def get_swaps_by_funding_tx(self, tx: Transaction) -> Iterable['SwapDa... method is_accounting_address (line 887) | def is_accounting_address(self, addr): method get_wallet_delta (line 896) | def get_wallet_delta(self, tx: Transaction) -> TxWalletDelta: method get_tx_info (line 936) | def get_tx_info(self, tx: Transaction) -> TxWalletDetails: method get_num_parents (line 1029) | def get_num_parents(self, txid: str) -> Optional[int]: method get_tx_parents (line 1036) | def get_tx_parents(self, txid: str) -> Dict[str, Tuple[List[str], List... method get_balance (line 1085) | def get_balance(self, **kwargs): method anchor_reserve (line 1092) | def anchor_reserve(self) -> int: method get_spendable_balance_sat (line 1099) | def get_spendable_balance_sat( method get_addr_balance (line 1109) | def get_addr_balance(self, address) -> tuple[int, int, int]: method get_utxos (line 1112) | def get_utxos( method get_spendable_coins (line 1121) | def get_spendable_coins( method get_receiving_addresses (line 1143) | def get_receiving_addresses(self, *, slice_start=None, slice_stop=None... method get_change_addresses (line 1147) | def get_change_addresses(self, *, slice_start=None, slice_stop=None) -... method dummy_address (line 1150) | def dummy_address(self) -> str: method get_frozen_balance (line 1154) | def get_frozen_balance(self) -> tuple[int, int, int]: method get_balances_for_piechart (line 1170) | def get_balances_for_piechart(self) -> PiechartBalance: method balance_at_timestamp (line 1193) | def balance_at_timestamp(self, domain, target_timestamp): method get_onchain_history (line 1205) | def get_onchain_history( method create_invoice (line 1255) | def create_invoice(self, *, outputs: List[PartialTxOutput], message, p... method save_invoice (line 1286) | def save_invoice(self, invoice: Invoice, *, write_to_disk: bool = True... method clear_invoices (line 1298) | def clear_invoices(self): method clear_requests (line 1302) | def clear_requests(self): method get_invoices (line 1307) | def get_invoices(self) -> List[Invoice]: method get_unpaid_invoices (line 1312) | def get_unpaid_invoices(self) -> List[Invoice]: method get_invoice (line 1316) | def get_invoice(self, invoice_id): method import_requests (line 1319) | def import_requests(self, path): method export_requests (line 1329) | def export_requests(self, path): method import_invoices (line 1333) | def import_invoices(self, path): method export_invoices (line 1343) | def export_invoices(self, path): method get_relevant_invoices_for_tx (line 1346) | def get_relevant_invoices_for_tx(self, tx_hash: Optional[str]) -> Sequ... method _init_requests_rhash_index (line 1356) | def _init_requests_rhash_index(self): method _prepare_onchain_invoice_paid_detection (line 1364) | def _prepare_onchain_invoice_paid_detection(self): method _update_onchain_invoice_paid_detection (line 1369) | def _update_onchain_invoice_paid_detection(self, invoice_keys: Iterabl... method _is_onchain_invoice_paid (line 1388) | def _is_onchain_invoice_paid(self, invoice: BaseInvoice) -> Tuple[bool... method is_onchain_invoice_paid (line 1424) | def is_onchain_invoice_paid(self, invoice: BaseInvoice) -> Tuple[bool,... method get_full_history (line 1429) | def get_full_history( method get_onchain_capital_gains (line 1537) | def get_onchain_capital_gains(self, fx, **kwargs): method acquisition_price (line 1641) | def acquisition_price(self, coins, price_func, ccy): method liquidation_price (line 1644) | def liquidation_price(self, coins, price_func, timestamp): method default_fiat_value (line 1648) | def default_fiat_value(self, tx_hash, fx, value_sat): method get_tx_item_fiat (line 1651) | def get_tx_item_fiat( method _get_label (line 1678) | def _get_label(self, key: str) -> str: method get_label_for_address (line 1682) | def get_label_for_address(self, addr: str) -> str: method set_default_label (line 1688) | def set_default_label(self, key: str, value: str): method get_label_for_outpoint (line 1691) | def get_label_for_outpoint(self, outpoint: str) -> str: method _get_default_label_for_outpoint (line 1694) | def _get_default_label_for_outpoint(self, outpoint: str) -> str: method get_label_for_group (line 1697) | def get_label_for_group(self, group_id: str) -> str: method set_group_label (line 1700) | def set_group_label(self, group_id: str, label: str): method get_label_for_txid (line 1703) | def get_label_for_txid(self, tx_hash: str) -> str: method _get_default_label_for_txid (line 1707) | def _get_default_label_for_txid(self, tx_hash: str) -> str: method _get_default_label_for_rhash (line 1739) | def _get_default_label_for_rhash(self, rhash: str) -> str: method get_label_for_rhash (line 1743) | def get_label_for_rhash(self, rhash: str) -> str: method get_all_labels (line 1746) | def get_all_labels(self) -> Dict[str, str]: method get_tx_status (line 1750) | def get_tx_status(self, tx_hash: str, tx_mined_info: TxMinedInfo): method relayfee (line 1791) | def relayfee(self): method dust_threshold (line 1794) | def dust_threshold(self): method get_candidates_for_batching (line 1797) | def get_candidates_for_batching( method get_change_addresses_for_new_transaction (line 1851) | def get_change_addresses_for_new_transaction( method get_single_change_address_for_new_transaction (line 1871) | def get_single_change_address_for_new_transaction( method get_new_sweep_address_for_channel (line 1882) | def get_new_sweep_address_for_channel(self) -> str: method _get_change_addresses_we_can_use_now (line 1889) | def _get_change_addresses_we_can_use_now( method should_keep_reserve_utxo (line 1915) | def should_keep_reserve_utxo( method is_low_reserve (line 1943) | def is_low_reserve(self) -> bool: method tx_keeps_ln_utxo_reserve (line 1946) | def tx_keeps_ln_utxo_reserve(self, tx, *, gui_spend_max: bool) -> Opti... method make_unsigned_transaction (line 1960) | def make_unsigned_transaction( method is_frozen_address (line 2146) | def is_frozen_address(self, addr: str) -> bool: method is_frozen_coin (line 2149) | def is_frozen_coin(self, utxo: PartialTxInput) -> bool: method _is_coin_small_and_unconfirmed (line 2169) | def _is_coin_small_and_unconfirmed(self, utxo: PartialTxInput) -> bool: method set_frozen_state_of_addresses (line 2202) | def set_frozen_state_of_addresses( method set_frozen_state_of_coins (line 2223) | def set_frozen_state_of_coins( method is_address_reserved (line 2248) | def is_address_reserved(self, addr: str) -> bool: method set_reserved_state_of_address (line 2252) | def set_reserved_state_of_address(self, addr: str, *, reserved: bool) ... method set_reserved_addresses_for_chan (line 2265) | def set_reserved_addresses_for_chan(self, chan: 'AbstractChannel', *, ... method can_export (line 2269) | def can_export(self): method get_bumpfee_strategies_for_tx (line 2272) | def get_bumpfee_strategies_for_tx( method bump_fee (line 2290) | def bump_fee( method _bump_fee_through_coinchooser (line 2352) | def _bump_fee_through_coinchooser( method _bump_fee_through_decreasing_change (line 2412) | def _bump_fee_through_decreasing_change( method _bump_fee_through_decreasing_payment (line 2463) | def _bump_fee_through_decreasing_payment( method _is_rbf_allowed_to_touch_tx_output (line 2523) | def _is_rbf_allowed_to_touch_tx_output(self, txout: TxOutput) -> bool: method can_rbf_tx (line 2532) | def can_rbf_tx(self, tx: Transaction, *, is_dscancel: bool = False) ->... method cpfp (line 2538) | def cpfp(self, tx: Transaction, fee: int) -> Optional[PartialTransacti... method dscancel (line 2565) | def dscancel( method _add_txinout_derivation_info (line 2619) | def _add_txinout_derivation_info(self, txinout: Union[PartialTxInput, ... method _add_input_utxo_info (line 2623) | def _add_input_utxo_info( method _learn_derivation_path_for_address_from_txinout (line 2652) | def _learn_derivation_path_for_address_from_txinout(self, txinout: Uni... method add_input_info (line 2660) | def add_input_info( method has_support_for_slip_19_ownership_proofs (line 2687) | def has_support_for_slip_19_ownership_proofs(self) -> bool: method add_slip_19_ownership_proofs_to_tx (line 2690) | def add_slip_19_ownership_proofs_to_tx(self, tx: PartialTransaction) -... method get_script_descriptor_for_address (line 2693) | def get_script_descriptor_for_address(self, address: str) -> Optional[... method can_sign (line 2727) | def can_sign(self, tx: Transaction) -> bool: method add_output_info (line 2745) | def add_output_info(self, txout: PartialTxOutput, *, only_der_suffix: ... method sign_transaction (line 2756) | def sign_transaction( method try_detecting_internal_addresses_corruption (line 2814) | def try_detecting_internal_addresses_corruption(self) -> None: method check_address_for_corruption (line 2817) | def check_address_for_corruption(self, addr: str) -> None: method get_unused_addresses (line 2820) | def get_unused_addresses(self) -> Sequence[str]: method get_unused_address (line 2825) | def get_unused_address(self) -> Optional[str]: method get_receiving_address (line 2834) | def get_receiving_address(self) -> str: method create_new_address (line 2851) | def create_new_address(self, for_change: bool = False): method import_address (line 2854) | def import_address(self, address: str) -> str: method import_addresses (line 2857) | def import_addresses(self, addresses: List[str], *, method delete_address (line 2861) | def delete_address(self, address: str) -> None: method get_request_URI (line 2864) | def get_request_URI(self, req: Request) -> Optional[str]: method check_expired_status (line 2867) | def check_expired_status(self, r: BaseInvoice, status): method get_invoice_status (line 2874) | def get_invoice_status(self, invoice: BaseInvoice): method get_request_by_addr (line 2894) | def get_request_by_addr(self, addr: str) -> Optional[Request]: method get_request (line 2922) | def get_request(self, request_id: str) -> Optional[Request]: method get_formatted_request (line 2925) | def get_formatted_request(self, request_id): method export_request (line 2930) | def export_request(self, x: Request) -> Dict[str, Any]: method export_invoice (line 2956) | def export_invoice(self, x: Invoice) -> Dict[str, Any]: method get_invoices_and_requests_touched_by_tx (line 2977) | def get_invoices_and_requests_touched_by_tx(self, tx): method _update_invoices_and_reqs_touched_by_tx (line 2989) | def _update_invoices_and_reqs_touched_by_tx(self, tx_hash: str) -> None: method set_broadcasting (line 3005) | def set_broadcasting(self, tx: Transaction, *, broadcasting_status: Op... method get_bolt11_invoice (line 3015) | def get_bolt11_invoice(self, req: Request) -> str: method create_request (line 3030) | def create_request(self, amount_sat: Optional[int], message: Optional[... method add_payment_request (line 3064) | def add_payment_request(self, req: Request, *, write_to_disk: bool = T... method delete_request (line 3073) | def delete_request(self, request_id, *, write_to_disk: bool = True): method delete_invoice (line 3086) | def delete_invoice(self, invoice_id, *, write_to_disk: bool = True): method get_requests (line 3096) | def get_requests(self) -> List[Request]: method get_sorted_requests (line 3101) | def get_sorted_requests(self) -> List[Request]: method get_unpaid_requests (line 3107) | def get_unpaid_requests(self) -> List[Request]: method delete_expired_requests (line 3112) | def delete_expired_requests(self): method delete_requests (line 3117) | def delete_requests(self, keys): method get_fingerprint (line 3124) | def get_fingerprint(self) -> str: method can_import_privkey (line 3131) | def can_import_privkey(self): method can_import_address (line 3134) | def can_import_address(self): method can_delete_address (line 3137) | def can_delete_address(self): method has_password (line 3140) | def has_password(self) -> bool: method can_have_keystore_encryption (line 3143) | def can_have_keystore_encryption(self): method get_available_storage_encryption_versions (line 3146) | def get_available_storage_encryption_versions(self) -> Sequence[Storag... method has_keystore_encryption (line 3157) | def has_keystore_encryption(self) -> bool: method has_storage_encryption (line 3166) | def has_storage_encryption(self) -> bool: method may_have_password (line 3171) | def may_have_password(cls): method check_password (line 3174) | def check_password(self, password: Optional[str]) -> None: method update_password (line 3185) | def update_password(self, old_pw, new_pw, *, encrypt_storage: bool = T... method _update_password_for_keystore (line 3214) | def _update_password_for_keystore(self, old_pw: Optional[str], new_pw:... method sign_message (line 3217) | def sign_message(self, address: str, message: str, password) -> bytes: method decrypt_message (line 3223) | def decrypt_message(self, pubkey: str, message, password) -> bytes: method pubkeys_to_address (line 3229) | def pubkeys_to_address(self, pubkeys: Sequence[str]) -> Optional[str]: method price_at_timestamp (line 3232) | def price_at_timestamp(self, txid, price_func): method average_price (line 3237) | def average_price(self, txid, price_func, ccy) -> Decimal: method clear_coin_price_cache (line 3251) | def clear_coin_price_cache(self): method coin_price (line 3254) | def coin_price(self, txid, price_func, ccy, txin_value) -> Decimal: method is_billing_address (line 3277) | def is_billing_address(self, addr): method is_watching_only (line 3282) | def is_watching_only(self) -> bool: method get_keystore (line 3285) | def get_keystore(self) -> Optional[KeyStore]: method get_keystores (line 3288) | def get_keystores(self) -> Sequence[KeyStore]: method save_keystore (line 3292) | def save_keystore(self): method can_enable_disable_keystore (line 3295) | def can_enable_disable_keystore(self, ks: KeyStore) -> bool: method enable_keystore (line 3301) | def enable_keystore(self, keystore: KeyStore, is_hardware_keystore: bo... method disable_keystore (line 3304) | def disable_keystore(self, keystore: KeyStore) -> None: method _update_keystore (line 3307) | def _update_keystore(self, keystore: KeyStore) -> None: method has_seed (line 3311) | def has_seed(self) -> bool: method get_seed_type (line 3314) | def get_seed_type(self) -> Optional[str]: method get_all_known_addresses_beyond_gap_limit (line 3318) | def get_all_known_addresses_beyond_gap_limit(self) -> Set[str]: method _check_risk_of_burning_coins_as_fees (line 3321) | def _check_risk_of_burning_coins_as_fees(self, tx: 'PartialTransaction... method check_sighash (line 3365) | def check_sighash(self, tx: 'PartialTransaction') -> TxSighashDanger: method get_tx_fee_warning (line 3403) | def get_tx_fee_warning( method get_help_texts_for_receive_request (line 3442) | def get_help_texts_for_receive_request(self, req: Request) -> ReceiveR... method synchronize (line 3536) | def synchronize(self) -> int: method unlock (line 3540) | def unlock(self, password: Optional[str]) -> None: method lock_wallet (line 3546) | def lock_wallet(self): method get_unlocked_password (line 3549) | def get_unlocked_password(self) -> Optional[str]: method is_unlocked (line 3559) | def is_unlocked(self) -> bool: method get_text_not_enough_funds_mentioning_frozen (line 3562) | def get_text_not_enough_funds_mentioning_frozen( method get_frozen_balance_str (line 3586) | def get_frozen_balance_str(self) -> Optional[str]: method add_future_tx (line 3592) | def add_future_tx(self, sweep_info: 'SweepInfo', wanted_height: int): method export_history_to_file (line 3618) | def export_history_to_file(self, *, fx: Optional['FxThread'], file_pat... method get_user_notifications_for_new_txns (line 3694) | def get_user_notifications_for_new_txns(self, txns: Sequence[Transacti... class Simple_Wallet (line 3732) | class Simple_Wallet(Abstract_Wallet): method is_watching_only (line 3735) | def is_watching_only(self): method _update_password_for_keystore (line 3738) | def _update_password_for_keystore(self, old_pw, new_pw): method save_keystore (line 3743) | def save_keystore(self): method get_public_key (line 3747) | def get_public_key(self, address: str) -> Optional[str]: method get_public_keys (line 3750) | def get_public_keys(self, address: str) -> Sequence[str]: class Imported_Wallet (line 3755) | class Imported_Wallet(Simple_Wallet): method __init__ (line 3761) | def __init__(self, db, *, config): method is_watching_only (line 3765) | def is_watching_only(self): method can_import_privkey (line 3768) | def can_import_privkey(self): method load_keystore (line 3771) | def load_keystore(self): method save_keystore (line 3774) | def save_keystore(self): method can_import_address (line 3777) | def can_import_address(self): method can_delete_address (line 3780) | def can_delete_address(self): method has_seed (line 3783) | def has_seed(self): method is_deterministic (line 3786) | def is_deterministic(self): method is_change (line 3789) | def is_change(self, address): method get_all_known_addresses_beyond_gap_limit (line 3792) | def get_all_known_addresses_beyond_gap_limit(self) -> Set[str]: method get_fingerprint (line 3795) | def get_fingerprint(self): method get_addresses (line 3798) | def get_addresses(self): method get_receiving_addresses (line 3802) | def get_receiving_addresses(self, **kwargs): method get_change_addresses (line 3805) | def get_change_addresses(self, **kwargs): method import_addresses (line 3808) | def import_addresses(self, addresses: List[str], *, method import_address (line 3826) | def import_address(self, address: str) -> str: method delete_address (line 3833) | def delete_address(self, address: str) -> None: method get_change_addresses_for_new_transaction (line 3879) | def get_change_addresses_for_new_transaction(self, *args, **kwargs) ->... method _calc_unused_change_addresses (line 3889) | def _calc_unused_change_addresses(self) -> Sequence[str]: method is_mine (line 3895) | def is_mine(self, address) -> bool: method get_address_index (line 3900) | def get_address_index(self, address) -> Optional[str]: method get_address_path_str (line 3907) | def get_address_path_str(self, address): method get_public_key (line 3910) | def get_public_key(self, address) -> Optional[str]: method import_private_keys (line 3914) | def import_private_keys(self, keys: Sequence[str], password: Optional[... method import_private_key (line 3936) | def import_private_key(self, key: str, password: Optional[str]) -> str: method get_txin_type (line 3943) | def get_txin_type(self, address): method try_detecting_internal_addresses_corruption (line 3947) | def try_detecting_internal_addresses_corruption(self): method check_address_for_corruption (line 3959) | def check_address_for_corruption(self, addr): method pubkeys_to_address (line 3970) | def pubkeys_to_address(self, pubkeys): method decrypt_message (line 3981) | def decrypt_message(self, pubkey: str, message, password) -> bytes: class Deterministic_Wallet (line 3986) | class Deterministic_Wallet(Abstract_Wallet): method __init__ (line 3989) | def __init__(self, db, *, config): method _init_lnworker (line 3998) | def _init_lnworker(self): method has_seed (line 4005) | def has_seed(self): method get_addresses (line 4008) | def get_addresses(self): method get_receiving_addresses (line 4015) | def get_receiving_addresses(self, *, slice_start=None, slice_stop=None): method get_change_addresses (line 4018) | def get_change_addresses(self, *, slice_start=None, slice_stop=None): method try_detecting_internal_addresses_corruption (line 4022) | def try_detecting_internal_addresses_corruption(self): method check_address_for_corruption (line 4036) | def check_address_for_corruption(self, addr): method get_seed (line 4041) | def get_seed(self, password): method get_seed_type (line 4044) | def get_seed_type(self) -> Optional[str]: method change_gap_limit (line 4050) | def change_gap_limit(self, value): method num_unused_trailing_addresses (line 4061) | def num_unused_trailing_addresses(self, addresses): method min_acceptable_gap (line 4069) | def min_acceptable_gap(self) -> int: method derive_pubkeys (line 4084) | def derive_pubkeys(self, c: int, i: int) -> Sequence[str]: method derive_address (line 4087) | def derive_address(self, for_change: int, n: int) -> str: method export_private_key_for_path (line 4092) | def export_private_key_for_path(self, path: Union[Sequence[int], str],... method get_public_keys_with_deriv_info (line 4099) | def get_public_keys_with_deriv_info(self, address: str): method _add_txinout_derivation_info (line 4105) | def _add_txinout_derivation_info(self, txinout, address, *, only_der_s... method create_new_address (line 4115) | def create_new_address(self, for_change: bool = False): method synchronize_sequence (line 4127) | def synchronize_sequence(self, for_change: bool) -> int: method synchronize (line 4147) | def synchronize(self): method get_all_known_addresses_beyond_gap_limit (line 4154) | def get_all_known_addresses_beyond_gap_limit(self): method get_address_index (line 4172) | def get_address_index(self, address) -> Optional[Sequence[int]]: method get_address_path_str (line 4175) | def get_address_path_str(self, address): method _learn_derivation_path_for_address_from_txinout (line 4181) | def _learn_derivation_path_for_address_from_txinout(self, txinout, add... method get_master_public_keys (line 4198) | def get_master_public_keys(self): method get_fingerprint (line 4201) | def get_fingerprint(self): method get_txin_type (line 4204) | def get_txin_type(self, address=None): method can_enable_disable_keystore (line 4207) | def can_enable_disable_keystore(self, ks: KeyStore) -> bool: method enable_keystore (line 4210) | def enable_keystore(self, keystore: KeyStore, is_hardware_keystore: bo... method disable_keystore (line 4217) | def disable_keystore(self, keystore: KeyStore) -> None: class Standard_Wallet (line 4230) | class Standard_Wallet(Simple_Wallet, Deterministic_Wallet): method __init__ (line 4234) | def __init__(self, db, *, config): method get_public_key (line 4237) | def get_public_key(self, address): method load_keystore (line 4242) | def load_keystore(self): method get_master_public_key (line 4250) | def get_master_public_key(self): method derive_pubkeys (line 4253) | def derive_pubkeys(self, c, i): method pubkeys_to_address (line 4256) | def pubkeys_to_address(self, pubkeys): method has_support_for_slip_19_ownership_proofs (line 4260) | def has_support_for_slip_19_ownership_proofs(self) -> bool: method add_slip_19_ownership_proofs_to_tx (line 4263) | def add_slip_19_ownership_proofs_to_tx(self, tx: PartialTransaction) -... method _update_keystore (line 4267) | def _update_keystore(self, keystore): class Multisig_Wallet (line 4275) | class Multisig_Wallet(Deterministic_Wallet): method __init__ (line 4278) | def __init__(self, db, *, config): method get_public_keys (line 4292) | def get_public_keys(self, address): method pubkeys_to_address (line 4295) | def pubkeys_to_address(self, pubkeys): method pubkeys_to_scriptcode (line 4299) | def pubkeys_to_scriptcode(self, pubkeys: Sequence[str]) -> bytes: method derive_pubkeys (line 4302) | def derive_pubkeys(self, c, i): method load_keystore (line 4305) | def load_keystore(self): method save_keystore (line 4314) | def save_keystore(self): method get_keystore (line 4318) | def get_keystore(self): method get_keystores (line 4321) | def get_keystores(self): method _update_keystore (line 4324) | def _update_keystore(self, keystore): method can_have_keystore_encryption (line 4334) | def can_have_keystore_encryption(self): method _update_password_for_keystore (line 4337) | def _update_password_for_keystore(self, old_pw, new_pw): method check_password (line 4343) | def check_password(self, password): method get_available_storage_encryption_versions (line 4350) | def get_available_storage_encryption_versions(self) -> Sequence[Storag... method has_seed (line 4354) | def has_seed(self): method is_watching_only (line 4357) | def is_watching_only(self): method get_master_public_key (line 4360) | def get_master_public_key(self): method get_master_public_keys (line 4363) | def get_master_public_keys(self): method get_fingerprint (line 4366) | def get_fingerprint(self): function register_wallet_type (line 4373) | def register_wallet_type(category): function register_constructor (line 4385) | def register_constructor(wallet_type, constructor): class Wallet (line 4390) | class Wallet(object): method __new__ (line 4395) | def __new__(cls, db: 'WalletDB', *, config: SimpleConfig) -> Abstract_... method wallet_class (line 4402) | def wallet_class(wallet_type): function create_new_wallet (line 4410) | def create_new_wallet( function restore_wallet_from_text (line 4445) | def restore_wallet_from_text( FILE: electrum/wallet_db.py class WalletRequiresUpgrade (line 53) | class WalletRequiresUpgrade(WalletFileException): class WalletRequiresSplit (line 57) | class WalletRequiresSplit(WalletFileException): method __init__ (line 58) | def __init__(self, split_data): class WalletUnfinished (line 63) | class WalletUnfinished(WalletFileException): method __init__ (line 64) | def __init__(self, wallet_db: 'WalletDB'): class TxFeesValue (line 77) | class TxFeesValue(NamedTuple): class DBMetadata (line 85) | class DBMetadata(StoredObject): method to_str (line 89) | def to_str(self) -> str: class WalletFileExceptionVersion51 (line 101) | class WalletFileExceptionVersion51(WalletFileException): pass class WalletDBUpgrader (line 119) | class WalletDBUpgrader(Logger): method __init__ (line 120) | def __init__(self, data: dict): method get (line 127) | def get(self, key, default=None): method put (line 130) | def put(self, key, value): method requires_split (line 136) | def requires_split(self): method get_split_accounts (line 140) | def get_split_accounts(self): method requires_upgrade (line 181) | def requires_upgrade(self): method upgrade (line 185) | def upgrade(self): method _convert_wallet_type (line 250) | def _convert_wallet_type(self): method _convert_version_13_b (line 340) | def _convert_version_13_b(self): method _convert_version_14 (line 359) | def _convert_version_14(self): method _convert_version_15 (line 388) | def _convert_version_15(self): method _convert_version_16 (line 396) | def _convert_version_16(self): method _convert_version_17 (line 439) | def _convert_version_17(self): method _convert_version_18 (line 460) | def _convert_version_18(self): method _convert_version_19 (line 467) | def _convert_version_19(self): method _convert_version_20 (line 474) | def _convert_version_20(self): method _convert_version_21 (line 514) | def _convert_version_21(self): method _convert_version_22 (line 524) | def _convert_version_22(self): method _convert_version_23 (line 542) | def _convert_version_23(self): method _convert_version_24 (line 568) | def _convert_version_24(self): method _convert_version_25 (line 606) | def _convert_version_25(self): method _convert_version_26 (line 635) | def _convert_version_26(self): method _convert_version_27 (line 650) | def _convert_version_27(self): method _convert_version_28 (line 658) | def _convert_version_28(self): method _convert_version_29 (line 666) | def _convert_version_29(self): method _convert_version_30 (line 702) | def _convert_version_30(self): method _convert_version_31 (line 725) | def _convert_version_31(self): method _convert_version_32 (line 739) | def _convert_version_32(self): method _convert_version_33 (line 749) | def _convert_version_33(self): method _convert_version_34 (line 761) | def _convert_version_34(self): method _convert_version_35 (line 772) | def _convert_version_35(self): method _convert_version_36 (line 783) | def _convert_version_36(self): method _convert_version_37 (line 791) | def _convert_version_37(self): method _convert_version_38 (line 802) | def _convert_version_38(self): method _convert_version_39 (line 827) | def _convert_version_39(self): method _convert_version_40 (line 834) | def _convert_version_40(self): method _convert_version_41 (line 857) | def _convert_version_41(self): method _convert_version_42 (line 866) | def _convert_version_42(self): method _convert_version_43 (line 880) | def _convert_version_43(self): method _convert_version_44 (line 892) | def _convert_version_44(self): method _convert_version_45 (line 905) | def _convert_version_45(self): method _convert_invoices_keys (line 948) | def _convert_invoices_keys(self, invoices): method _convert_version_46 (line 967) | def _convert_version_46(self): method _convert_version_47 (line 974) | def _convert_version_47(self): method _convert_version_48 (line 990) | def _convert_version_48(self): method _convert_version_49 (line 1000) | def _convert_version_49(self): method _convert_version_50 (line 1016) | def _convert_version_50(self): method _convert_version_51 (line 1023) | def _convert_version_51(self): method _detect_insane_version_51 (line 1038) | def _detect_insane_version_51(self) -> int: method _convert_version_52 (line 1062) | def _convert_version_52(self): method _convert_version_53 (line 1070) | def _convert_version_53(self): method _convert_version_54 (line 1079) | def _convert_version_54(self): method _convert_version_55 (line 1096) | def _convert_version_55(self): method _convert_version_56 (line 1105) | def _convert_version_56(self): method _convert_version_57 (line 1117) | def _convert_version_57(self): method _convert_version_58 (line 1125) | def _convert_version_58(self): method _convert_version_59 (line 1147) | def _convert_version_59(self): method _convert_version_60 (line 1160) | def _convert_version_60(self): method _convert_version_61 (line 1169) | def _convert_version_61(self): method _convert_version_62 (line 1181) | def _convert_version_62(self): method _convert_version_63 (line 1192) | def _convert_version_63(self): method _convert_version_64 (line 1282) | def _convert_version_64(self): method _convert_version_65 (line 1300) | def _convert_version_65(self): method _convert_version_66 (line 1332) | def _convert_version_66(self): method _convert_version_67 (line 1348) | def _convert_version_67(self): method _convert_version_68 (line 1360) | def _convert_version_68(self): method _convert_version_69 (line 1370) | def _convert_version_69(self): method _convert_version_70 (line 1389) | def _convert_version_70(self): method _convert_imported (line 1403) | def _convert_imported(self): method _convert_account (line 1432) | def _convert_account(self): method _is_upgrade_method_needed (line 1437) | def _is_upgrade_method_needed(self, min_version, max_version): method get_seed_version (line 1449) | def get_seed_version(self): method _raise_unsupported_version (line 1467) | def _raise_unsupported_version(self, seed_version): function upgrade_wallet_db (line 1500) | def upgrade_wallet_db(data: dict, do_upgrade: bool) -> Tuple[dict, bool]: class WalletDB (line 1526) | class WalletDB(JsonDB): method __init__ (line 1528) | def __init__( method get_seed_version (line 1548) | def get_seed_version(self): method get_db_metadata (line 1551) | def get_db_metadata(self) -> Optional[DBMetadata]: method get_txi_addresses (line 1556) | def get_txi_addresses(self, tx_hash: str) -> List[str]: method get_txo_addresses (line 1562) | def get_txo_addresses(self, tx_hash: str) -> List[str]: method get_txi_addr (line 1568) | def get_txi_addr(self, tx_hash: str, address: str) -> Iterable[Tuple[s... method get_txo_addr (line 1576) | def get_txo_addr(self, tx_hash: str, address: str) -> Dict[int, Tuple[... method add_txi_addr (line 1584) | def add_txi_addr(self, tx_hash: str, addr: str, ser: str, v: int) -> N... method add_txo_addr (line 1597) | def add_txo_addr(self, tx_hash: str, addr: str, n: Union[int, str], v:... method list_txi (line 1612) | def list_txi(self) -> Sequence[str]: method list_txo (line 1616) | def list_txo(self) -> Sequence[str]: method remove_txi (line 1620) | def remove_txi(self, tx_hash: str) -> None: method remove_txo (line 1625) | def remove_txo(self, tx_hash: str) -> None: method list_spent_outpoints (line 1630) | def list_spent_outpoints(self) -> Sequence[Tuple[str, str]]: method get_spent_outpoints (line 1637) | def get_spent_outpoints(self, prevout_hash: str) -> Sequence[str]: method get_spent_outpoint (line 1642) | def get_spent_outpoint(self, prevout_hash: str, prevout_n: Union[int, ... method remove_spent_outpoint (line 1648) | def remove_spent_outpoint(self, prevout_hash: str, prevout_n: Union[in... method set_spent_outpoint (line 1656) | def set_spent_outpoint(self, prevout_hash: str, prevout_n: Union[int, ... method add_prevout_by_scripthash (line 1665) | def add_prevout_by_scripthash(self, scripthash: str, *, prevout: TxOut... method remove_prevout_by_scripthash (line 1674) | def remove_prevout_by_scripthash(self, scripthash: str, *, prevout: Tx... method get_prevouts_by_scripthash (line 1683) | def get_prevouts_by_scripthash(self, scripthash: str) -> Set[Tuple[TxO... method add_transaction (line 1689) | def add_transaction(self, tx_hash: str, tx: Transaction) -> None: method remove_transaction (line 1705) | def remove_transaction(self, tx_hash: str) -> Optional[Transaction]: method get_transaction (line 1710) | def get_transaction(self, tx_hash: Optional[str]) -> Optional[Transact... method list_transactions (line 1717) | def list_transactions(self) -> Sequence[str]: method get_history (line 1721) | def get_history(self) -> Sequence[str]: method is_addr_in_history (line 1724) | def is_addr_in_history(self, addr: str) -> bool: method get_addr_history (line 1730) | def get_addr_history(self, addr: str) -> Sequence[Tuple[str, int]]: method set_addr_history (line 1735) | def set_addr_history(self, addr: str, hist) -> None: method remove_addr_history (line 1740) | def remove_addr_history(self, addr: str) -> None: method list_verified_tx (line 1745) | def list_verified_tx(self) -> Sequence[str]: method get_verified_tx (line 1749) | def get_verified_tx(self, txid: str) -> Optional[TxMinedInfo]: method add_verified_tx (line 1761) | def add_verified_tx(self, txid: str, info: TxMinedInfo): method remove_verified_tx (line 1769) | def remove_verified_tx(self, txid: str): method is_in_verified_tx (line 1773) | def is_in_verified_tx(self, txid: str) -> bool: method add_tx_fee_from_server (line 1778) | def add_tx_fee_from_server(self, txid: str, fee_sat: Optional[int]) ->... method add_tx_fee_we_calculated (line 1789) | def add_tx_fee_we_calculated(self, txid: str, fee_sat: Optional[int]) ... method get_tx_fee (line 1799) | def get_tx_fee(self, txid: str, *, trust_server: bool = False) -> Opti... method add_num_inputs_to_tx (line 1810) | def add_num_inputs_to_tx(self, txid: str, num_inputs: int) -> None: method get_num_all_inputs_of_tx (line 1818) | def get_num_all_inputs_of_tx(self, txid: str) -> Optional[int]: method get_num_ismine_inputs_of_tx (line 1826) | def get_num_ismine_inputs_of_tx(self, txid: str) -> int: method remove_tx_fee (line 1832) | def remove_tx_fee(self, txid: str) -> None: method num_change_addresses (line 1837) | def num_change_addresses(self) -> int: method num_receiving_addresses (line 1841) | def num_receiving_addresses(self) -> int: method get_change_addresses (line 1845) | def get_change_addresses(self, *, slice_start=None, slice_stop=None) -... method get_receiving_addresses (line 1850) | def get_receiving_addresses(self, *, slice_start=None, slice_stop=None... method add_change_address (line 1855) | def add_change_address(self, addr: str) -> None: method add_receiving_address (line 1861) | def add_receiving_address(self, addr: str) -> None: method get_address_index (line 1867) | def get_address_index(self, address: str) -> Optional[Sequence[int]]: method add_imported_address (line 1872) | def add_imported_address(self, addr: str, d: dict) -> None: method remove_imported_address (line 1877) | def remove_imported_address(self, addr: str) -> None: method has_imported_address (line 1882) | def has_imported_address(self, addr: str) -> bool: method get_imported_addresses (line 1887) | def get_imported_addresses(self) -> Sequence[str]: method get_imported_address (line 1891) | def get_imported_address(self, addr: str) -> Optional[dict]: method load_addresses (line 1895) | def load_addresses(self, wallet_type): method load_transactions (line 1913) | def load_transactions(self): method clear_history (line 1941) | def clear_history(self): method _should_convert_to_stored_dict (line 1951) | def _should_convert_to_stored_dict(self, key) -> bool: method split_accounts (line 1960) | def split_accounts(klass, root_path, split_data): method get_action (line 1971) | def get_action(self): method load_plugins (line 1975) | def load_plugins(self): method get_plugin_storage (line 1980) | def get_plugin_storage(self) -> dict: method prune_uninstalled_plugin_data (line 1983) | def prune_uninstalled_plugin_data(self, installed_plugins: AbstractSet... method set_keystore_encryption (line 1991) | def set_keystore_encryption(self, enable): FILE: electrum/wizard.py class WizardViewState (line 30) | class WizardViewState(NamedTuple): class AbstractWizard (line 36) | class AbstractWizard: method __init__ (line 47) | def __init__(self): method navmap_merge (line 53) | def navmap_merge(self, additional_navmap: dict): method resolve_next (line 68) | def resolve_next(self, view: str, wizard_data: dict) -> WizardViewState: method resolve_prev (line 125) | def resolve_prev(self): method is_last_view (line 134) | def is_last_view(self, view: str, wizard_data: dict) -> bool: method reset (line 156) | def reset(self): method log_stack (line 160) | def log_stack(self): method sanitize_stack_item (line 171) | def sanitize_stack_item(self, _stack_item) -> dict: method get_wizard_data (line 199) | def get_wizard_data(self) -> dict: class KeystoreWizard (line 203) | class KeystoreWizard(AbstractWizard): method __init__ (line 207) | def __init__(self, plugins: 'Plugins'): method maybe_master_pubkey (line 239) | def maybe_master_pubkey(self, wizard_data): method check_multisig_constraints (line 242) | def check_multisig_constraints(self, wizard_data: dict) -> Tuple[bool,... method update_keystore (line 246) | def update_keystore(self, wizard_data): method on_keystore_type (line 251) | def on_keystore_type(self, wizard_data: dict) -> str: method last_cosigner (line 258) | def last_cosigner(self, wizard_data: dict) -> bool: method _convert_wallet_type (line 262) | def _convert_wallet_type(self, wizard_data: dict) -> None: method start (line 270) | def start(self, *, start_viewstate: WizardViewState = None) -> WizardV... method current_cosigner (line 282) | def current_cosigner(self, wizard_data: dict) -> dict: method needs_derivation_path (line 289) | def needs_derivation_path(self, wizard_data: dict) -> bool: method wants_ext (line 293) | def wants_ext(self, wizard_data: dict) -> bool: method is_multisig (line 297) | def is_multisig(self, wizard_data: dict) -> bool: method is_hardware (line 300) | def is_hardware(self, wizard_data: dict) -> bool: method wallet_password_view (line 303) | def wallet_password_view(self, wizard_data: dict) -> str: method on_hardware_device (line 308) | def on_hardware_device(self, wizard_data: dict, new_wallet=True) -> str: method validate_seed (line 315) | def validate_seed(self, seed: str, seed_variant: str, wallet_type: str... method keystore_from_data (line 357) | def keystore_from_data(self, wallet_type: str, data: dict): method hw_keystore (line 388) | def hw_keystore(self, data: dict) -> 'Hardware_KeyStore': class NewWalletWizard (line 400) | class NewWalletWizard(KeystoreWizard): method __init__ (line 404) | def __init__(self, daemon: 'Daemon', plugins: 'Plugins'): method start (line 502) | def start(self, *, start_viewstate: WizardViewState = None) -> WizardV... method is_single_password (line 512) | def is_single_password(self) -> bool: method on_wallet_type (line 515) | def on_wallet_type(self, wizard_data: dict) -> str: method on_keystore_type (line 524) | def on_keystore_type(self, wizard_data: dict) -> str: method on_have_or_confirm_seed (line 533) | def on_have_or_confirm_seed(self, wizard_data: dict) -> str: method maybe_master_pubkey (line 541) | def maybe_master_pubkey(self, wizard_data: dict): method on_cosigner_keystore_type (line 549) | def on_cosigner_keystore_type(self, wizard_data: dict) -> str: method on_have_cosigner_seed (line 557) | def on_have_cosigner_seed(self, wizard_data: dict) -> str: method last_cosigner (line 566) | def last_cosigner(self, wizard_data: dict) -> bool: method has_duplicate_masterkeys (line 577) | def has_duplicate_masterkeys(self, wizard_data: dict) -> bool: method has_heterogeneous_masterkeys (line 586) | def has_heterogeneous_masterkeys(self, wizard_data: dict) -> bool: method is_current_cosigner_hardware (line 609) | def is_current_cosigner_hardware(self, wizard_data: dict) -> bool: method check_multisig_constraints (line 616) | def check_multisig_constraints(self, wizard_data: dict) -> Tuple[bool,... method validate_master_key (line 650) | def validate_master_key(self, key: str, wallet_type: str): method create_storage (line 684) | def create_storage(self, path: str, data: dict): class ServerConnectWizard (line 824) | class ServerConnectWizard(AbstractWizard): method __init__ (line 828) | def __init__(self, daemon: 'Daemon'): method do_configure_proxy (line 848) | def do_configure_proxy(self, wizard_data: dict): method do_configure_server (line 859) | def do_configure_server(self, wizard_data: dict): method do_enable_autoconnect (line 876) | def do_enable_autoconnect(self, wizard_data: dict): method start (line 884) | def start(self, *, start_viewstate: WizardViewState = None) -> WizardV... class TermsOfUseWizard (line 895) | class TermsOfUseWizard(AbstractWizard): method __init__ (line 899) | def __init__(self, config: 'SimpleConfig'): method accept_terms_of_use (line 909) | def accept_terms_of_use(self, _): method start (line 912) | def start(self, *, start_viewstate: WizardViewState = None) -> WizardV... FILE: electrum/x509.py class CertificateError (line 70) | class CertificateError(Exception): function bitstr_to_bytestr (line 75) | def bitstr_to_bytestr(s): function bytestr_to_int (line 81) | def bytestr_to_int(s): function decode_OID (line 89) | def decode_OID(s): function encode_OID (line 103) | def encode_OID(oid): class ASN1_Node (line 115) | class ASN1_Node(bytes): method get_node (line 116) | def get_node(self, ix): method root (line 130) | def root(self): method next_node (line 133) | def next_node(self, node): method first_child (line 137) | def first_child(self, node): method is_child_of (line 144) | def is_child_of(node1, node2): method get_all (line 149) | def get_all(self, node): method get_value_of_type (line 154) | def get_value_of_type(self, node, asn1_type): method get_value (line 161) | def get_value(self, node): method get_children (line 165) | def get_children(self, node): method get_sequence (line 174) | def get_sequence(self): method get_dict (line 177) | def get_dict(self, node): method decode_time (line 188) | def decode_time(self, ii): class X509 (line 198) | class X509(object): method __init__ (line 199) | def __init__(self, b): method get_keyID (line 289) | def get_keyID(self): method get_issuer_keyID (line 293) | def get_issuer_keyID(self): method get_common_name (line 296) | def get_common_name(self): method get_signature (line 299) | def get_signature(self): method check_ca (line 302) | def check_ca(self): method check_date (line 305) | def check_date(self): method getFingerprint (line 313) | def getFingerprint(self): function load_certificates (line 318) | def load_certificates(ca_path): FILE: tests/__init__.py class ElectrumTestCase (line 35) | class ElectrumTestCase(unittest.IsolatedAsyncioTestCase, Logger): method __init__ (line 47) | def __init__(self, *args, **kwargs): method setUpClass (line 52) | def setUpClass(cls): method tearDownClass (line 61) | def tearDownClass(cls): method setUp (line 66) | def setUp(self): method asyncSetUp (line 79) | async def asyncSetUp(self): method asyncTearDown (line 87) | async def asyncTearDown(self): method tearDown (line 95) | def tearDown(self): method create_mock_lnwallet (line 102) | def create_mock_lnwallet( method get_wallet_file_path (line 114) | def get_wallet_file_path(self, wallet_name: str) -> str: function as_testnet (line 118) | def as_testnet(func): function restore_wallet_from_text__for_unittest (line 142) | def restore_wallet_from_text__for_unittest(*args, gap_limit=2, gap_limit... FILE: tests/plugins/test_revealer.py class TestRevealer (line 6) | class TestRevealer(ElectrumTestCase): method test_version_0_noisemap (line 8) | def test_version_0_noisemap(self): method test_version_1_noisemap (line 18) | def test_version_1_noisemap(self): method test_version_1_noisemap_indexerror (line 28) | def test_version_1_noisemap_indexerror(self): FILE: tests/plugins/test_timelock_recovery.py class TestTimelockRecovery (line 18) | class TestTimelockRecovery(ElectrumTestCase): method setUp (line 21) | def setUp(self): method tearDown (line 31) | def tearDown(self): method _create_default_wallet (line 36) | def _create_default_wallet(self): method test_get_alert_address (line 44) | async def test_get_alert_address(self): method test_get_cancellation_address (line 51) | async def test_get_cancellation_address(self): method test_make_unsigned_alert_tx (line 59) | async def test_make_unsigned_alert_tx(self): method test_make_unsigned_recovery_tx (line 81) | async def test_make_unsigned_recovery_tx(self): method test_make_unsigned_cancellation_tx (line 104) | async def test_make_unsigned_cancellation_tx(self): method test_checksum_non_ascii (line 125) | def test_checksum_non_ascii(self): method test_checksum_bip_example (line 132) | def test_checksum_bip_example(self): FILE: tests/qml/qt_util.py class TestQCoreApplication (line 10) | class TestQCoreApplication(QCoreApplication): method doInvoke (line 12) | def doInvoke(self): class QEventReceiver (line 16) | class QEventReceiver(QObject): method __init__ (line 17) | def __init__(self, *signals): method doReceive (line 26) | def doReceive(self, signal, *args): method receivedForSignal (line 29) | def receivedForSignal(self, signal): method clear (line 32) | def clear(self): class QETestCase (line 36) | class QETestCase(unittest.TestCase): method setUp (line 38) | def setUp(self): method tearDown (line 58) | def tearDown(self): function qt_test (line 64) | def qt_test(func): FILE: tests/qml/test_qml_qeconfig.py class TestConfig (line 12) | class TestConfig(QETestCase): method setUpClass (line 14) | def setUpClass(cls): method setUp (line 17) | def setUp(self): method test_satstounits (line 23) | def test_satstounits(self): method test_unitstosats (line 30) | def test_unitstosats(self): method test_btc_amount_regexes (line 75) | def test_btc_amount_regexes(self): FILE: tests/qml/test_qml_qetransactionlistmodel.py class TestQETransactionListModel (line 9) | class TestQETransactionListModel(ElectrumTestCase): method test_get_section_by_timestamp (line 11) | def test_get_section_by_timestamp(self): method test_format_date_by_section (line 49) | def test_format_date_by_section(self): FILE: tests/qml/test_qml_types.py class WalletMock (line 12) | class WalletMock: method __init__ (line 13) | def __init__(self, electrum_path): class TestTypes (line 21) | class TestTypes(QETestCase): method setUp (line 23) | def setUp(self): method tearDown (line 28) | def tearDown(self): method test_qeamount (line 33) | def test_qeamount(self): method test_qeamount_copy (line 64) | def test_qeamount_copy(self): method test_qeamount_frominvoice (line 102) | def test_qeamount_frominvoice(self): FILE: tests/regtest.py class TestLightning (line 8) | class TestLightning(unittest.TestCase): method run_shell (line 12) | def run_shell(args, timeout=30): method setUp (line 21) | def setUp(self): method tearDown (line 35) | def tearDown(self): class TestUnixSockets (line 40) | class TestUnixSockets(TestLightning): method test_unixsockets (line 43) | def test_unixsockets(self): class TestLightningAB (line 47) | class TestLightningAB(TestLightning): method test_collaborative_close (line 58) | def test_collaborative_close(self): method test_backup (line 61) | def test_backup(self): method test_backup_local_forceclose (line 64) | def test_backup_local_forceclose(self): method test_breach (line 67) | def test_breach(self): method test_extract_preimage (line 70) | def test_extract_preimage(self): method test_redeem_received_htlcs (line 73) | def test_redeem_received_htlcs(self): method test_redeem_offered_htlcs (line 76) | def test_redeem_offered_htlcs(self): method test_breach_with_unspent_htlc (line 79) | def test_breach_with_unspent_htlc(self): method test_breach_with_spent_htlc (line 82) | def test_breach_with_spent_htlc(self): method test_lnwatcher_waits_until_fees_go_down (line 85) | def test_lnwatcher_waits_until_fees_go_down(self): class TestLightningSwapserver (line 89) | class TestLightningSwapserver(TestLightning): method test_swapserver_success (line 104) | def test_swapserver_success(self): method test_swapserver_forceclose (line 107) | def test_swapserver_forceclose(self): method test_swapserver_refund (line 110) | def test_swapserver_refund(self): class TestLightningWatchtower (line 115) | class TestLightningWatchtower(TestLightning): method test_watchtower (line 131) | def test_watchtower(self): class TestLightningABC (line 135) | class TestLightningABC(TestLightning): method test_fw_fail_htlc (line 147) | def test_fw_fail_htlc(self): class TestLightningJIT (line 151) | class TestLightningJIT(TestLightning): method test_just_in_time (line 165) | def test_just_in_time(self): class TestLightningJITTrampoline (line 169) | class TestLightningJITTrampoline(TestLightningJIT): FILE: tests/test_bitcoin.py function needs_test_with_all_aes_implementations (line 38) | def needs_test_with_all_aes_implementations(func): function needs_test_with_all_chacha20_implementations (line 85) | def needs_test_with_all_chacha20_implementations(func): function disable_ecdsa_r_value_grinding (line 123) | def disable_ecdsa_r_value_grinding(func): class Test_bitcoin (line 149) | class Test_bitcoin(ElectrumTestCase): method test_libsecp256k1_is_available (line 151) | def test_libsecp256k1_is_available(self): method test_pycryptodomex_is_available (line 155) | def test_pycryptodomex_is_available(self): method test_cryptography_is_available (line 159) | def test_cryptography_is_available(self): method test_pyaes_is_available (line 163) | def test_pyaes_is_available(self): method test_crypto (line 168) | def test_crypto(self): method _do_test_crypto (line 172) | def _do_test_crypto(self, message: bytes): method sign_message_with_wif_privkey (line 200) | def sign_message_with_wif_privkey(wif_privkey: str, msg: bytes) -> bytes: method test_signmessage_legacy_address (line 205) | def test_signmessage_legacy_address(self): method test_signmessage_low_s (line 228) | def test_signmessage_low_s(self): method test_signmessage_segwit_witness_v0_address (line 237) | def test_signmessage_segwit_witness_v0_address(self): method test_signmessage_segwit_witness_v0_address_test_we_also_accept_sigs_from_trezor (line 252) | def test_signmessage_segwit_witness_v0_address_test_we_also_accept_sig... method test_decrypt_message (line 272) | def test_decrypt_message(self): method test_encrypt_message (line 282) | def test_encrypt_message(self): method test_aes_homomorphic (line 296) | def test_aes_homomorphic(self): method test_aes_encode_without_password (line 306) | def test_aes_encode_without_password(self): method test_aes_deencode_without_password (line 314) | def test_aes_deencode_without_password(self): method test_aes_decode_with_invalid_password (line 322) | def test_aes_decode_with_invalid_password(self): method test_chacha20_poly1305_encrypt__with_associated_data (line 338) | def test_chacha20_poly1305_encrypt__with_associated_data(self): method test_chacha20_poly1305_decrypt__with_associated_data (line 347) | def test_chacha20_poly1305_decrypt__with_associated_data(self): method test_chacha20_poly1305_encrypt__without_associated_data (line 358) | def test_chacha20_poly1305_encrypt__without_associated_data(self): method test_chacha20_poly1305_decrypt__without_associated_data (line 368) | def test_chacha20_poly1305_decrypt__without_associated_data(self): method test_chacha20_encrypt__8_byte_nonce (line 378) | def test_chacha20_encrypt__8_byte_nonce(self): method test_chacha20_encrypt__12_byte_nonce (line 387) | def test_chacha20_encrypt__12_byte_nonce(self): method test_sha256d (line 395) | def test_sha256d(self): method test_var_int (line 399) | def test_var_int(self): method test_op_push (line 414) | def test_op_push(self): method test_script_num_to_hex (line 428) | def test_script_num_to_hex(self): method test_push_script (line 443) | def test_push_script(self): method test_add_number_to_script (line 457) | def test_add_number_to_script(self): method test_address_to_script (line 480) | def test_address_to_script(self): method test_address_to_payload (line 549) | def test_address_to_payload(self): method test_bech32_decode (line 575) | def test_bech32_decode(self): class Test_xprv_xpub (line 664) | class Test_xprv_xpub(ElectrumTestCase): method _do_test_bip32 (line 679) | def _do_test_bip32(self, seed: str, sequence: str): method test_bip32 (line 693) | def test_bip32(self): method test_xpub_from_xprv (line 712) | def test_xpub_from_xprv(self): method test_is_xpub (line 718) | def test_is_xpub(self): method test_xpub_type (line 725) | def test_xpub_type(self): method test_is_xprv (line 730) | def test_is_xprv(self): method test_bip32_from_xkey (line 737) | def test_bip32_from_xkey(self): method test_is_bip32_derivation (line 759) | def test_is_bip32_derivation(self): method test_convert_bip32_strpath_to_intpath (line 774) | def test_convert_bip32_strpath_to_intpath(self): method test_convert_bip32_intpath_to_strpath (line 779) | def test_convert_bip32_intpath_to_strpath(self): method test_normalize_bip32_derivation (line 788) | def test_normalize_bip32_derivation(self): method test_is_xkey_consistent_with_key_origin_info (line 794) | def test_is_xkey_consistent_with_key_origin_info(self): method test_is_all_public_derivation (line 865) | def test_is_all_public_derivation(self): method test_xtype_from_derivation (line 873) | def test_xtype_from_derivation(self): method test_version_bytes (line 890) | def test_version_bytes(self): class Test_xprv_xpub_testnet (line 926) | class Test_xprv_xpub_testnet(ElectrumTestCase): method test_version_bytes (line 929) | def test_version_bytes(self): class Test_keyImport (line 965) | class Test_keyImport(ElectrumTestCase): method test_public_key_from_private_key (line 1052) | def test_public_key_from_private_key(self): method test_address_from_private_key (line 1060) | def test_address_from_private_key(self): method test_is_valid_address (line 1065) | def test_is_valid_address(self): method test_is_address_bad_checksums (line 1080) | def test_is_address_bad_checksums(self): method test_is_private_key (line 1090) | def test_is_private_key(self): method test_serialize_privkey (line 1098) | def test_serialize_privkey(self): method test_address_to_scripthash (line 1104) | def test_address_to_scripthash(self): method test_is_minikey (line 1109) | def test_is_minikey(self): method test_is_compressed_privkey (line 1115) | def test_is_compressed_privkey(self): method test_segwit_uncompressed_pubkey (line 1120) | def test_segwit_uncompressed_pubkey(self): method test_wif_with_invalid_magic_byte_for_compressed_pubkey (line 1125) | def test_wif_with_invalid_magic_byte_for_compressed_pubkey(self): class TestBaseEncode (line 1131) | class TestBaseEncode(ElectrumTestCase): method test_base43 (line 1133) | def test_base43(self): method test_base58 (line 1142) | def test_base58(self): method test_base58check (line 1151) | def test_base58check(self): class TestTaprootHelpers (line 1161) | class TestTaprootHelpers(ElectrumTestCase): method test_taproot_tweak_homomorphism (line 1163) | def test_taproot_tweak_homomorphism(self): method test_taproot_output_script (line 1174) | def test_taproot_output_script(self): FILE: tests/test_blockchain.py class TestBlockchain (line 13) | class TestBlockchain(ElectrumTestCase): method setUpClass (line 49) | def setUpClass(cls): method tearDownClass (line 54) | def tearDownClass(cls): method setUp (line 58) | def setUp(self): method _append_header (line 65) | def _append_header(self, chain: Blockchain, header: dict): method test_get_height_of_last_common_block_with_chain (line 69) | def test_get_height_of_last_common_block_with_chain(self): method test_parents_after_forking (line 125) | def test_parents_after_forking(self): method test_forking_and_swapping (line 171) | def test_forking_and_swapping(self): method test_doing_multiple_swaps_after_single_new_header (line 271) | def test_doing_multiple_swaps_after_single_new_header(self): method get_chains_that_contain_header_helper (line 339) | def get_chains_that_contain_header_helper(self, header: dict): method test_get_chains_that_contain_header (line 344) | def test_get_chains_that_contain_header(self): method test_target_to_bits (line 387) | def test_target_to_bits(self): class TestVerifyHeader (line 429) | class TestVerifyHeader(ElectrumTestCase): method setUp (line 436) | def setUp(self): method test_valid_header (line 440) | def test_valid_header(self): method test_expected_hash_mismatch (line 443) | def test_expected_hash_mismatch(self): method test_prev_hash_mismatch (line 448) | def test_prev_hash_mismatch(self): method test_target_mismatch (line 452) | def test_target_mismatch(self): method test_insufficient_pow (line 457) | def test_insufficient_pow(self): FILE: tests/test_bolt11.py class TestBolt11 (line 24) | class TestBolt11(ElectrumTestCase): method test_shorten_amount (line 25) | def test_shorten_amount(self): method compare (line 41) | def compare(a, b): method test_roundtrip (line 62) | def test_roundtrip(self): method test_n_decoding (line 123) | def test_n_decoding(self): method test_min_final_cltv_expiry_decoding (line 141) | def test_min_final_cltv_expiry_decoding(self): method test_min_final_cltv_expiry_roundtrip (line 150) | def test_min_final_cltv_expiry_roundtrip(self): method test_features (line 158) | def test_features(self): method test_payment_secret (line 163) | def test_payment_secret(self): method test_validate_and_compare_features (line 168) | def test_validate_and_compare_features(self): method test_format_bolt11_routing_info_as_human_readable (line 174) | def test_format_bolt11_routing_info_as_human_readable(self): FILE: tests/test_callbackmgr.py class MyEventListener (line 12) | class MyEventListener(EventListener): method __init__ (line 13) | def __init__(self, *, autostart: bool = False): method start (line 19) | def start(self): method stop (line 22) | def stop(self): method on_event_satoshi_moves_his_coins (line 26) | async def on_event_satoshi_moves_his_coins(self, arg1, arg2): method on_event_hal_moves_his_coins (line 30) | def on_event_hal_moves_his_coins(self, arg1, arg2): # non-async function fast_sleep (line 37) | async def fast_sleep(): class TestCallbackMgr (line 43) | class TestCallbackMgr(ElectrumTestCase): method test_multiple_calls_to_register_callbacks (line 45) | def test_multiple_calls_to_register_callbacks(self): method test_trigger_callback (line 65) | async def test_trigger_callback(self): method test_gc (line 92) | async def test_gc(self): method test_gc2 (line 115) | async def test_gc2(self): method test_gc_complex_using_wallet (line 124) | async def test_gc_complex_using_wallet(self): FILE: tests/test_coinchooser.py class TestCoinChooser (line 11) | class TestCoinChooser(ElectrumTestCase): method get_dummy_txin_1_284_474_sat (line 14) | def get_dummy_txin_1_284_474_sat() -> PartialTxInput: method get_dummy_txout_1 (line 29) | def get_dummy_txout_1(amount: Optional[int] = 1000000) -> PartialTxOut... method test_bucket_candidates_with_empty_buckets (line 36) | def test_bucket_candidates_with_empty_buckets(self): method test_make_tx_no_outputs_adds_change (line 49) | def test_make_tx_no_outputs_adds_change(self): method test_doesnt_round_output_value_with_zerofee_estimator (line 94) | def test_doesnt_round_output_value_with_zerofee_estimator(self): FILE: tests/test_commands.py class TestCommands (line 32) | class TestCommands(ElectrumTestCase): method setUp (line 34) | def setUp(self): method test_setconfig_non_auth_number (line 38) | def test_setconfig_non_auth_number(self): method test_setconfig_non_auth_number_as_string (line 43) | def test_setconfig_non_auth_number_as_string(self): method test_setconfig_non_auth_boolean (line 46) | def test_setconfig_non_auth_boolean(self): method test_setconfig_non_auth_list (line 50) | def test_setconfig_non_auth_list(self): method test_setconfig_auth (line 56) | def test_setconfig_auth(self): method test_setconfig_none (line 64) | def test_setconfig_none(self): method test_eval_bool (line 72) | def test_eval_bool(self): method test_convert_xkey (line 82) | async def test_convert_xkey(self): method test_encrypt_decrypt (line 103) | async def test_encrypt_decrypt(self, mock_save_db): method test_export_private_key_imported (line 115) | async def test_export_private_key_imported(self, mock_save_db): method test_export_private_key_deterministic (line 135) | async def test_export_private_key_deterministic(self, mock_save_db): method test_verifymessage_enforces_strict_base64 (line 154) | async def test_verifymessage_enforces_strict_base64(self): method test_decrypt_enforces_strict_base64 (line 163) | async def test_decrypt_enforces_strict_base64(self, mock_save_db): method test_format_satoshis (line 176) | def test_format_satoshis(self): class TestCommandsTestnet (line 193) | class TestCommandsTestnet(ElectrumTestCase): method setUp (line 196) | def setUp(self): method tearDown (line 206) | def tearDown(self): method asyncSetUp (line 210) | async def asyncSetUp(self): method asyncTearDown (line 215) | async def asyncTearDown(self): method test_convert_xkey (line 220) | async def test_convert_xkey(self): method test_serialize (line 240) | async def test_serialize(self): method test_serialize_custom_nsequence (line 261) | async def test_serialize_custom_nsequence(self): method test_getprivatekeyforpath (line 284) | async def test_getprivatekeyforpath(self, mock_save_db): method test_payto (line 298) | async def test_payto(self, mock_save_db): method test_payto__confirmed_only (line 333) | async def test_payto__confirmed_only(self, mock_save_db): method test_paytomany_multiple_max_spends (line 368) | async def test_paytomany_multiple_max_spends(self, mock_save_db): method test_signtransaction_without_wallet (line 395) | async def test_signtransaction_without_wallet(self, mock_save_db): method test_signtransaction_with_wallet (line 403) | async def test_signtransaction_with_wallet(self, mock_save_db): method test_bumpfee (line 424) | async def test_bumpfee(self, mock_save_db): method test_importprivkey (line 455) | async def test_importprivkey(self, mock_save_db): method test_hold_invoice_commands (line 494) | async def test_hold_invoice_commands(self, mock_save_db): method test_onchain_history (line 592) | async def test_onchain_history(self, *mock_args): method test_get_submarine_swap_providers (line 671) | async def test_get_submarine_swap_providers(self, *mock_args): method test_export_lightning_preimage (line 737) | async def test_export_lightning_preimage(self, *mock_args): method test_add_peer (line 753) | async def test_add_peer(self, *mock_args): FILE: tests/test_contacts.py class TestContacts (line 11) | class TestContacts(ElectrumTestCase): method setUp (line 14) | def setUp(self): method test_saving_contacts (line 19) | async def test_saving_contacts(self): FILE: tests/test_daemon.py class DaemonTestCase (line 18) | class DaemonTestCase(ElectrumTestCase): method setUp (line 21) | def setUp(self): method asyncSetUp (line 29) | async def asyncSetUp(self): method asyncTearDown (line 34) | async def asyncTearDown(self): method _restore_wallet_from_text (line 38) | def _restore_wallet_from_text(self, text, *, password: Optional[str], ... class TestUnifiedPassword (line 57) | class TestUnifiedPassword(DaemonTestCase): method setUp (line 59) | def setUp(self): method _run_post_unif_sanity_checks (line 63) | def _run_post_unif_sanity_checks(self, paths: Iterable[str], *, passwo... method test_cannot_unify_two_std_wallets_both_have_ks_and_sto_enc (line 81) | async def test_cannot_unify_two_std_wallets_both_have_ks_and_sto_enc(s... method test_cannot_unify_mixed_wallets (line 101) | async def test_cannot_unify_mixed_wallets(self): method test_can_unify_two_std_wallets_both_have_ks_and_sto_enc (line 129) | async def test_can_unify_two_std_wallets_both_have_ks_and_sto_enc(self): method test_can_unify_two_std_wallets_one_has_ks_enc_other_has_both_enc (line 138) | async def test_can_unify_two_std_wallets_one_has_ks_enc_other_has_both... method test_can_unify_two_std_wallets_one_without_password (line 154) | async def test_can_unify_two_std_wallets_one_without_password(self): method test_can_unify_large_folder_yet_to_be_unified (line 164) | async def test_can_unify_large_folder_yet_to_be_unified(self): method test_wallet_objects_are_properly_garbage_collected_after_check_pw_for_dir (line 199) | async def test_wallet_objects_are_properly_garbage_collected_after_che... class TestCommandsWithDaemon (line 232) | class TestCommandsWithDaemon(DaemonTestCase): method test_wp_command_with_inmemory_wallet_has_password (line 236) | async def test_wp_command_with_inmemory_wallet_has_password(self): method test_wp_command_with_inmemory_wallet_no_password (line 245) | async def test_wp_command_with_inmemory_wallet_no_password(self): method test_wp_command_with_diskfile_wallet_has_password (line 253) | async def test_wp_command_with_diskfile_wallet_has_password(self): method test_wp_command_with_diskfile_wallet_no_password (line 264) | async def test_wp_command_with_diskfile_wallet_no_password(self): class TestLoadWallet (line 276) | class TestLoadWallet(DaemonTestCase): method test_simple_load (line 278) | async def test_simple_load(self): method test_password_checks_for_no_password (line 283) | async def test_password_checks_for_no_password(self): method test_password_checks_for_ks_enc (line 306) | async def test_password_checks_for_ks_enc(self): method test_password_checks_for_sto_enc (line 329) | async def test_password_checks_for_sto_enc(self): FILE: tests/test_descriptor.py class TestDescriptor (line 28) | class TestDescriptor(ElectrumTestCase): method test_parse_descriptor_with_origin (line 31) | def test_parse_descriptor_with_origin(self): method test_parse_multisig_descriptor_with_origin (line 49) | def test_parse_multisig_descriptor_with_origin(self): method test_parse_descriptor_without_origin (line 111) | def test_parse_descriptor_without_origin(self): method test_parse_descriptor_with_origin_fingerprint_only (line 127) | def test_parse_descriptor_with_origin_fingerprint_only(self): method test_parse_descriptor_with_key_at_end_with_origin (line 141) | def test_parse_descriptor_with_key_at_end_with_origin(self): method test_parse_descriptor_with_key_at_end_without_origin (line 170) | def test_parse_descriptor_with_key_at_end_without_origin(self): method test_parse_empty_descriptor (line 181) | def test_parse_empty_descriptor(self): method test_parse_descriptor_replace_h (line 185) | def test_parse_descriptor_replace_h(self): method test_parse_descriptor_unknown_notation_for_hardened_derivation (line 192) | def test_parse_descriptor_unknown_notation_for_hardened_derivation(self): method test_checksums (line 198) | def test_checksums(self): method test_tr_descriptor (line 221) | def test_tr_descriptor(self): method test_tr_descriptor_bip386 (line 251) | def test_tr_descriptor_bip386(self): method test_parse_descriptor_with_range (line 262) | def test_parse_descriptor_with_range(self): method test_parse_multisig_descriptor_with_range (line 284) | def test_parse_multisig_descriptor_with_range(self): method test_multisig_descriptor_with_mixed_range (line 305) | def test_multisig_descriptor_with_mixed_range(self): method test_uncompressed_pubkey_in_segwit (line 315) | def test_uncompressed_pubkey_in_segwit(self): method test_parse_descriptor_context (line 338) | def test_parse_descriptor_context(self): method test_parse_descriptor_ypub_zpub_forbidden (line 351) | def test_parse_descriptor_ypub_zpub_forbidden(self): method test_sortedmulti_ranged_pubkey_order (line 359) | def test_sortedmulti_ranged_pubkey_order(self): method test_sortedmulti_unranged_pubkey_order (line 372) | def test_sortedmulti_unranged_pubkey_order(self): method test_pubkey_provider_deriv_path (line 386) | def test_pubkey_provider_deriv_path(self): FILE: tests/test_fee_policy.py class Test_FeeHistogram (line 6) | class Test_FeeHistogram(ElectrumTestCase): method setUp (line 8) | def setUp(self): method tearDown (line 11) | def tearDown(self): method test_depth_target_to_fee (line 14) | def test_depth_target_to_fee(self): method test_fee_to_depth (line 41) | def test_fee_to_depth(self): FILE: tests/test_i18n.py class TestSyntaxChecks (line 10) | class TestSyntaxChecks(ElectrumTestCase): method test_no_format (line 13) | def test_no_format(self): method test_malformed_src_string_raises (line 17) | def test_malformed_src_string_raises(self): method test_malformed_dst_string_gets_rejected (line 22) | def test_malformed_dst_string_gets_rejected(self): method test_simple_substitution (line 30) | def test_simple_substitution(self): method test_positional_substitution (line 36) | def test_positional_substitution(self): method test_keyword_substitution (line 44) | def test_keyword_substitution(self): method test_mixed_sub (line 48) | def test_mixed_sub(self): method test_allow_reordering_replacement_fields (line 54) | def test_allow_reordering_replacement_fields(self): # language-flexib... method test_replacement_field_name_cannot_change (line 60) | def test_replacement_field_name_cannot_change(self): method test_replacement_field_count_cannot_change (line 78) | def test_replacement_field_count_cannot_change(self): FILE: tests/test_interface.py class TestServerAddr (line 25) | class TestServerAddr(ElectrumTestCase): method test_from_str (line 27) | def test_from_str(self): method test_from_str_with_inference (line 37) | def test_from_str_with_inference(self): method test_to_friendly_name (line 57) | def test_to_friendly_name(self): class MockNetwork (line 70) | class MockNetwork: method __init__ (line 72) | def __init__(self, *, config: SimpleConfig): method connection_down (line 83) | async def connection_down(self, interface: Interface): method get_network_timeout_seconds (line 85) | def get_network_timeout_seconds(self, request_type) -> int: method check_interface_against_healthy_spread_of_connected_servers (line 87) | def check_interface_against_healthy_spread_of_connected_servers(self, ... method update_fee_estimates (line 89) | def update_fee_estimates(self, *, fee_est: dict[int, int] = None): method switch_unwanted_fork_interface (line 91) | async def switch_unwanted_fork_interface(self): method switch_lagging_interface (line 93) | async def switch_lagging_interface(self): method blockchain (line 95) | def blockchain(self) -> Blockchain: method get_local_height (line 97) | def get_local_height(self) -> int: function _get_active_server_session (line 119) | def _get_active_server_session() -> 'ToyServerSession': class ToyServerSession (line 123) | class ToyServerSession(aiorpcx.RPCSession, Logger): method __init__ (line 125) | def __init__(self, *args, **kwargs): method connection_lost (line 142) | async def connection_lost(self): method handle_request (line 147) | async def handle_request(self, request): method _handle_server_version (line 168) | async def _handle_server_version(self, client_name='', protocol_versio... method _handle_server_features (line 171) | async def _handle_server_features(self) -> dict: method _handle_estimatefee (line 182) | async def _handle_estimatefee(self, number, mode=None): method _handle_mempool_get_info (line 185) | async def _handle_mempool_get_info(self): method _get_headersub_result (line 192) | def _get_headersub_result(self): method _handle_headers_subscribe (line 195) | async def _handle_headers_subscribe(self): method _handle_block_header (line 199) | async def _handle_block_header(self, height): method _handle_block_headers (line 202) | async def _handle_block_headers(self, start_height, count): method _handle_ping (line 209) | async def _handle_ping(self): method _handle_transaction_get (line 212) | async def _handle_transaction_get(self, tx_hash: str, verbose=False): method _handle_transaction_get_merkle (line 220) | async def _handle_transaction_get_merkle(self, tx_hash: str, height: i... method _handle_transaction_broadcast (line 241) | async def _handle_transaction_broadcast(self, raw_tx: str) -> str: method _process_added_tx (line 250) | async def _process_added_tx(self, *, txid: str) -> set[str]: method _handle_scripthash_subscribe (line 269) | async def _handle_scripthash_subscribe(self, sh: str) -> Optional[str]: method _handle_scripthash_get_history (line 274) | async def _handle_scripthash_get_history(self, sh: str) -> Sequence[di... method _calc_sh_history (line 282) | def _calc_sh_history(self, sh: str) -> Sequence[tuple[str, int]]: method _send_notifications (line 291) | async def _send_notifications(self, *, touched_sh: Iterable[str], heig... method mine_block (line 302) | async def mine_block(self, *, txids_mined: Iterable[str] = None): class TestInterface (line 313) | class TestInterface(ElectrumTestCase): method setUp (line 316) | def setUp(self): method tearDown (line 323) | def tearDown(self): method asyncSetUp (line 327) | async def asyncSetUp(self): method asyncTearDown (line 334) | async def asyncTearDown(self): method _start_iface_and_wait_for_sync (line 341) | async def _start_iface_and_wait_for_sync(self): method test_client_syncs_headers_to_tip (line 349) | async def test_client_syncs_headers_to_tip(self): method test_transaction_get (line 354) | async def test_transaction_get(self): method test_transaction_broadcast (line 365) | async def test_transaction_broadcast(self): method test_dont_request_gethistory_if_status_change_results_from_mempool_txs_simply_getting_mined (line 379) | async def test_dont_request_gethistory_if_status_change_results_from_m... FILE: tests/test_invoices.py class TestWalletPaymentRequests (line 16) | class TestWalletPaymentRequests(ElectrumTestCase): method setUp (line 20) | def setUp(self): method tearDown (line 27) | def tearDown(self): method create_wallet2 (line 31) | def create_wallet2(self) -> Standard_Wallet: method test_wallet_with_ln_creates_payreq_and_gets_paid_on_ln (line 42) | async def test_wallet_with_ln_creates_payreq_and_gets_paid_on_ln(self): method test_wallet_with_ln_creates_payreq_and_gets_paid_onchain (line 59) | async def test_wallet_with_ln_creates_payreq_and_gets_paid_onchain(self): method test_wallet_without_ln_creates_payreq_and_gets_paid_onchain (line 90) | async def test_wallet_without_ln_creates_payreq_and_gets_paid_onchain(... method test_wallet_gets_paid_onchain_in_the_past (line 121) | async def test_wallet_gets_paid_onchain_in_the_past(self): method test_wallet_reuse_addr_of_expired_request (line 151) | async def test_wallet_reuse_addr_of_expired_request(self): method test_wallet_get_request_by_addr (line 179) | async def test_wallet_get_request_by_addr(self): class TestBaseInvoice (line 224) | class TestBaseInvoice(ElectrumTestCase): method test_arg_validation (line 227) | async def test_arg_validation(self): FILE: tests/test_jsondb.py class TestJsonpatch (line 15) | class TestJsonpatch(ElectrumTestCase): method test_op_replace (line 17) | async def test_op_replace(self): method _customAssertRaises (line 28) | def _customAssertRaises(self, *args, **kwargs): method test_patch_does_not_leak_privatekeys (line 37) | async def test_patch_does_not_leak_privatekeys(self): function pop1_from_dict (line 92) | def pop1_from_dict(d: dict, key: str) -> Any: function pop2_from_dict (line 96) | def pop2_from_dict(d: dict, key: str) -> Any: class TestJsonDB (line 102) | class TestJsonDB(ElectrumTestCase): method test_jsonpatch_replace_after_remove (line 104) | async def test_jsonpatch_replace_after_remove(self): method test_jsondb_replace_after_remove (line 122) | async def test_jsondb_replace_after_remove(self): method test_jsondb_replace_after_remove_nested (line 139) | async def test_jsondb_replace_after_remove_nested(self): FILE: tests/test_lnchannel.py function _convert_to_rconfig_from_lconfig (line 59) | def _convert_to_rconfig_from_lconfig(lconfig: LocalConfig) -> RemoteConfig: function create_channel_state (line 88) | def create_channel_state( function create_test_channels (line 124) | def create_test_channels( class TestFee (line 259) | class TestFee(ElectrumTestCase): method asyncSetUp (line 265) | async def asyncSetUp(self): method test_fee (line 270) | async def test_fee(self): class TestChannel (line 283) | class TestChannel(ElectrumTestCase): method assertOutputExistsByValue (line 286) | def assertOutputExistsByValue(self, tx, amt_sat): method assertNumberNonAnchorOutputs (line 293) | def assertNumberNonAnchorOutputs(self, number, tx): method setUpClass (line 297) | def setUpClass(cls): method asyncSetUp (line 301) | async def asyncSetUp(self): method test_concurrent_reversed_payment (line 334) | def test_concurrent_reversed_payment(self): method test_SimpleAddSettleWorkflow (line 362) | async def test_SimpleAddSettleWorkflow(self): method alice_to_bob_fee_update (line 639) | def alice_to_bob_fee_update(self, fee=1111): method test_UpdateFeeSenderCommits (line 651) | def test_UpdateFeeSenderCommits(self): method test_UpdateFeeReceiverCommits (line 685) | def test_UpdateFeeReceiverCommits(self): method test_AddHTLCNegativeBalance (line 717) | def test_AddHTLCNegativeBalance(self): method test_unfunded_channel_can_be_removed (line 749) | def test_unfunded_channel_can_be_removed(self): class TestChannelAnchors (line 790) | class TestChannelAnchors(TestChannel): class TestAvailableToSpend (line 794) | class TestAvailableToSpend(ElectrumTestCase): method asyncSetUp (line 795) | async def asyncSetUp(self): method test_DesyncHTLCs (line 800) | async def test_DesyncHTLCs(self): method test_single_payment (line 847) | async def test_single_payment(self): class TestAvailableToSpendAnchors (line 907) | class TestAvailableToSpendAnchors(TestAvailableToSpend): class TestChanReserve (line 911) | class TestChanReserve(ElectrumTestCase): method asyncSetUp (line 912) | async def asyncSetUp(self): method test_part1 (line 935) | def test_part1(self): method part2 (line 975) | def part2(self): method part3 (line 1001) | def part3(self): method check_bals (line 1037) | def check_bals(self, amt1, amt2): class TestChanReserveAnchors (line 1044) | class TestChanReserveAnchors(TestChanReserve): class TestDust (line 1048) | class TestDust(ElectrumTestCase): method asyncSetUp (line 1049) | async def asyncSetUp(self): method test_DustLimit (line 1054) | async def test_DustLimit(self): class TestDustAnchors (line 1111) | class TestDustAnchors(TestDust): function force_state_transition (line 1115) | def force_state_transition(chanA, chanB): FILE: tests/test_lnhtlc.py class H (line 11) | class H(NamedTuple): class TestHTLCManager (line 15) | class TestHTLCManager(ElectrumTestCase): method test_adding_htlcs_race (line 16) | def test_adding_htlcs_race(self): method test_single_htlc_full_lifecycle (line 62) | def test_single_htlc_full_lifecycle(self): method test_remove_htlc_while_owing_commitment (line 135) | def test_remove_htlc_while_owing_commitment(self): method test_adding_htlc_between_send_ctx_and_recv_rev (line 173) | def test_adding_htlc_between_send_ctx_and_recv_rev(self): method test_unacked_local_updates (line 219) | def test_unacked_local_updates(self): FILE: tests/test_lnmsg.py class TestLNMsg (line 17) | class TestLNMsg(ElectrumTestCase): method test_write_bigsize_int (line 20) | def test_write_bigsize_int(self): method test_read_bigsize_int (line 30) | def test_read_bigsize_int(self): method test_read_tlv_stream_tests1 (line 60) | def test_read_tlv_stream_tests1(self): method test_read_tlv_stream_tests2 (line 133) | def test_read_tlv_stream_tests2(self): method test_read_tlv_stream_tests3 (line 173) | def test_read_tlv_stream_tests3(self): method test_encode_decode_msg__missing_mandatory_field_gets_set_to_zeroes (line 187) | def test_encode_decode_msg__missing_mandatory_field_gets_set_to_zeroes... method test_encode_decode_msg__ints_can_be_passed_as_bytes (line 218) | def test_encode_decode_msg__ints_can_be_passed_as_bytes(self): method test_encode_decode_msg__commitment_signed (line 263) | def test_encode_decode_msg__commitment_signed(self): method test_encode_decode_msg__init (line 315) | def test_encode_decode_msg__init(self): method test_decode_onion_error (line 362) | def test_decode_onion_error(self): method test_address_parsing_and_serialization (line 374) | def test_address_parsing_and_serialization(self): FILE: tests/test_lnpeer.py class MockNetwork (line 61) | class MockNetwork: method __init__ (line 62) | def __init__(self, *, config: SimpleConfig): method get_local_height (line 77) | def get_local_height(self): method blockchain (line 80) | def blockchain(self): method broadcast_transaction (line 83) | async def broadcast_transaction(self, tx): method try_broadcasting (line 86) | async def try_broadcasting(self, tx, name): method populate_fee_estimates (line 89) | def populate_fee_estimates(self): class MockBlockchain (line 94) | class MockBlockchain: method __init__ (line 95) | def __init__(self): method height (line 100) | def height(self): method is_tip_stale (line 103) | def is_tip_stale(self): class MockLNGossip (line 107) | class MockLNGossip: method get_sync_progress_estimate (line 108) | def get_sync_progress_estimate(self): class MockWalletFactory (line 112) | class MockWalletFactory(electrum.wallet.Wallet): method wallet_class (line 115) | def wallet_class(wallet_type): class MockStandardWallet (line 122) | class MockStandardWallet(Standard_Wallet): method _init_lnworker (line 123) | def _init_lnworker(self): method basename (line 128) | def basename(self): function _create_mock_lnwallet (line 133) | def _create_mock_lnwallet(*, name, has_anchors, data_dir: str) -> 'MockL... class MockLNWallet (line 153) | class MockLNWallet(LNWallet): method __init__ (line 158) | def __init__(self, *args, **kwargs): method _add_channel (line 162) | def _add_channel(self, chan: Channel): method features (line 168) | def features(self, value): method name (line 172) | def name(self): method stop (line 175) | async def stop(self): method create_routes_from_invoice (line 181) | async def create_routes_from_invoice(self, amount_msat: int, decoded_i... class MockTransport (line 204) | class MockTransport: method __init__ (line 205) | def __init__(self, name): method name (line 210) | def name(self): method read_messages (line 213) | async def read_messages(self): class NoFeaturesTransport (line 221) | class NoFeaturesTransport(MockTransport): method send_bytes (line 226) | def send_bytes(self, data): class PutIntoOthersQueueTransport (line 232) | class PutIntoOthersQueueTransport(MockTransport): method __init__ (line 233) | def __init__(self, keypair, name): method send_bytes (line 238) | def send_bytes(self, data): function transport_pair (line 241) | def transport_pair(k1, k2, name1, name2): class PeerInTests (line 249) | class PeerInTests(Peer): class Graph (line 368) | class Graph(NamedTuple): class PaymentDone (line 374) | class PaymentDone(Exception): pass class PaymentTimeout (line 375) | class PaymentTimeout(Exception): pass class SuccessfulTest (line 376) | class SuccessfulTest(Exception): pass function inject_chan_into_gossipdb (line 379) | def inject_chan_into_gossipdb(*, channel_db: ChannelDB, graph: Graph, no... class TestPeer (line 393) | class TestPeer(ElectrumTestCase): method setUpClass (line 397) | def setUpClass(cls): method setUp (line 401) | def setUp(self): method asyncTearDown (line 405) | async def asyncTearDown(self): method prepare_invoice (line 410) | def prepare_invoice( method _activate_trampoline (line 466) | async def _activate_trampoline(self, w: MockLNWallet): method prepare_recipient (line 472) | def prepare_recipient(self, w2, payment_hash, test_hold_invoice, test_... method prepare_lnwallets (line 485) | def prepare_lnwallets(self, graph_definition) -> Mapping[str, MockLNWa... method prepare_chans_and_peers_in_graph (line 491) | def prepare_chans_and_peers_in_graph( class TestPeerUtils (line 573) | class TestPeerUtils(TestPeer): method test_decode_short_ids (line 575) | def test_decode_short_ids(self): method test_maybe_save_remote_update (line 611) | async def test_maybe_save_remote_update(self): class TestPeerDirect (line 638) | class TestPeerDirect(TestPeer): method prepare_peers (line 640) | def prepare_peers( method test_reestablish (line 651) | async def test_reestablish(self): method test_reestablish_with_old_state (line 669) | async def test_reestablish_with_old_state(self): method _send_fake_htlc (line 717) | def _send_fake_htlc(peer: Peer, chan: Channel) -> UpdateAddHtlc: method _test_reestablish_replay_messages (line 731) | async def _test_reestablish_replay_messages(self, rev_then_sig: bool): method test_reestablish_replay_messages_rev_then_sig (line 780) | async def test_reestablish_replay_messages_rev_then_sig(self): method test_reestablish_replay_messages_sig_then_rev (line 799) | async def test_reestablish_replay_messages_sig_then_rev(self): method _test_simple_payment (line 818) | async def _test_simple_payment( method test_simple_payment_success (line 878) | async def test_simple_payment_success(self): method test_simple_payment_failure (line 883) | async def test_simple_payment_failure(self): method test_payment_bundle (line 888) | async def test_payment_bundle(self): method test_payment_bundle_timeout (line 893) | async def test_payment_bundle_timeout(self): method test_payment_bundle_with_hold_invoice (line 898) | async def test_payment_bundle_with_hold_invoice(self): method test_simple_payment_success_with_hold_invoice (line 903) | async def test_simple_payment_success_with_hold_invoice(self): method test_simple_payment_failure_with_hold_invoice (line 908) | async def test_simple_payment_failure_with_hold_invoice(self): method test_check_invoice_before_payment (line 913) | async def test_check_invoice_before_payment(self): method test_reject_invalid_min_final_cltv_delta (line 946) | async def test_reject_invalid_min_final_cltv_delta(self): method test_reject_payment_for_expired_invoice (line 993) | async def test_reject_payment_for_expired_invoice(self): method test_reject_mpp_for_non_mpp_invoice (line 1037) | async def test_reject_mpp_for_non_mpp_invoice(self): method test_reject_multiple_payments_of_same_invoice (line 1078) | async def test_reject_multiple_payments_of_same_invoice(self): method test_payment_race (line 1120) | async def test_payment_race(self): method test_payments_stresstest (line 1202) | async def test_payments_stresstest(self): method test_payment_recv_mpp_confusion1 (line 1229) | async def test_payment_recv_mpp_confusion1(self): method test_payment_recv_mpp_confusion2 (line 1305) | async def test_payment_recv_mpp_confusion2(self): method test_dont_settle_partial_mpp_trigger_with_invalid_cltv_htlc (line 1377) | async def test_dont_settle_partial_mpp_trigger_with_invalid_cltv_htlc(... method test_mpp_cleanup_after_expiry (line 1457) | async def test_mpp_cleanup_after_expiry(self): method test_legacy_shutdown_low (line 1561) | async def test_legacy_shutdown_low(self): method test_legacy_shutdown_high (line 1564) | async def test_legacy_shutdown_high(self): method test_modern_shutdown_with_overlap (line 1567) | async def test_modern_shutdown_with_overlap(self): method test_modern_shutdown_no_overlap (line 1575) | async def test_modern_shutdown_no_overlap(self): method _test_shutdown (line 1588) | async def _test_shutdown(self, alice_fee, bob_fee, alice_fee_range=Non... method test_warning (line 1628) | async def test_warning(self): method test_error (line 1641) | async def test_error(self): method test_close_upfront_shutdown_script (line 1656) | async def test_close_upfront_shutdown_script(self): method test_channel_usage_after_closing (line 1733) | async def test_channel_usage_after_closing(self): method test_sending_weird_messages_that_should_be_ignored (line 1776) | async def test_sending_weird_messages_that_should_be_ignored(self): method test_sending_weird_messages__unknown_even_type (line 1807) | async def test_sending_weird_messages__unknown_even_type(self): method test_sending_weird_messages__known_msg_with_insufficient_length (line 1836) | async def test_sending_weird_messages__known_msg_with_insufficient_len... method test_hold_invoice_set_doesnt_get_expired (line 1865) | async def test_hold_invoice_set_doesnt_get_expired(self): method test_htlc_switch_iteration_benchmark (line 1943) | async def test_htlc_switch_iteration_benchmark(self): method test_dont_expire_htlcs (line 2013) | async def test_dont_expire_htlcs(self): class TestPeerForwarding (line 2092) | class TestPeerForwarding(TestPeer): method test_payment_in_graph_with_direct_channel (line 2094) | async def test_payment_in_graph_with_direct_channel(self): method test_payment_multihop (line 2143) | async def test_payment_multihop(self): method test_payment_multihop_with_preselected_path (line 2164) | async def test_payment_multihop_with_preselected_path(self): method test_payment_multihop_temp_node_failure (line 2208) | async def test_payment_multihop_temp_node_failure(self): method test_payment_multihop_route_around_failure (line 2232) | async def test_payment_multihop_route_around_failure(self): method test_refuse_to_forward_htlc_that_corresponds_to_payreq_we_created (line 2269) | async def test_refuse_to_forward_htlc_that_corresponds_to_payreq_we_cr... method test_payment_with_temp_channel_failure_and_liquidity_hints (line 2320) | async def test_payment_with_temp_channel_failure_and_liquidity_hints(s... method _run_mpp (line 2381) | async def _run_mpp(self, graph, kwargs): method test_payment_multipart (line 2444) | async def test_payment_multipart(self): method test_payment_multipart_with_hold_invoice (line 2449) | async def test_payment_multipart_with_hold_invoice(self): method test_payment_multipart_with_timeout (line 2454) | async def test_payment_multipart_with_timeout(self): method test_payment_multipart_wrong_invoice (line 2459) | async def test_payment_multipart_wrong_invoice(self): method test_payment_multipart_trampoline_e2e (line 2464) | async def test_payment_multipart_trampoline_e2e(self): method test_payment_multipart_trampoline_legacy (line 2479) | async def test_payment_multipart_trampoline_legacy(self): method test_fail_pending_htlcs_on_shutdown (line 2489) | async def test_fail_pending_htlcs_on_shutdown(self): method _run_trampoline_payment (line 2532) | async def _run_trampoline_payment( method create_square_graph (line 2585) | def create_square_graph(self, *, direct=False, test_mpp_consolidation=... method test_trampoline_mpp_consolidation (line 2607) | async def test_trampoline_mpp_consolidation(self): method test_trampoline_mpp_consolidation_forwarding_amount (line 2612) | async def test_trampoline_mpp_consolidation_forwarding_amount(self): method test_trampoline_mpp_consolidation_with_hold_invoice (line 2631) | async def test_trampoline_mpp_consolidation_with_hold_invoice(self): method test_trampoline_mpp_consolidation_with_hold_invoice_failure (line 2636) | async def test_trampoline_mpp_consolidation_with_hold_invoice_failure(... method test_payment_trampoline_legacy (line 2641) | async def test_payment_trampoline_legacy(self): method test_payment_trampoline_e2e_alice_t1_dave (line 2650) | async def test_payment_trampoline_e2e_alice_t1_dave(self): method test_payment_trampoline_e2e_alice_t1_t2_dave (line 2655) | async def test_payment_trampoline_e2e_alice_t1_t2_dave(self): method test_payment_trampoline_e2e_alice_t1_carol_t2_edward (line 2660) | async def test_payment_trampoline_e2e_alice_t1_carol_t2_edward(self): method test_multi_trampoline_payment (line 2671) | async def test_multi_trampoline_payment(self): method test_forwarder_fails_for_inconsistent_trampoline_onions (line 2699) | async def test_forwarder_fails_for_inconsistent_trampoline_onions(self): method test_payment_with_malformed_onion (line 2771) | async def test_payment_with_malformed_onion(self): method test_dont_settle_htlcs_receiver_and_forwarder (line 2809) | async def test_dont_settle_htlcs_receiver_and_forwarder(self): class TestPeerDirectAnchors (line 2883) | class TestPeerDirectAnchors(TestPeerDirect): class TestPeerForwardingAnchors (line 2886) | class TestPeerForwardingAnchors(TestPeerForwarding): function run (line 2890) | def run(coro): FILE: tests/test_lnpeermgr.py class TestLNPeerManager (line 13) | class TestLNPeerManager(ElectrumTestCase): method setUpClass (line 17) | def setUpClass(cls): method asyncSetUp (line 21) | async def asyncSetUp(self): method test_add_peer_conn_string_errors (line 26) | async def test_add_peer_conn_string_errors(self): method test_choose_preferred_address (line 62) | def test_choose_preferred_address(self): FILE: tests/test_lnrouter.py function channel (line 29) | def channel(number: int) -> ShortChannelID: function node (line 33) | def node(character: str) -> bytes: function alias (line 37) | def alias(character: str) -> bytes: function node_features (line 41) | def node_features(extra: LnFeatures = None) -> bytes: class Test_LNRouter (line 48) | class Test_LNRouter(ElectrumTestCase): method setUp (line 53) | def setUp(self): method asyncTearDown (line 58) | async def asyncTearDown(self): method prepare_graph (line 65) | def prepare_graph(self): method test_find_path_for_payment (line 201) | async def test_find_path_for_payment(self): method test_find_path_for_payment_with_node_filter (line 218) | async def test_find_path_for_payment_with_node_filter(self): method test_find_path_liquidity_hints (line 239) | async def test_find_path_liquidity_hints(self): method test_find_path_liquidity_hints_inflight_htlcs (line 296) | async def test_find_path_liquidity_hints_inflight_htlcs(self): method test_liquidity_hints (line 334) | def test_liquidity_hints(self): method test_new_onion_packet (line 379) | def test_new_onion_packet(self): method test_process_onion_packet (line 412) | def test_process_onion_packet(self): method test_create_legacy_trampoline_onion_multiple_rtags (line 462) | def test_create_legacy_trampoline_onion_multiple_rtags(self): method test_decode_onion_error (line 504) | def test_decode_onion_error(self): method test_find_path_for_onion_message (line 526) | async def test_find_path_for_onion_message(self): FILE: tests/test_lntransport.py class TestLNTransport (line 15) | class TestLNTransport(ElectrumTestCase): method test_responder (line 18) | async def test_responder(self): method test_loop (line 47) | async def test_loop(self): method test_split_host_port (line 109) | def test_split_host_port(self): method test_extract_nodeid (line 129) | def test_extract_nodeid(self): class TestLNPeerAddr (line 146) | class TestLNPeerAddr(ElectrumTestCase): method test_validate_net_address (line 148) | def test_validate_net_address(self): method test_is_onion (line 160) | def test_is_onion(self): FILE: tests/test_lnurl.py class TestLnurl (line 6) | class TestLnurl(TestCase): method test_decode (line 7) | def test_decode(self): method test_encode (line 14) | def test_encode(self): method test_lightning_address_to_url (line 20) | def test_lightning_address_to_url(self): method test_parse_lnurl3_response (line 24) | def test_parse_lnurl3_response(self): FILE: tests/test_lnutil.py class TestLNUtil (line 90) | class TestLNUtil(ElectrumTestCase): method test_shachain_store (line 91) | def test_shachain_store(self): method test_shachain_produce_consume (line 498) | def test_shachain_produce_consume(self): method test_commitment_tx_with_all_five_HTLCs_untrimmed_minimum_feerate (line 514) | def test_commitment_tx_with_all_five_HTLCs_untrimmed_minimum_feerate(s... method htlc_tx (line 627) | def htlc_tx(self, htlc: bytes, htlc_output_index: int, amount_msat: int, method test_commitment_tx_with_one_output (line 667) | def test_commitment_tx_with_one_output(self): method test_commitment_tx_with_fee_greater_than_funder_amount (line 698) | def test_commitment_tx_with_fee_greater_than_funder_amount(self): method test_extract_commitment_number_from_tx (line 729) | def test_extract_commitment_number_from_tx(self): method test_per_commitment_secret_from_seed (line 734) | def test_per_commitment_secret_from_seed(self): method test_key_derivation (line 746) | def test_key_derivation(self): method test_simple_commitment_tx_with_no_HTLCs (line 764) | def test_simple_commitment_tx_with_no_HTLCs(self): method test_commitment_tx_anchors_test_vectors (line 799) | def test_commitment_tx_anchors_test_vectors(self): method _test_commitment_tx_anchors_test_vectors (line 813) | def _test_commitment_tx_anchors_test_vectors(self): method sign_and_insert_remote_sig (line 904) | def sign_and_insert_remote_sig(self, tx: PartialTransaction, remote_pu... method test_get_compressed_pubkey_from_bech32 (line 916) | def test_get_compressed_pubkey_from_bech32(self): method test_ln_features_validate_transitive_dependencies (line 920) | def test_ln_features_validate_transitive_dependencies(self): method test_ln_features_for_init_message (line 936) | def test_ln_features_for_init_message(self): method test_ln_features_for_invoice (line 952) | def test_ln_features_for_invoice(self): method test_ln_compare_features (line 970) | def test_ln_compare_features(self): method test_list_enabled_ln_feature_bits (line 1010) | def test_list_enabled_ln_feature_bits(self): method test_ln_features_supports (line 1014) | def test_ln_features_supports(self): method test_lnworker_decode_channel_update_msg (line 1037) | def test_lnworker_decode_channel_update_msg(self): method test_channel_type (line 1057) | def test_channel_type(self): method test_decode_imported_channel_backup_v0 (line 1070) | async def test_decode_imported_channel_backup_v0(self): method test_decode_imported_channel_backup_v1 (line 1098) | async def test_decode_imported_channel_backup_v1(self): method test_payment_fee_budget (line 1125) | async def test_payment_fee_budget(self): FILE: tests/test_lnwallet.py class TestLNWallet (line 11) | class TestLNWallet(ElectrumTestCase): method setUpClass (line 15) | def setUpClass(cls): method asyncSetUp (line 19) | async def asyncSetUp(self): method test_create_payment_info (line 23) | def test_create_payment_info(self): method test_create_payment_info__amount_must_not_be_zero (line 46) | def test_create_payment_info__amount_must_not_be_zero(self): FILE: tests/test_mnemonic.py class SeedTestCase (line 17) | class SeedTestCase(NamedTuple): class Test_NewMnemonic (line 101) | class Test_NewMnemonic(ElectrumTestCase): method test_mnemonic_to_seed_basic (line 103) | def test_mnemonic_to_seed_basic(self): method test_mnemonic_to_seed (line 109) | def test_mnemonic_to_seed(self): method test_random_seeds (line 122) | def test_random_seeds(self): class Test_OldMnemonic (line 137) | class Test_OldMnemonic(ElectrumTestCase): method test (line 139) | def test(self): class Test_BIP39 (line 147) | class Test_BIP39(ElectrumTestCase): method test_checksum (line 149) | def test_checksum(self): method test_cjk_normalization (line 155) | def test_cjk_normalization(self): class Test_seeds (line 172) | class Test_seeds(ElectrumTestCase): method test_new_seed (line 206) | def test_new_seed(self): method test_old_seed (line 213) | def test_old_seed(self): method test_calc_seed_type (line 222) | def test_calc_seed_type(self): method test_is_matching_seed (line 227) | def test_is_matching_seed(self): method test_can_seed_have_passphrase (line 247) | def test_can_seed_have_passphrase(self): class Test_slip39 (line 268) | class Test_slip39(ElectrumTestCase): method test_slip39_vectors (line 271) | def test_slip39_vectors(self): method test_make_group_prefix (line 286) | def test_make_group_prefix(self): FILE: tests/test_mpp_split.py class TestMppSplit (line 11) | class TestMppSplit(ElectrumTestCase): method setUp (line 12) | def setUp(self): method tearDown (line 24) | def tearDown(self): method test_suggest_splits (line 29) | def test_suggest_splits(self): method test_send_to_single_node (line 96) | def test_send_to_single_node(self): method test_saturation (line 101) | def test_saturation(self): method test_payment_below_min_part_size (line 116) | def test_payment_below_min_part_size(self): method test_suggest_part_penalty (line 123) | def test_suggest_part_penalty(self): method test_suggest_splits_single_channel (line 143) | def test_suggest_splits_single_channel(self): FILE: tests/test_network.py class MockBlockchain (line 20) | class MockBlockchain: method __init__ (line 22) | def __init__(self, headers: List[str]): method height (line 26) | def height(self) -> int: method save_header (line 29) | def save_header(self, header: dict) -> None: method check_header (line 33) | def check_header(self, header: dict) -> bool: method can_connect (line 36) | def can_connect(self, header: dict, *, check_height: bool = True) -> b... method fork (line 44) | def fork(parent, header: dict) -> 'MockBlockchain': class MockNetwork (line 56) | class MockNetwork: method __init__ (line 58) | def __init__(self, config: SimpleConfig): class MockInterface (line 64) | class MockInterface(Interface): method __init__ (line 65) | def __init__(self, config: SimpleConfig): method get_block_header (line 71) | async def get_block_header(self, height: int, *, mode: ChainResolution... method run (line 79) | async def run(self): method _maybe_warm_headers_cache (line 82) | async def _maybe_warm_headers_cache(self, *args, **kwargs): class TestHeaderChainResolution (line 86) | class TestHeaderChainResolution(ElectrumTestCase): method setUpClass (line 89) | def setUpClass(cls): method tearDownClass (line 94) | def tearDownClass(cls): method tearDown (line 98) | def tearDown(self): method asyncSetUp (line 102) | async def asyncSetUp(self): method test_catchup_one_block_behind (line 107) | async def test_catchup_one_block_behind(self): method test_catchup_already_up_to_date (line 123) | async def test_catchup_already_up_to_date(self): method test_catchup_client_ahead_of_lagging_server (line 137) | async def test_catchup_client_ahead_of_lagging_server(self): method test_catchup_fast_forward (line 151) | async def test_catchup_fast_forward(self): method test_fork (line 171) | async def test_fork(self): method test_can_connect_during_backward (line 192) | async def test_can_connect_during_backward(self): method test_chain_false_during_binary (line 214) | async def test_chain_false_during_binary(self): method test_chain_true_during_binary (line 239) | async def test_chain_true_during_binary(self): FILE: tests/test_onion_message.py class TestOnionMessage (line 58) | class TestOnionMessage(ElectrumTestCase): method test_path_pubkeys_blinded_path_appended (line 60) | def test_path_pubkeys_blinded_path_appended(self): method test_onion_message_payload_size (line 109) | def test_onion_message_payload_size(self): method test_decode_onion_message_packet (line 143) | def test_decode_onion_message_packet(self): method test_decode_onion_message (line 149) | def test_decode_onion_message(self): method test_decrypt_onion_message (line 159) | def test_decrypt_onion_message(self): method test_blinding_privkey (line 188) | def test_blinding_privkey(self): method test_create_blinded_path (line 193) | def test_create_blinded_path(self): method prepare_blinded_path_bob_to_dave (line 218) | def prepare_blinded_path_bob_to_dave(self): method test_create_onionmessage_to_blinded_path_via_alice (line 230) | def test_create_onionmessage_to_blinded_path_via_alice(self): class MockNetwork (line 268) | class MockNetwork: method __init__ (line 269) | def __init__(self): class MockPeer (line 276) | class MockPeer: method __init__ (line 279) | def __init__(self, pubkey, on_send_message=None): method wait_one_htlc_switch_iteration (line 283) | async def wait_one_htlc_switch_iteration(self, *args): method is_initialized (line 286) | def is_initialized(self): method send_message (line 289) | def send_message(self, *args, **kwargs): class TestOnionMessageManager (line 294) | class TestOnionMessageManager(ElectrumTestCase): method setUpClass (line 297) | def setUpClass(cls): method setUp (line 301) | def setUp(self): method run_test1 (line 314) | async def run_test1(self, t): method run_test2 (line 322) | async def run_test2(self, t): method run_test3 (line 330) | async def run_test3(self, t, rkey): method run_test4 (line 339) | async def run_test4(self, t, rkey): method run_test5 (line 348) | async def run_test5(self, t): method test_request_and_reply (line 356) | async def test_request_and_reply(self): method test_forward (line 402) | async def test_forward(self): method test_receive_unsolicited (line 439) | async def test_receive_unsolicited(self): FILE: tests/test_payment_identifier.py class WalletMock (line 18) | class WalletMock: method __init__ (line 19) | def __init__(self, electrum_path): class TestPaymentIdentifier (line 27) | class TestPaymentIdentifier(ElectrumTestCase): method setUp (line 28) | def setUp(self): method test_maybe_extract_bech32_lightning_payment_identifier (line 38) | def test_maybe_extract_bech32_lightning_payment_identifier(self): method test_remove_uri_prefix (line 51) | def test_remove_uri_prefix(self): method test_bolt11 (line 70) | def test_bolt11(self): method test_bip21 (line 112) | def test_bip21(self): method test_lnurl_basic (line 170) | def test_lnurl_basic(self): method test_lnurl_pay_resolve (line 188) | def test_lnurl_pay_resolve(self, mock_request_lnurl): method test_lnurl_withdraw_resolve (line 222) | def test_lnurl_withdraw_resolve(self, mock_request_lnurl): method test_lnurl_resolve_error (line 256) | def test_lnurl_resolve_error(self, mock_request_lnurl): method test_multiline (line 277) | def test_multiline(self): method test_spk (line 337) | def test_spk(self): method test_email_and_domain (line 359) | def test_email_and_domain(self): method test_bip70 (line 394) | def test_bip70(self): method test_invoice_from_payment_identifier (line 404) | async def test_invoice_from_payment_identifier(self): FILE: tests/test_psbt.py class TestValidPSBT (line 11) | class TestValidPSBT(ElectrumTestCase): method test_valid_psbt_001 (line 15) | def test_valid_psbt_001(self): method test_valid_psbt_002 (line 23) | def test_valid_psbt_002(self): method test_valid_psbt_003 (line 32) | def test_valid_psbt_003(self): method test_valid_psbt_004 (line 41) | def test_valid_psbt_004(self): method test_valid_psbt_005 (line 51) | def test_valid_psbt_005(self): method test_valid_psbt_006 (line 63) | def test_valid_psbt_006(self): method test_valid_psbt_007 (line 75) | def test_valid_psbt_007(self): method test_valid_psbt_008 (line 83) | def test_valid_psbt_008(self): method test_valid_psbt__input_with_both_witness_utxo_and_nonwitness_utxo (line 94) | def test_valid_psbt__input_with_both_witness_utxo_and_nonwitness_utxo(... class TestInvalidPSBT (line 101) | class TestInvalidPSBT(ElectrumTestCase): method test_invalid_psbt_001 (line 105) | def test_invalid_psbt_001(self): method test_invalid_psbt_002 (line 112) | def test_invalid_psbt_002(self): method test_invalid_psbt_003 (line 119) | def test_invalid_psbt_003(self): method test_invalid_psbt_004 (line 126) | def test_invalid_psbt_004(self): method test_invalid_psbt_005 (line 133) | def test_invalid_psbt_005(self): method test_invalid_psbt_006 (line 140) | def test_invalid_psbt_006(self): method test_invalid_psbt_007 (line 147) | def test_invalid_psbt_007(self): method test_invalid_psbt_008 (line 154) | def test_invalid_psbt_008(self): method test_invalid_psbt_009 (line 161) | def test_invalid_psbt_009(self): method test_invalid_psbt_010 (line 168) | def test_invalid_psbt_010(self): method test_invalid_psbt_011 (line 175) | def test_invalid_psbt_011(self): method test_invalid_psbt_012 (line 182) | def test_invalid_psbt_012(self): method test_invalid_psbt_013 (line 189) | def test_invalid_psbt_013(self): method test_invalid_psbt_014 (line 196) | def test_invalid_psbt_014(self): method test_invalid_psbt_015 (line 203) | def test_invalid_psbt_015(self): method test_invalid_psbt_016 (line 210) | def test_invalid_psbt_016(self): method test_invalid_psbt_017 (line 217) | def test_invalid_psbt_017(self): method test_invalid_psbt_018 (line 224) | def test_invalid_psbt_018(self): method test_invalid_psbt__input_with_both_witness_utxo_and_nonwitness_utxo_that_are_inconsistent (line 231) | def test_invalid_psbt__input_with_both_witness_utxo_and_nonwitness_utx... class TestPSBTSignerChecks (line 237) | class TestPSBTSignerChecks(ElectrumTestCase): method test_psbt_fails_signer_checks_001 (line 242) | def test_psbt_fails_signer_checks_001(self): method test_psbt_fails_signer_checks_002 (line 253) | def test_psbt_fails_signer_checks_002(self): method test_psbt_fails_signer_checks_003 (line 260) | def test_psbt_fails_signer_checks_003(self): method test_psbt_fails_signer_checks_004 (line 267) | def test_psbt_fails_signer_checks_004(self): class TestPSBTComplexChecks (line 275) | class TestPSBTComplexChecks(ElectrumTestCase): method test_psbt_combiner_unknown_fields (line 279) | def test_psbt_combiner_unknown_fields(self): FILE: tests/test_simple_config.py class Test_SimpleConfig (line 17) | class Test_SimpleConfig(ElectrumTestCase): method setUp (line 19) | def setUp(self): method tearDown (line 32) | def tearDown(self): method test_simple_config_key_rename (line 42) | def test_simple_config_key_rename(self): method test_simple_config_command_line_overrides_everything (line 58) | def test_simple_config_command_line_overrides_everything(self): method test_simple_config_user_config_is_used_if_others_arent_specified (line 69) | def test_simple_config_user_config_is_used_if_others_arent_specified(s... method test_cannot_set_options_passed_by_command_line (line 80) | def test_cannot_set_options_passed_by_command_line(self): method test_can_set_options_set_in_user_config (line 90) | def test_can_set_options_set_in_user_config(self): method test_user_config_is_not_written_with_read_only_config (line 100) | def test_user_config_is_not_written_with_read_only_config(self): method test_configvars_set_and_get (line 116) | def test_configvars_set_and_get(self): method test_configvars_setter_catches_typo (line 138) | def test_configvars_setter_catches_typo(self): method test_configvars_get_default_value (line 144) | def test_configvars_get_default_value(self): method test_configvars_convert_getter (line 156) | def test_configvars_convert_getter(self): method test_configvars_convert_setter (line 164) | def test_configvars_convert_setter(self): method test_configvars_is_set (line 177) | def test_configvars_is_set(self): method test_configvars_is_modifiable (line 193) | def test_configvars_is_modifiable(self): method test_configvars_from_key (line 212) | def test_configvars_from_key(self): method test_recursive_config (line 218) | def test_recursive_config(self): class TestUserConfig (line 231) | class TestUserConfig(ElectrumTestCase): method setUp (line 233) | def setUp(self): method tearDown (line 241) | def tearDown(self): method test_no_path_means_no_result (line 246) | def test_no_path_means_no_result(self): method test_path_without_config_file (line 250) | def test_path_without_config_file(self): method test_path_with_reprd_object (line 255) | def test_path_with_reprd_object(self): FILE: tests/test_storage_upgrade.py class TestStorageUpgrade (line 25) | class TestStorageUpgrade(WalletTestCase): method _get_wallet_str (line 27) | def _get_wallet_str(self): method test_upgrade_from_client_1_9_8_seeded (line 40) | async def test_upgrade_from_client_1_9_8_seeded(self): method test_upgrade_from_client_2_0_4_seeded (line 52) | async def test_upgrade_from_client_2_0_4_seeded(self): method test_upgrade_from_client_2_0_4_importedkeys (line 56) | async def test_upgrade_from_client_2_0_4_importedkeys(self): method test_upgrade_from_client_2_0_4_watchaddresses (line 60) | async def test_upgrade_from_client_2_0_4_watchaddresses(self): method test_upgrade_from_client_2_0_4_trezor_singleacc (line 64) | async def test_upgrade_from_client_2_0_4_trezor_singleacc(self): method test_upgrade_from_client_2_0_4_trezor_multiacc (line 68) | async def test_upgrade_from_client_2_0_4_trezor_multiacc(self): method test_upgrade_from_client_2_0_4_multisig (line 72) | async def test_upgrade_from_client_2_0_4_multisig(self): method test_upgrade_from_client_2_1_1_seeded (line 76) | async def test_upgrade_from_client_2_1_1_seeded(self): method test_upgrade_from_client_2_1_1_importedkeys (line 80) | async def test_upgrade_from_client_2_1_1_importedkeys(self): method test_upgrade_from_client_2_1_1_watchaddresses (line 84) | async def test_upgrade_from_client_2_1_1_watchaddresses(self): method test_upgrade_from_client_2_1_1_trezor_singleacc (line 88) | async def test_upgrade_from_client_2_1_1_trezor_singleacc(self): method test_upgrade_from_client_2_1_1_trezor_multiacc (line 92) | async def test_upgrade_from_client_2_1_1_trezor_multiacc(self): method test_upgrade_from_client_2_1_1_multisig (line 96) | async def test_upgrade_from_client_2_1_1_multisig(self): method test_upgrade_from_client_2_2_0_seeded (line 100) | async def test_upgrade_from_client_2_2_0_seeded(self): method test_upgrade_from_client_2_2_0_importedkeys (line 104) | async def test_upgrade_from_client_2_2_0_importedkeys(self): method test_upgrade_from_client_2_2_0_watchaddresses (line 108) | async def test_upgrade_from_client_2_2_0_watchaddresses(self): method test_upgrade_from_client_2_2_0_trezor_singleacc (line 112) | async def test_upgrade_from_client_2_2_0_trezor_singleacc(self): method test_upgrade_from_client_2_2_0_trezor_multiacc (line 116) | async def test_upgrade_from_client_2_2_0_trezor_multiacc(self): method test_upgrade_from_client_2_2_0_multisig (line 120) | async def test_upgrade_from_client_2_2_0_multisig(self): method test_upgrade_from_client_2_3_2_seeded (line 124) | async def test_upgrade_from_client_2_3_2_seeded(self): method test_upgrade_from_client_2_3_2_importedkeys (line 128) | async def test_upgrade_from_client_2_3_2_importedkeys(self): method test_upgrade_from_client_2_3_2_watchaddresses (line 132) | async def test_upgrade_from_client_2_3_2_watchaddresses(self): method test_upgrade_from_client_2_3_2_trezor_singleacc (line 136) | async def test_upgrade_from_client_2_3_2_trezor_singleacc(self): method test_upgrade_from_client_2_3_2_trezor_multiacc (line 140) | async def test_upgrade_from_client_2_3_2_trezor_multiacc(self): method test_upgrade_from_client_2_3_2_multisig (line 144) | async def test_upgrade_from_client_2_3_2_multisig(self): method test_upgrade_from_client_2_4_3_seeded (line 148) | async def test_upgrade_from_client_2_4_3_seeded(self): method test_upgrade_from_client_2_4_3_importedkeys (line 152) | async def test_upgrade_from_client_2_4_3_importedkeys(self): method test_upgrade_from_client_2_4_3_watchaddresses (line 156) | async def test_upgrade_from_client_2_4_3_watchaddresses(self): method test_upgrade_from_client_2_4_3_trezor_singleacc (line 160) | async def test_upgrade_from_client_2_4_3_trezor_singleacc(self): method test_upgrade_from_client_2_4_3_trezor_multiacc (line 164) | async def test_upgrade_from_client_2_4_3_trezor_multiacc(self): method test_upgrade_from_client_2_4_3_multisig (line 168) | async def test_upgrade_from_client_2_4_3_multisig(self): method test_upgrade_from_client_2_5_4_seeded (line 172) | async def test_upgrade_from_client_2_5_4_seeded(self): method test_upgrade_from_client_2_5_4_importedkeys (line 176) | async def test_upgrade_from_client_2_5_4_importedkeys(self): method test_upgrade_from_client_2_5_4_watchaddresses (line 180) | async def test_upgrade_from_client_2_5_4_watchaddresses(self): method test_upgrade_from_client_2_5_4_trezor_singleacc (line 184) | async def test_upgrade_from_client_2_5_4_trezor_singleacc(self): method test_upgrade_from_client_2_5_4_trezor_multiacc (line 188) | async def test_upgrade_from_client_2_5_4_trezor_multiacc(self): method test_upgrade_from_client_2_5_4_multisig (line 192) | async def test_upgrade_from_client_2_5_4_multisig(self): method test_upgrade_from_client_2_6_4_seeded (line 196) | async def test_upgrade_from_client_2_6_4_seeded(self): method test_upgrade_from_client_2_6_4_importedkeys (line 200) | async def test_upgrade_from_client_2_6_4_importedkeys(self): method test_upgrade_from_client_2_6_4_watchaddresses (line 204) | async def test_upgrade_from_client_2_6_4_watchaddresses(self): method test_upgrade_from_client_2_6_4_multisig (line 208) | async def test_upgrade_from_client_2_6_4_multisig(self): method test_upgrade_from_client_2_7_18_seeded (line 212) | async def test_upgrade_from_client_2_7_18_seeded(self): method test_upgrade_from_client_2_7_18_importedkeys (line 216) | async def test_upgrade_from_client_2_7_18_importedkeys(self): method test_upgrade_from_client_2_7_18_watchaddresses (line 220) | async def test_upgrade_from_client_2_7_18_watchaddresses(self): method test_upgrade_from_client_2_7_18_trezor_singleacc (line 224) | async def test_upgrade_from_client_2_7_18_trezor_singleacc(self): method test_upgrade_from_client_2_7_18_multisig (line 228) | async def test_upgrade_from_client_2_7_18_multisig(self): method test_upgrade_from_client_2_8_3_importedkeys_flawed_previous_upgrade_from_2_7_18 (line 239) | async def test_upgrade_from_client_2_8_3_importedkeys_flawed_previous_... method test_upgrade_from_client_2_8_3_seeded (line 243) | async def test_upgrade_from_client_2_8_3_seeded(self): method test_upgrade_from_client_2_8_3_importedkeys (line 247) | async def test_upgrade_from_client_2_8_3_importedkeys(self): method test_upgrade_from_client_2_8_3_watchaddresses (line 251) | async def test_upgrade_from_client_2_8_3_watchaddresses(self): method test_upgrade_from_client_2_8_3_trezor_singleacc (line 255) | async def test_upgrade_from_client_2_8_3_trezor_singleacc(self): method test_upgrade_from_client_2_8_3_multisig (line 259) | async def test_upgrade_from_client_2_8_3_multisig(self): method test_upgrade_from_client_2_9_3_seeded (line 263) | async def test_upgrade_from_client_2_9_3_seeded(self): method test_upgrade_from_client_2_9_3_old_seeded_with_realistic_history (line 268) | async def test_upgrade_from_client_2_9_3_old_seeded_with_realistic_his... method test_upgrade_from_client_2_9_3_importedkeys (line 272) | async def test_upgrade_from_client_2_9_3_importedkeys(self): method test_upgrade_from_client_2_9_3_watchaddresses (line 276) | async def test_upgrade_from_client_2_9_3_watchaddresses(self): method test_upgrade_from_client_2_9_3_trezor_singleacc (line 280) | async def test_upgrade_from_client_2_9_3_trezor_singleacc(self): method test_upgrade_from_client_2_9_3_multisig (line 284) | async def test_upgrade_from_client_2_9_3_multisig(self): method test_upgrade_from_client_3_2_3_ledger_standard_keystore_changes (line 288) | async def test_upgrade_from_client_3_2_3_ledger_standard_keystore_chan... method test_upgrade_from_client_2_9_3_importedkeys_keystore_changes (line 299) | async def test_upgrade_from_client_2_9_3_importedkeys_keystore_changes... method test_upgrade_from_client_3_3_8_xpub_with_realistic_history (line 311) | async def test_upgrade_from_client_3_3_8_xpub_with_realistic_history(s... method test_upgrade_from_client_4_5_2_9dk_with_ln (line 316) | async def test_upgrade_from_client_4_5_2_9dk_with_ln(self): method setUp (line 327) | def setUp(self): method tearDown (line 333) | def tearDown(self): method _upgrade_storage (line 338) | async def _upgrade_storage(self, wallet_json, accounts=1) -> Optional[... method _sanity_check_upgraded_db (line 364) | async def _sanity_check_upgraded_db(self, db): method _load_db_from_json_string (line 369) | def _load_db_from_json_string(*, wallet_json, upgrade): FILE: tests/test_transaction.py class TestBCDataStream (line 27) | class TestBCDataStream(ElectrumTestCase): method test_compact_size (line 29) | def test_compact_size(self): method test_string (line 46) | def test_string(self): method test_bytes (line 60) | def test_bytes(self): method test_bool (line 73) | def test_bool(self): class TestTransaction (line 86) | class TestTransaction(ElectrumTestCase): method test_match_against_script_template (line 87) | def test_match_against_script_template(self): method test_script_GetOp (line 95) | def test_script_GetOp(self): method test_tx_update_signatures (line 105) | def test_tx_update_signatures(self): method test_tx_setting_locktime_invalidates_ser_cache (line 114) | def test_tx_setting_locktime_invalidates_ser_cache(self): method test_tx_setting_version_invalidates_ser_cache (line 120) | def test_tx_setting_version_invalidates_ser_cache(self): method test_tx_deserialize_for_signed_network_tx (line 126) | def test_tx_deserialize_for_signed_network_tx(self): method test_estimated_tx_size (line 144) | def test_estimated_tx_size(self): method test_estimated_output_size (line 153) | def test_estimated_output_size(self): method test_tx_signed_segwit (line 161) | def test_tx_signed_segwit(self): method test_version_field (line 170) | def test_version_field(self): method test_convert_raw_tx_to_hex (line 174) | def test_convert_raw_tx_to_hex(self): method test_get_address_from_output_script (line 182) | def test_get_address_from_output_script(self): method test_tx_serialize_methods_for_psbt (line 215) | def test_tx_serialize_methods_for_psbt(self): method test_tx_serialize_methods_for_network_tx (line 227) | def test_tx_serialize_methods_for_network_tx(self): method test_tx_serialize_methods_for_psbt_that_is_ready_to_be_finalized (line 236) | def test_tx_serialize_methods_for_psbt_that_is_ready_to_be_finalized(s... method test_tx_from_any (line 250) | def test_tx_from_any(self): method _run_naive_tests_on_tx (line 292) | def _run_naive_tests_on_tx(self, raw_tx, txid): method test_txid_coinbase_to_p2pk (line 298) | def test_txid_coinbase_to_p2pk(self): method test_txid_coinbase_to_p2pkh (line 303) | def test_txid_coinbase_to_p2pkh(self): method test_txid_segwit_coinbase_to_p2pk (line 308) | def test_txid_segwit_coinbase_to_p2pk(self): method test_txid_segwit_coinbase_to_p2pkh (line 313) | def test_txid_segwit_coinbase_to_p2pkh(self): method test_txid_segwit_coinbase_to_p2sh (line 318) | def test_txid_segwit_coinbase_to_p2sh(self): method test_txid_p2pk_to_p2pkh (line 323) | def test_txid_p2pk_to_p2pkh(self): method test_txid_p2pk_to_p2sh (line 328) | def test_txid_p2pk_to_p2sh(self): method test_txid_p2pk_to_p2wpkh (line 333) | def test_txid_p2pk_to_p2wpkh(self): method test_txid_p2pkh_to_p2pkh (line 338) | def test_txid_p2pkh_to_p2pkh(self): method test_txid_p2pkh_to_p2sh (line 343) | def test_txid_p2pkh_to_p2sh(self): method test_txid_p2pkh_to_p2wpkh (line 348) | def test_txid_p2pkh_to_p2wpkh(self): method test_txid_p2sh_to_p2pkh (line 353) | def test_txid_p2sh_to_p2pkh(self): method test_txid_p2sh_to_p2sh (line 358) | def test_txid_p2sh_to_p2sh(self): method test_txid_p2sh_to_p2wpkh (line 363) | def test_txid_p2sh_to_p2wpkh(self): method test_txid_p2wpkh_to_p2pkh (line 368) | def test_txid_p2wpkh_to_p2pkh(self): method test_txid_p2wpkh_to_p2sh (line 373) | def test_txid_p2wpkh_to_p2sh(self): method test_txid_p2wpkh_to_p2wpkh (line 378) | def test_txid_p2wpkh_to_p2wpkh(self): method test_txid_input_p2wsh_p2sh_not_multisig (line 383) | def test_txid_input_p2wsh_p2sh_not_multisig(self): method test_txid_regression_issue_3899 (line 389) | def test_txid_regression_issue_3899(self): method test_txid_negative_version_num (line 394) | def test_txid_negative_version_num(self): method test_txid_regression_issue_4333 (line 399) | def test_txid_regression_issue_4333(self): method test_txid_invalid_op_return (line 405) | def test_txid_invalid_op_return(self): method test_txid_bitcoin_core_0001 (line 414) | def test_txid_bitcoin_core_0001(self): method test_txid_bitcoin_core_0002 (line 419) | def test_txid_bitcoin_core_0002(self): method test_txid_bitcoin_core_0003 (line 424) | def test_txid_bitcoin_core_0003(self): method test_txid_bitcoin_core_0004 (line 429) | def test_txid_bitcoin_core_0004(self): method test_txid_bitcoin_core_0005 (line 434) | def test_txid_bitcoin_core_0005(self): method test_txid_bitcoin_core_0006 (line 439) | def test_txid_bitcoin_core_0006(self): method test_txid_bitcoin_core_0007 (line 444) | def test_txid_bitcoin_core_0007(self): method test_txid_bitcoin_core_0008 (line 449) | def test_txid_bitcoin_core_0008(self): method test_txid_bitcoin_core_0009 (line 454) | def test_txid_bitcoin_core_0009(self): method test_txid_bitcoin_core_0010 (line 459) | def test_txid_bitcoin_core_0010(self): method test_txid_bitcoin_core_0011 (line 464) | def test_txid_bitcoin_core_0011(self): method test_txid_bitcoin_core_0012 (line 469) | def test_txid_bitcoin_core_0012(self): method test_txid_bitcoin_core_0013 (line 474) | def test_txid_bitcoin_core_0013(self): method test_txid_bitcoin_core_0014 (line 479) | def test_txid_bitcoin_core_0014(self): method test_txid_bitcoin_core_0015 (line 484) | def test_txid_bitcoin_core_0015(self): method test_txid_bitcoin_core_0016 (line 489) | def test_txid_bitcoin_core_0016(self): method test_txid_bitcoin_core_0017 (line 494) | def test_txid_bitcoin_core_0017(self): method test_txid_bitcoin_core_0018 (line 499) | def test_txid_bitcoin_core_0018(self): method test_txid_bitcoin_core_0019 (line 504) | def test_txid_bitcoin_core_0019(self): method test_txid_bitcoin_core_0020 (line 509) | def test_txid_bitcoin_core_0020(self): method test_txid_bitcoin_core_0021 (line 514) | def test_txid_bitcoin_core_0021(self): method test_txid_bitcoin_core_0022 (line 519) | def test_txid_bitcoin_core_0022(self): method test_txid_bitcoin_core_0023 (line 524) | def test_txid_bitcoin_core_0023(self): method test_txid_bitcoin_core_0024 (line 529) | def test_txid_bitcoin_core_0024(self): method test_txid_bitcoin_core_0025 (line 534) | def test_txid_bitcoin_core_0025(self): method test_txid_bitcoin_core_0026 (line 539) | def test_txid_bitcoin_core_0026(self): method test_txid_bitcoin_core_0027 (line 544) | def test_txid_bitcoin_core_0027(self): method test_txid_bitcoin_core_0028 (line 549) | def test_txid_bitcoin_core_0028(self): method test_txid_bitcoin_core_0029 (line 554) | def test_txid_bitcoin_core_0029(self): method test_txid_bitcoin_core_0030 (line 559) | def test_txid_bitcoin_core_0030(self): method test_txid_bitcoin_core_0031 (line 564) | def test_txid_bitcoin_core_0031(self): method test_txid_bitcoin_core_0032 (line 569) | def test_txid_bitcoin_core_0032(self): method test_txid_bitcoin_core_0033 (line 574) | def test_txid_bitcoin_core_0033(self): method test_txid_bitcoin_core_0034 (line 579) | def test_txid_bitcoin_core_0034(self): method test_txid_bitcoin_core_0035 (line 584) | def test_txid_bitcoin_core_0035(self): method test_txid_bitcoin_core_0036 (line 589) | def test_txid_bitcoin_core_0036(self): method test_txid_bitcoin_core_0037 (line 594) | def test_txid_bitcoin_core_0037(self): method test_txid_bitcoin_core_0038 (line 599) | def test_txid_bitcoin_core_0038(self): method test_txid_bitcoin_core_0039 (line 604) | def test_txid_bitcoin_core_0039(self): method test_txid_bitcoin_core_0040 (line 609) | def test_txid_bitcoin_core_0040(self): method test_txid_bitcoin_core_0041 (line 614) | def test_txid_bitcoin_core_0041(self): method test_txid_bitcoin_core_0042 (line 619) | def test_txid_bitcoin_core_0042(self): method test_txid_bitcoin_core_0043 (line 624) | def test_txid_bitcoin_core_0043(self): method test_txid_bitcoin_core_0044 (line 629) | def test_txid_bitcoin_core_0044(self): method test_txid_bitcoin_core_0045 (line 634) | def test_txid_bitcoin_core_0045(self): method test_txid_bitcoin_core_0046 (line 639) | def test_txid_bitcoin_core_0046(self): method test_txid_bitcoin_core_0047 (line 644) | def test_txid_bitcoin_core_0047(self): method test_txid_bitcoin_core_0048 (line 649) | def test_txid_bitcoin_core_0048(self): method test_txid_bitcoin_core_0049 (line 654) | def test_txid_bitcoin_core_0049(self): method test_txid_bitcoin_core_0050 (line 659) | def test_txid_bitcoin_core_0050(self): method test_txid_bitcoin_core_0051 (line 664) | def test_txid_bitcoin_core_0051(self): method test_txid_bitcoin_core_0052 (line 669) | def test_txid_bitcoin_core_0052(self): method test_txid_bitcoin_core_0053 (line 674) | def test_txid_bitcoin_core_0053(self): method test_txid_bitcoin_core_0054 (line 679) | def test_txid_bitcoin_core_0054(self): method test_txid_bitcoin_core_0055 (line 684) | def test_txid_bitcoin_core_0055(self): method test_txid_bitcoin_core_0056 (line 689) | def test_txid_bitcoin_core_0056(self): method test_txid_bitcoin_core_0057 (line 694) | def test_txid_bitcoin_core_0057(self): method test_txid_bitcoin_core_0058 (line 699) | def test_txid_bitcoin_core_0058(self): method test_txid_bitcoin_core_0059 (line 704) | def test_txid_bitcoin_core_0059(self): method test_txid_bitcoin_core_0060 (line 709) | def test_txid_bitcoin_core_0060(self): method test_txid_bitcoin_core_0061 (line 714) | def test_txid_bitcoin_core_0061(self): method test_txid_bitcoin_core_0062 (line 719) | def test_txid_bitcoin_core_0062(self): method test_txid_bitcoin_core_0063 (line 724) | def test_txid_bitcoin_core_0063(self): method test_txid_bitcoin_core_0064 (line 729) | def test_txid_bitcoin_core_0064(self): method test_txid_bitcoin_core_0065 (line 734) | def test_txid_bitcoin_core_0065(self): method test_txid_bitcoin_core_0066 (line 739) | def test_txid_bitcoin_core_0066(self): method test_txid_bitcoin_core_0067 (line 744) | def test_txid_bitcoin_core_0067(self): method test_txid_bitcoin_core_0068 (line 749) | def test_txid_bitcoin_core_0068(self): method test_txid_bitcoin_core_0069 (line 754) | def test_txid_bitcoin_core_0069(self): method test_txid_bitcoin_core_0070 (line 759) | def test_txid_bitcoin_core_0070(self): method test_txid_bitcoin_core_0071 (line 764) | def test_txid_bitcoin_core_0071(self): method test_txid_bitcoin_core_0072 (line 769) | def test_txid_bitcoin_core_0072(self): method test_txid_bitcoin_core_0073 (line 774) | def test_txid_bitcoin_core_0073(self): method test_txid_bitcoin_core_0074 (line 779) | def test_txid_bitcoin_core_0074(self): method test_txid_bitcoin_core_0075 (line 784) | def test_txid_bitcoin_core_0075(self): method test_txid_bitcoin_core_0076 (line 789) | def test_txid_bitcoin_core_0076(self): method test_txid_bitcoin_core_0077 (line 794) | def test_txid_bitcoin_core_0077(self): method test_txid_bitcoin_core_0078 (line 799) | def test_txid_bitcoin_core_0078(self): method test_txid_bitcoin_core_0079 (line 804) | def test_txid_bitcoin_core_0079(self): method test_txid_bitcoin_core_0080 (line 809) | def test_txid_bitcoin_core_0080(self): method test_txid_bitcoin_core_0081 (line 814) | def test_txid_bitcoin_core_0081(self): method test_txid_bitcoin_core_0082 (line 819) | def test_txid_bitcoin_core_0082(self): method test_txid_bitcoin_core_0083 (line 824) | def test_txid_bitcoin_core_0083(self): method test_txid_bitcoin_core_0084 (line 829) | def test_txid_bitcoin_core_0084(self): method test_txid_bitcoin_core_0085 (line 834) | def test_txid_bitcoin_core_0085(self): method test_txid_bitcoin_core_0086 (line 839) | def test_txid_bitcoin_core_0086(self): method test_txid_bitcoin_core_0087 (line 844) | def test_txid_bitcoin_core_0087(self): method test_txid_bitcoin_core_0088 (line 849) | def test_txid_bitcoin_core_0088(self): method test_txid_bitcoin_core_0089 (line 854) | def test_txid_bitcoin_core_0089(self): method test_txid_bitcoin_core_0090 (line 859) | def test_txid_bitcoin_core_0090(self): method test_txid_bitcoin_core_0091 (line 864) | def test_txid_bitcoin_core_0091(self): method test_txid_bitcoin_core_0092 (line 869) | def test_txid_bitcoin_core_0092(self): class TestTransactionTestnet (line 877) | class TestTransactionTestnet(ElectrumTestCase): method test_spending_op_cltv_p2sh (line 880) | def test_spending_op_cltv_p2sh(self): method test_spending_op_cltv_p2wsh (line 912) | def test_spending_op_cltv_p2wsh(self): class TestTransactionVerifySig (line 948) | class TestTransactionVerifySig(ElectrumTestCase): method test_verifysig_spending_uncompressed_p2pk (line 950) | def test_verifysig_spending_uncompressed_p2pk(self): method test_verifysig_spending_compressed_p2pk (line 960) | def test_verifysig_spending_compressed_p2pk(self): method test_verifysig_spending_uncompressed_p2pkh (line 970) | def test_verifysig_spending_uncompressed_p2pkh(self): method test_verifysig_spending_compressed_p2pkh (line 980) | def test_verifysig_spending_compressed_p2pkh(self): method test_verifysig_spending_p2wpkh_p2sh (line 990) | def test_verifysig_spending_p2wpkh_p2sh(self): method test_verifysig_spending_p2wpkh (line 1000) | def test_verifysig_spending_p2wpkh(self): method test_verifysig_spending_p2sh_multisig_2of3 (line 1010) | def test_verifysig_spending_p2sh_multisig_2of3(self): method test_verifysig_spending_p2wsh_p2sh_multisig_2of2 (line 1027) | def test_verifysig_spending_p2wsh_p2sh_multisig_2of2(self): method test_verifysig_spending_p2wsh_multisig_2of3 (line 1043) | def test_verifysig_spending_p2wsh_multisig_2of3(self): class TestSighashBIP143 (line 1061) | class TestSighashBIP143(ElectrumTestCase): method test_check_sighash_types_sighash_all (line 1075) | def test_check_sighash_types_sighash_all(self): method test_check_sighash_types_sighash_none (line 1083) | def test_check_sighash_types_sighash_none(self): method test_check_sighash_types_sighash_single (line 1091) | def test_check_sighash_types_sighash_single(self): method test_check_sighash_types_sighash_all_anyonecanpay (line 1100) | def test_check_sighash_types_sighash_all_anyonecanpay(self): method test_check_sighash_types_sighash_none_anyonecanpay (line 1109) | def test_check_sighash_types_sighash_none_anyonecanpay(self): method test_check_sighash_types_sighash_single_anyonecanpay (line 1117) | def test_check_sighash_types_sighash_single_anyonecanpay(self): class TestSighashBIP341 (line 1126) | class TestSighashBIP341(ElectrumTestCase): method test_taproot_keypath_spending (line 1128) | def test_taproot_keypath_spending(self): FILE: tests/test_txbatcher.py class MockNetwork (line 24) | class MockNetwork(Logger): method __init__ (line 26) | def __init__(self, config): method get_local_height (line 36) | def get_local_height(self): method blockchain (line 39) | def blockchain(self): method try_broadcasting (line 45) | async def try_broadcasting(self, tx, name): method next_tx (line 51) | async def next_tx(self): method is_connected (line 55) | def is_connected(self): class TestTxBatcher (line 116) | class TestTxBatcher(ElectrumTestCase): method setUpClass (line 121) | def setUpClass(cls): method setUp (line 125) | def setUp(self): method asyncSetUp (line 130) | async def asyncSetUp(self): method create_standard_wallet_from_seed (line 134) | def create_standard_wallet_from_seed(self, seed_words, *, config=None,... method _create_wallet (line 140) | def _create_wallet(self): method test_batch_payments (line 148) | async def test_batch_payments(self, mock_save_db): method test_rbf_batching__cannot_batch_as_would_need_to_use_ismine_outputs_of_basetx (line 194) | async def test_rbf_batching__cannot_batch_as_would_need_to_use_ismine_... method test_sweep_from_submarine_swap (line 232) | async def test_sweep_from_submarine_swap(self, mock_save_db): method test_to_sweep_after_anchor_sweep_conditions (line 253) | async def test_to_sweep_after_anchor_sweep_conditions(self): method _wait_for_base_tx (line 285) | async def _wait_for_base_tx(self, txbatch, should_be_none=False): FILE: tests/test_util.py class TestUtil (line 14) | class TestUtil(ElectrumTestCase): method test_format_satoshis (line 16) | def test_format_satoshis(self): method test_format_satoshis_negative (line 19) | def test_format_satoshis_negative(self): method test_format_satoshis_to_mbtc (line 22) | def test_format_satoshis_to_mbtc(self): method test_format_satoshis_decimal (line 25) | def test_format_satoshis_decimal(self): method test_format_satoshis_msat_resolution (line 28) | def test_format_satoshis_msat_resolution(self): method test_format_fee_float (line 44) | def test_format_fee_float(self): method test_format_fee_decimal (line 47) | def test_format_fee_decimal(self): method test_format_fee_precision (line 50) | def test_format_fee_precision(self): method test_format_satoshis_whitespaces (line 56) | def test_format_satoshis_whitespaces(self): method test_format_satoshis_whitespaces_negative (line 64) | def test_format_satoshis_whitespaces_negative(self): method test_format_satoshis_diff_positive (line 68) | def test_format_satoshis_diff_positive(self): method test_format_satoshis_diff_negative (line 72) | def test_format_satoshis_diff_negative(self): method test_format_satoshis_add_thousands_sep (line 76) | def test_format_satoshis_add_thousands_sep(self): method test_format_satoshis_plain (line 95) | def test_format_satoshis_plain(self): method test_format_satoshis_plain_decimal (line 98) | def test_format_satoshis_plain_decimal(self): method test_format_satoshis_plain_to_mbtc (line 101) | def test_format_satoshis_plain_to_mbtc(self): method _do_test_parse_URI (line 104) | def _do_test_parse_URI(self, uri, expected): method test_parse_URI_address (line 108) | def test_parse_URI_address(self): method test_parse_URI_only_address (line 112) | def test_parse_URI_only_address(self): method test_parse_URI_address_label (line 117) | def test_parse_URI_address_label(self): method test_parse_URI_address_message (line 121) | def test_parse_URI_address_message(self): method test_parse_URI_address_amount (line 125) | def test_parse_URI_address_amount(self): method test_parse_URI_address_request_url (line 129) | def test_parse_URI_address_request_url(self): method test_parse_URI_ignore_args (line 133) | def test_parse_URI_ignore_args(self): method test_parse_URI_multiple_args (line 137) | def test_parse_URI_multiple_args(self): method test_parse_URI_no_address_request_url (line 141) | def test_parse_URI_no_address_request_url(self): method test_parse_URI_invalid_address (line 145) | def test_parse_URI_invalid_address(self): method test_parse_URI_invalid (line 148) | def test_parse_URI_invalid(self): method test_parse_URI_parameter_pollution (line 151) | def test_parse_URI_parameter_pollution(self): method test_parse_URI_unsupported_req_key (line 155) | def test_parse_URI_unsupported_req_key(self): method test_parse_URI_lightning_consistency (line 162) | def test_parse_URI_lightning_consistency(self): method test_is_hash256_str (line 190) | def test_is_hash256_str(self): method test_is_hex_str (line 200) | def test_is_hex_str(self): method test_is_integer (line 220) | def test_is_integer(self): method test_is_non_negative_integer (line 238) | def test_is_non_negative_integer(self): method test_is_int_or_float (line 256) | def test_is_int_or_float(self): method test_is_non_negative_int_or_float (line 274) | def test_is_non_negative_int_or_float(self): method test_chunks (line 293) | def test_chunks(self): method test_list_enabled_bits (line 302) | def test_list_enabled_bits(self): method test_is_ip_address (line 306) | def test_is_ip_address(self): method test_is_private_netaddress (line 321) | def test_is_private_netaddress(self): method test_is_subpath (line 341) | def test_is_subpath(self): method test_error_text_bytes_to_safe_str (line 363) | def test_error_text_bytes_to_safe_str(self): method test_error_text_str_to_safe_str (line 380) | def test_error_text_str_to_safe_str(self): method test_age (line 394) | def test_age(self): method test_shortchannelid (line 461) | def test_shortchannelid(self): method test_custom_task_factory (line 483) | async def test_custom_task_factory(self): FILE: tests/test_verifier.py class VerifierTestCase (line 22) | class VerifierTestCase(ElectrumTestCase): method test_verify_ok_t_tx (line 27) | def test_verify_ok_t_tx(self): method test_verify_fail_f_tx_odd (line 33) | def test_verify_fail_f_tx_odd(self): method test_verify_fail_f_tx_even (line 43) | def test_verify_fail_f_tx_even(self): FILE: tests/test_wallet.py class FakeSynchronizer (line 32) | class FakeSynchronizer(object): method __init__ (line 34) | def __init__(self, db): method add (line 38) | def add(self, address): class WalletTestCase (line 42) | class WalletTestCase(ElectrumTestCase): method setUp (line 44) | def setUp(self): method tearDown (line 54) | def tearDown(self): class TestWalletStorage (line 60) | class TestWalletStorage(WalletTestCase): method test_read_dictionary_from_file (line 62) | def test_read_dictionary_from_file(self): method test_write_dictionary_to_file (line 74) | def test_write_dictionary_to_file(self): method test_storage_imported_add_privkeys_persistence_test (line 94) | async def test_storage_imported_add_privkeys_persistence_test(self): method test_storage_prevouts_by_scripthash_persistence (line 122) | async def test_storage_prevouts_by_scripthash_persistence(self): class FakeExchange (line 149) | class FakeExchange(ExchangeBase): method __init__ (line 150) | def __init__(self, rate): class FakeFxThread (line 155) | class FakeFxThread: method __init__ (line 156) | def __init__(self, exchange): class FakeADB (line 165) | class FakeADB: method get_tx_height (line 166) | def get_tx_height(self, txid): class FakeWallet (line 171) | class FakeWallet: method __init__ (line 172) | def __init__(self, fiat_value): class storage (line 181) | class storage: class TestFiat (line 187) | class TestFiat(ElectrumTestCase): method setUp (line 188) | def setUp(self): method test_save_fiat_and_reset (line 198) | def test_save_fiat_and_reset(self): method test_too_high_precision_value_resets_with_no_saved_value (line 207) | def test_too_high_precision_value_resets_with_no_saved_value(self): method test_empty_resets (line 210) | def test_empty_resets(self): method test_save_garbage (line 214) | def test_save_garbage(self): class TestHistoryExport (line 219) | class TestHistoryExport(ElectrumTestCase): method setUp (line 222) | def setUp(self): method tearDown (line 231) | def tearDown(self): method test_export_history_to_file (line 239) | async def test_export_history_to_file(self, _mock_append, _mock_write,... class TestCreateRestoreWallet (line 277) | class TestCreateRestoreWallet(WalletTestCase): method test_create_new_wallet (line 279) | async def test_create_new_wallet(self): method test_restore_wallet_from_text_mnemonic (line 300) | async def test_restore_wallet_from_text_mnemonic(self): method test_restore_wallet_from_text_no_storage (line 319) | async def test_restore_wallet_from_text_no_storage(self): method test_restore_wallet_from_text_xpub (line 332) | async def test_restore_wallet_from_text_xpub(self): method test_restore_wallet_from_text_xkey_that_is_also_a_valid_electrum_seed_by_chance (line 339) | async def test_restore_wallet_from_text_xkey_that_is_also_a_valid_elec... method test_restore_wallet_from_text_xprv (line 346) | async def test_restore_wallet_from_text_xprv(self): method test_restore_wallet_from_text_addresses (line 353) | async def test_restore_wallet_from_text_addresses(self): method test_restore_wallet_from_text_privkeys (line 363) | async def test_restore_wallet_from_text_privkeys(self): class TestWalletPassword (line 377) | class TestWalletPassword(WalletTestCase): method test_update_password_of_imported_wallet (line 379) | async def test_update_password_of_imported_wallet(self): method test_update_password_of_standard_wallet (line 395) | async def test_update_password_of_standard_wallet(self): method test_update_password_of_standard_wallet_oldseed (line 410) | async def test_update_password_of_standard_wallet_oldseed(self): method test_update_password_with_app_restarts (line 424) | async def test_update_password_with_app_restarts(self): FILE: tests/test_wallet_vertical.py class WalletIntegrityHelper (line 37) | class WalletIntegrityHelper: method check_seeded_keystore_sanity (line 43) | def check_seeded_keystore_sanity(cls, test_obj, ks): method check_xpub_keystore_sanity (line 50) | def check_xpub_keystore_sanity(cls, test_obj, ks): method create_standard_wallet (line 57) | def create_standard_wallet(cls, ks, *, config: SimpleConfig, gap_limit... method create_imported_wallet (line 67) | def create_imported_wallet(cls, *, config: SimpleConfig, privkeys: bool): method create_multisig_wallet (line 76) | def create_multisig_wallet( function read_test_vector (line 99) | def read_test_vector(filename: str): class TestWalletKeystoreAddressIntegrityForMainnet (line 107) | class TestWalletKeystoreAddressIntegrityForMainnet(ElectrumTestCase): method setUp (line 109) | def setUp(self): method test_electrum_seed_standard (line 114) | async def test_electrum_seed_standard(self, mock_save_db): method test_electrum_seed_segwit (line 133) | async def test_electrum_seed_segwit(self, mock_save_db): method test_electrum_seed_segwit_passphrase (line 155) | async def test_electrum_seed_segwit_passphrase(self, mock_save_db): method test_electrum_seed_old (line 177) | async def test_electrum_seed_old(self, mock_save_db): method test_electrum_seed_2fa_legacy_pre27_25words (line 202) | async def test_electrum_seed_2fa_legacy_pre27_25words(self, mock_save_... method test_electrum_seed_2fa_legacy_pre27_24words (line 238) | async def test_electrum_seed_2fa_legacy_pre27_24words(self, mock_save_... method test_electrum_seed_2fa_legacy_post27 (line 274) | async def test_electrum_seed_2fa_legacy_post27(self, mock_save_db): method test_electrum_seed_2fa_segwit (line 309) | async def test_electrum_seed_2fa_segwit(self, mock_save_db): method test_bip39_seed_bip44_standard (line 343) | async def test_bip39_seed_bip44_standard(self, mock_save_db): method test_bip39_seed_bip44_standard_passphrase (line 362) | async def test_bip39_seed_bip44_standard_passphrase(self, mock_save_db): method test_bip39_seed_bip49_p2sh_segwit (line 381) | async def test_bip39_seed_bip49_p2sh_segwit(self, mock_save_db): method test_bip39_seed_bip84_native_segwit (line 400) | async def test_bip39_seed_bip84_native_segwit(self, mock_save_db): method test_electrum_multisig_seed_standard (line 420) | async def test_electrum_multisig_seed_standard(self, mock_save_db): method test_electrum_multisig_seed_segwit (line 442) | async def test_electrum_multisig_seed_segwit(self, mock_save_db): method test_bip39_multisig_seed_bip45_standard (line 464) | async def test_bip39_multisig_seed_bip45_standard(self, mock_save_db): method test_bip39_multisig_seed_p2sh_segwit (line 487) | async def test_bip39_multisig_seed_p2sh_segwit(self, mock_save_db): method test_bip32_extended_version_bytes (line 508) | async def test_bip32_extended_version_bytes(self, mock_save_db): method test_slip39_non_extendable_basic_3of6_bip44_standard (line 567) | async def test_slip39_non_extendable_basic_3of6_bip44_standard(self, m... method test_slip39_non_extendable_basic_2of5_bip49_p2sh_segwit (line 594) | async def test_slip39_non_extendable_basic_2of5_bip49_p2sh_segwit(self... method test_slip39_non_extendable_groups_128bit_bip84_native_segwit (line 620) | async def test_slip39_non_extendable_groups_128bit_bip84_native_segwit... method test_slip39_non_extendable_groups_256bit_bip49_p2sh_segwit (line 650) | async def test_slip39_non_extendable_groups_256bit_bip49_p2sh_segwit(s... method test_slip39_extendable_basic_3of6_bip44_standard (line 678) | async def test_slip39_extendable_basic_3of6_bip44_standard(self, mock_... method test_slip39_extendable_basic_2of5_bip49_p2sh_segwit (line 706) | async def test_slip39_extendable_basic_2of5_bip49_p2sh_segwit(self, mo... method test_slip39_extendable_groups_128bit_bip84_native_segwit (line 732) | async def test_slip39_extendable_groups_128bit_bip84_native_segwit(sel... method test_slip39_extendable_groups_256bit_bip49_p2sh_segwit (line 762) | async def test_slip39_extendable_groups_256bit_bip49_p2sh_segwit(self,... class TestWalletKeystoreAddressIntegrityForTestnet (line 789) | class TestWalletKeystoreAddressIntegrityForTestnet(ElectrumTestCase): method setUp (line 792) | def setUp(self): method test_bip39_multisig_seed_p2sh_segwit_testnet (line 797) | async def test_bip39_multisig_seed_p2sh_segwit_testnet(self, mock_save... method test_bip32_extended_version_bytes (line 818) | async def test_bip32_extended_version_bytes(self, mock_save_db): class TestWalletSending (line 877) | class TestWalletSending(ElectrumTestCase): method setUp (line 880) | def setUp(self): method create_standard_wallet_from_seed (line 884) | def create_standard_wallet_from_seed(self, seed_words, *, config=None,... method test_sending_between_p2wpkh_and_compressed_p2pkh (line 891) | async def test_sending_between_p2wpkh_and_compressed_p2pkh(self, mock_... method test_sending_between_p2sh_2of3_and_uncompressed_p2pkh (line 947) | async def test_sending_between_p2sh_2of3_and_uncompressed_p2pkh(self, ... method test_sending_between_p2wsh_2of3_and_p2wsh_p2sh_2of2 (line 1030) | async def test_sending_between_p2wsh_2of3_and_p2wsh_p2sh_2of2(self, mo... method test_sending_between_p2sh_1of2_and_p2wpkh_p2sh (line 1150) | async def test_sending_between_p2sh_1of2_and_p2wpkh_p2sh(self, mock_sa... method test_rbf (line 1219) | async def test_rbf(self, mock_save_db): method _bump_fee_p2pkh_when_there_is_a_change_address (line 1301) | async def _bump_fee_p2pkh_when_there_is_a_change_address(self, *, simu... method _bump_fee_p2pkh_when_there_are_two_ismine_outs_one_change_one_recv (line 1365) | async def _bump_fee_p2pkh_when_there_are_two_ismine_outs_one_change_on... method _bump_fee_p2wpkh_decrease_payment (line 1407) | async def _bump_fee_p2wpkh_decrease_payment(self, *, simulate_moving_t... method _bump_fee_p2wpkh_decrease_payment_batch (line 1449) | async def _bump_fee_p2wpkh_decrease_payment_batch(self, *, simulate_mo... method _bump_fee_p2wpkh_insane_high_target_fee (line 1491) | async def _bump_fee_p2wpkh_insane_high_target_fee(self, *, config): method _bump_fee_p2wpkh_csv (line 1528) | async def _bump_fee_p2wpkh_csv(self, *, config): method _bump_fee_sufficient_fee_increase (line 1555) | async def _bump_fee_sufficient_fee_increase(self, *, config, simulate_... method test_cpfp_p2pkh (line 1585) | async def test_cpfp_p2pkh(self, mock_save_db): method _bump_fee_p2wpkh_when_there_is_a_change_address (line 1617) | async def _bump_fee_p2wpkh_when_there_is_a_change_address(self, *, sim... method _bump_fee_when_not_all_inputs_are_ismine_subcase_some_outputs_are_ismine_but_not_all (line 1681) | async def _bump_fee_when_not_all_inputs_are_ismine_subcase_some_output... method _bump_fee_when_not_all_inputs_are_ismine_subcase_all_outputs_are_ismine (line 1737) | async def _bump_fee_when_not_all_inputs_are_ismine_subcase_all_outputs... method _bump_fee_p2wpkh_when_there_is_only_a_single_output_and_that_is_a_change_address (line 1797) | async def _bump_fee_p2wpkh_when_there_is_only_a_single_output_and_that... method _bump_fee_when_user_sends_max (line 1859) | async def _bump_fee_when_user_sends_max(self, *, simulate_moving_txs, ... method _bump_fee_when_new_inputs_need_to_be_added (line 1922) | async def _bump_fee_when_new_inputs_need_to_be_added(self, *, simulate... method _rbf_batching (line 1994) | async def _rbf_batching(self, *, simulate_moving_txs, config): method _rbf_sufficient_fee_increase_adding_outputs_to_base_tx (line 2104) | async def _rbf_sufficient_fee_increase_adding_outputs_to_base_tx(self,... method _create_cause_carbon_wallet (line 2162) | def _create_cause_carbon_wallet(self): method test_ln_reserve_send_everything (line 2171) | async def test_ln_reserve_send_everything(self): method test_ln_reserve_spend_max (line 2190) | async def test_ln_reserve_spend_max(self): method test_ln_reserve__usechange_off (line 2206) | async def test_ln_reserve__usechange_off(self): method test_ln_reserve_keep_existing_reserve (line 2227) | async def test_ln_reserve_keep_existing_reserve(self): method test_rbf_batching__cannot_batch_as_would_need_to_use_ismine_outputs_of_basetx (line 2265) | async def test_rbf_batching__cannot_batch_as_would_need_to_use_ismine_... method test_rbf_batching__merge_duplicate_outputs (line 2302) | async def test_rbf_batching__merge_duplicate_outputs(self): method test_join_psbts__merge_duplicate_outputs (line 2359) | async def test_join_psbts__merge_duplicate_outputs(self): method test_cpfp_p2wpkh (line 2379) | async def test_cpfp_p2wpkh(self, mock_save_db): method test_sweep_uncompressed_p2pk (line 2411) | async def test_sweep_uncompressed_p2pk(self): method test_sweep_compressed_p2pk (line 2436) | async def test_sweep_compressed_p2pk(self): method test_sweep_uncompressed_p2pkh (line 2461) | async def test_sweep_uncompressed_p2pkh(self): method test_sweep_compressed_p2pkh (line 2486) | async def test_sweep_compressed_p2pkh(self): method test_sweep_p2wpkh_p2sh (line 2511) | async def test_sweep_p2wpkh_p2sh(self): method test_sweep_p2wpkh (line 2536) | async def test_sweep_p2wpkh(self): method test_coinjoin_between_two_p2wpkh_electrum_seeds (line 2562) | async def test_coinjoin_between_two_p2wpkh_electrum_seeds(self, mock_s... method test_standard_wallet_cannot_sign_multisig_input_even_if_cosigner (line 2646) | async def test_standard_wallet_cannot_sign_multisig_input_even_if_cosi... method test_dscancel (line 2698) | async def test_dscancel(self, mock_save_db): method _dscancel_when_all_outputs_are_ismine (line 2725) | async def _dscancel_when_all_outputs_are_ismine(self, *, simulate_movi... method _dscancel_p2wpkh_when_there_is_a_change_address (line 2770) | async def _dscancel_p2wpkh_when_there_is_a_change_address(self, *, sim... method _dscancel_when_user_sends_max (line 2836) | async def _dscancel_when_user_sends_max(self, *, simulate_moving_txs, ... method _dscancel_when_not_all_inputs_are_ismine (line 2901) | async def _dscancel_when_not_all_inputs_are_ismine(self, *, simulate_m... method _dscancel_sufficient_fee_increase (line 2957) | async def _dscancel_sufficient_fee_increase(self, *, simulate_moving_t... method test_wallet_history_chain_of_unsigned_transactions (line 2988) | async def test_wallet_history_chain_of_unsigned_transactions(self, moc... method test_wallet_does_not_create_zero_input_tx (line 3030) | async def test_wallet_does_not_create_zero_input_tx(self, mock_save_db): method test_wallet_adb_gettxheight_treats_mempool_txid_as_local_if_missing_fulltx (line 3054) | async def test_wallet_adb_gettxheight_treats_mempool_txid_as_local_if_... method test_wallet_adb_gettxheight_treats_future_txid_as_future_even_if_missing_fulltx (line 3102) | async def test_wallet_adb_gettxheight_treats_future_txid_as_future_eve... method test_imported_wallet_usechange_off (line 3122) | async def test_imported_wallet_usechange_off(self, mock_save_db): method test_imported_wallet_usechange_on (line 3158) | async def test_imported_wallet_usechange_on(self, mock_save_db): method test_imported_wallet_usechange_on__no_more_unused_addresses (line 3193) | async def test_imported_wallet_usechange_on__no_more_unused_addresses(... method test_get_spendable_coins (line 3238) | async def test_get_spendable_coins(self, mock_save_db): method test_export_psbt_with_xpubs__multisig (line 3297) | async def test_export_psbt_with_xpubs__multisig(self, mock_save_db): method test_export_psbt_with_xpubs__singlesig (line 3377) | async def test_export_psbt_with_xpubs__singlesig(self, mock_save_db): method test_export_psbt__rm_witness_utxo_from_non_segwit_input (line 3412) | async def test_export_psbt__rm_witness_utxo_from_non_segwit_input(self... method test_we_dont_sign_tx_including_dummy_address (line 3521) | async def test_we_dont_sign_tx_including_dummy_address(self, mock_save... method test_sighash_warnings (line 3543) | async def test_sighash_warnings(self, mock_save_db): class TestWalletOfflineSigning (line 3587) | class TestWalletOfflineSigning(ElectrumTestCase): method setUp (line 3590) | def setUp(self): method test_sending_offline_old_electrum_seed_online_mpk (line 3595) | async def test_sending_offline_old_electrum_seed_online_mpk(self, mock... method test_sending_offline_xprv_online_xpub_p2pkh (line 3642) | async def test_sending_offline_xprv_online_xpub_p2pkh(self, mock_save_... method test_sending_offline_xprv_online_xpub_p2wpkh_p2sh (line 3697) | async def test_sending_offline_xprv_online_xpub_p2wpkh_p2sh(self, mock... method test_sending_offline_xprv_online_xpub_p2wpkh (line 3742) | async def test_sending_offline_xprv_online_xpub_p2wpkh(self, mock_save... method test_offline_signing_beyond_gap_limit (line 3800) | async def test_offline_signing_beyond_gap_limit(self, mock_save_db): method test_signing_where_offline_ks_does_not_have_keyorigin_but_psbt_contains_it (line 3845) | async def test_signing_where_offline_ks_does_not_have_keyorigin_but_ps... method test_sending_offline_wif_online_addr_p2pkh (line 3866) | async def test_sending_offline_wif_online_addr_p2pkh(self, mock_save_d... method test_sending_offline_wif_online_addr_p2wpkh_p2sh (line 3903) | async def test_sending_offline_wif_online_addr_p2wpkh_p2sh(self, mock_... method test_sending_offline_wif_online_addr_p2wpkh (line 3943) | async def test_sending_offline_wif_online_addr_p2wpkh(self, mock_save_... method test_signing_mixed_input_script_types (line 3980) | async def test_signing_mixed_input_script_types(self, mock_save_db): method test_sending_offline_xprv_online_addr_p2pkh (line 4026) | async def test_sending_offline_xprv_online_addr_p2pkh(self, mock_save_... method test_sending_offline_xprv_online_addr_p2wpkh_p2sh (line 4070) | async def test_sending_offline_xprv_online_addr_p2wpkh_p2sh(self, mock... method test_sending_offline_xprv_online_addr_p2wpkh (line 4111) | async def test_sending_offline_xprv_online_addr_p2wpkh(self, mock_save... method test_sending_offline_hd_multisig_online_addr_p2sh (line 4152) | async def test_sending_offline_hd_multisig_online_addr_p2sh(self, mock... method test_sending_offline_hd_multisig_online_addr_p2wsh_p2sh (line 4219) | async def test_sending_offline_hd_multisig_online_addr_p2wsh_p2sh(self... method test_sending_offline_hd_multisig_online_addr_p2wsh (line 4288) | async def test_sending_offline_hd_multisig_online_addr_p2wsh(self, moc... class TestWalletCreationChecks (line 4355) | class TestWalletCreationChecks(ElectrumTestCase): method setUp (line 4358) | def setUp(self): method test_duplicate_masterkeys_in_multisig (line 4363) | async def test_duplicate_masterkeys_in_multisig(self, mock_save_db): method test_heterogeneous_xpub_types_in_multisig (line 4400) | async def test_heterogeneous_xpub_types_in_multisig(self, mock_save_db): class TestWalletHistory_SimpleRandomOrder (line 4447) | class TestWalletHistory_SimpleRandomOrder(ElectrumTestCase): method setUp (line 4472) | def setUp(self): method create_old_wallet (line 4476) | def create_old_wallet(self): method test_restoring_old_wallet_txorder1 (line 4485) | async def test_restoring_old_wallet_txorder1(self, mock_save_db): method test_restoring_old_wallet_txorder2 (line 4493) | async def test_restoring_old_wallet_txorder2(self, mock_save_db): method test_restoring_old_wallet_txorder3 (line 4501) | async def test_restoring_old_wallet_txorder3(self, mock_save_db): class TestWalletHistory_EvilGapLimit (line 4509) | class TestWalletHistory_EvilGapLimit(ElectrumTestCase): method setUp (line 4520) | def setUp(self): method create_wallet (line 4527) | def create_wallet(self): method test_restoring_wallet_txorder1 (line 4534) | async def test_restoring_wallet_txorder1(self, mock_save_db): class TestWalletHistory_DoubleSpend (line 4567) | class TestWalletHistory_DoubleSpend(ElectrumTestCase): method setUp (line 4578) | def setUp(self): method test_restoring_wallet_without_manual_delete (line 4583) | async def test_restoring_wallet_without_manual_delete(self, mock_save_... method test_restoring_wallet_with_manual_delete (line 4598) | async def test_restoring_wallet_with_manual_delete(self, mock_save_db): class TestWalletHistory_HelperFns (line 4620) | class TestWalletHistory_HelperFns(ElectrumTestCase): method setUp (line 4623) | def setUp(self): method test_get_tx_status_feerate_for_local_2of3_multisig_partial_tx (line 4628) | async def test_get_tx_status_feerate_for_local_2of3_multisig_partial_t... method test_get_tx_status_feerate_for_local_2of3_multisig_signed_tx (line 4661) | async def test_get_tx_status_feerate_for_local_2of3_multisig_signed_tx... class TestImportedWallet (line 4684) | class TestImportedWallet(ElectrumTestCase): method setUp (line 4695) | def setUp(self): method test_importing_and_deleting_addresses (line 4700) | async def test_importing_and_deleting_addresses(self, mock_save_db): FILE: tests/test_wizard.py class NetworkMock (line 21) | class NetworkMock: method __init__ (line 22) | def __init__(self): method reset (line 25) | def reset(self): method run_from_another_thread (line 29) | def run_from_another_thread(self, *args, **kwargs): method set_parameters (line 32) | def set_parameters(self, parameters): method get_parameters (line 35) | def get_parameters(self): class DaemonMock (line 39) | class DaemonMock: method __init__ (line 40) | def __init__(self, config: SimpleConfig): class WizardTestCase (line 45) | class WizardTestCase(ElectrumTestCase): method setUp (line 47) | def setUp(self): method tearDown (line 59) | def tearDown(self): class ServerConnectWizardTestCase (line 65) | class ServerConnectWizardTestCase(WizardTestCase): method test_no_advanced (line 67) | async def test_no_advanced(self): method test_server (line 76) | async def test_server(self): method test_proxy (line 86) | async def test_proxy(self): method test_proxy_and_server (line 104) | async def test_proxy_and_server(self): class KeystoreWizardTestCase (line 129) | class KeystoreWizardTestCase(WizardTestCase): class TKeystoreWizard (line 131) | class TKeystoreWizard(KeystoreWizard): method is_single_password (line 132) | def is_single_password(self): class TNewWalletWizard (line 136) | class TNewWalletWizard(NewWalletWizard): method is_single_password (line 137) | def is_single_password(self): method _wizard_for (line 141) | def _wizard_for(self, *, wallet_type: str = 'standard', hww: bool = Fa... method _create_xpub_keystore_wallet (line 158) | def _create_xpub_keystore_wallet(self, *, wallet_type: str = 'standard... method _sanity_checks_after_disabling_keystore (line 173) | def _sanity_checks_after_disabling_keystore( method test_haveseed_electrum (line 188) | async def test_haveseed_electrum(self): method test_haveseed_ext_electrum (line 215) | async def test_haveseed_ext_electrum(self): method test_haveseed_electrum__mismatching_seed (line 246) | async def test_haveseed_electrum__mismatching_seed(self): method test_haveseed_electrum_oldseed (line 265) | async def test_haveseed_electrum_oldseed(self): method test_haveseed_bip39 (line 293) | async def test_haveseed_bip39(self): method test_haveseed_ext_bip39 (line 320) | async def test_haveseed_ext_bip39(self): method test_hww (line 351) | async def test_hww(self): method test_multisig (line 393) | async def test_multisig(self): class WalletWizardTestCase (line 434) | class WalletWizardTestCase(WizardTestCase): method _wizard_for (line 436) | def _wizard_for( method _set_password_and_check_address (line 457) | def _set_password_and_check_address( method test_set_password_and_encrypt_file (line 484) | async def test_set_password_and_encrypt_file(self): method test_set_password_but_dont_encrypt_file (line 506) | async def test_set_password_but_dont_encrypt_file(self): method test_create_standard_wallet_createseed (line 528) | async def test_create_standard_wallet_createseed(self): method test_create_standard_wallet_createseed_passphrase (line 547) | async def test_create_standard_wallet_createseed_passphrase(self): method test_create_standard_wallet_haveseed_electrum_oldseed (line 573) | async def test_create_standard_wallet_haveseed_electrum_oldseed(self): method test_create_standard_wallet_haveseed_electrum_oldseed_in_hex_format (line 592) | async def test_create_standard_wallet_haveseed_electrum_oldseed_in_hex... method test_create_standard_wallet_haveseed_electrum_oldseed_passphrase (line 611) | async def test_create_standard_wallet_haveseed_electrum_oldseed_passph... method test_create_standard_wallet_haveseed_electrum (line 635) | async def test_create_standard_wallet_haveseed_electrum(self): method test_create_standard_wallet_haveseed_electrum_passphrase (line 649) | async def test_create_standard_wallet_haveseed_electrum_passphrase(self): method test_create_standard_wallet_have_master_key (line 667) | async def test_create_standard_wallet_have_master_key(self): method test_create_standard_wallet_haveseed_bip39 (line 683) | async def test_create_standard_wallet_haveseed_bip39(self): method test_create_standard_wallet_haveseed_bip39_passphrase (line 702) | async def test_create_standard_wallet_haveseed_bip39_passphrase(self): method test_create_standard_wallet_haveseed_slip39 (line 725) | async def test_create_standard_wallet_haveseed_slip39(self): method test_create_standard_wallet_haveseed_slip39_passphrase (line 754) | async def test_create_standard_wallet_haveseed_slip39_passphrase(self): method test_2fa_createseed (line 787) | async def test_2fa_createseed(self): method test_2fa_haveseed_keep2FAenabled (line 821) | async def test_2fa_haveseed_keep2FAenabled(self): method test_2fa_haveseed_disable2FA (line 847) | async def test_2fa_haveseed_disable2FA(self): method test_2fa_haveseed_passphrase (line 869) | async def test_2fa_haveseed_passphrase(self): method test_create_standard_wallet_trezor (line 898) | async def test_create_standard_wallet_trezor(self): method test_unlock_hw_trezor (line 942) | async def test_unlock_hw_trezor(self): method test_create_multisig_wallet_2of2_createseed_cosigner2hasmasterkey (line 967) | async def test_create_multisig_wallet_2of2_createseed_cosigner2hasmast... method test_create_multisig_wallet_3of6_haveseed_passphrase__cs2hasbip39__cs3zpub__cs4trezor__cs5seedandpassphrase__cs6zprv (line 1002) | async def test_create_multisig_wallet_3of6_haveseed_passphrase__cs2has... method test_create_imported_wallet_from_addresses (line 1115) | async def test_create_imported_wallet_from_addresses(self): method test_create_imported_wallet_from_addresses__invalid_input (line 1139) | async def test_create_imported_wallet_from_addresses__invalid_input(se... method test_create_imported_wallet_from_wif_keys (line 1155) | async def test_create_imported_wallet_from_wif_keys(self): FILE: tests/test_x509.py class TestX509 (line 8) | class TestX509(ElectrumTestCase): method test_generalizedtime (line 9) | def test_generalizedtime(self):