flo-electrum/electrum/version.py
Vivek Teega 300241428c Sync Upstream
Pulling upstream changes in Electrum BTC and integrating them for FLO
2018-12-21 00:52:07 +05:30

22 lines
727 B
Python

ELECTRUM_VERSION = '3.3.1' # version of the client package
APK_VERSION = '3.3.1.0' # read by buildozer.spec
PROTOCOL_VERSION = '1.4' # protocol version requested
# The hash of the mnemonic seed must begin with this
SEED_PREFIX = '01' # Standard wallet
SEED_PREFIX_SW = '100' # Segwit wallet
SEED_PREFIX_2FA = '101' # Two-factor authentication
SEED_PREFIX_2FA_SW = '102' # Two-factor auth, using segwit
def seed_prefix(seed_type):
if seed_type == 'standard':
return SEED_PREFIX
elif seed_type == 'segwit':
return SEED_PREFIX_SW
elif seed_type == '2fa':
return SEED_PREFIX_2FA
elif seed_type == '2fa_segwit':
return SEED_PREFIX_2FA_SW