URI: 
       tversion.py - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
       tversion.py (786B)
       ---
            1 ELECTRUM_VERSION = '4.0.9'     # version of the client package
            2 APK_VERSION = '4.0.9.0'        # read by buildozer.spec
            3 
            4 PROTOCOL_VERSION = '1.4'     # protocol version requested
            5 
            6 # The hash of the mnemonic seed must begin with this
            7 SEED_PREFIX        = '01'      # Standard wallet
            8 SEED_PREFIX_SW     = '100'     # Segwit wallet
            9 SEED_PREFIX_2FA    = '101'     # Two-factor authentication
           10 SEED_PREFIX_2FA_SW = '102'     # Two-factor auth, using segwit
           11 
           12 
           13 def seed_prefix(seed_type):
           14     if seed_type == 'standard':
           15         return SEED_PREFIX
           16     elif seed_type == 'segwit':
           17         return SEED_PREFIX_SW
           18     elif seed_type == '2fa':
           19         return SEED_PREFIX_2FA
           20     elif seed_type == '2fa_segwit':
           21         return SEED_PREFIX_2FA_SW
           22     raise Exception(f"unknown seed_type: {seed_type}")