예제 #1
0
파일: bitbox02.py 프로젝트: sysbot/electrum
    def show_address(
        self,
        wallet: Deterministic_Wallet,
        address: str,
        keystore: BitBox02_KeyStore = None,
    ):
        if keystore is None:
            keystore = wallet.get_keystore()
        if not self.show_address_helper(wallet, address, keystore):
            return

        txin_type = wallet.get_txin_type(address)
        sequence = wallet.get_address_index(address)
        keystore.show_address(sequence, txin_type, wallet)
예제 #2
0
 def __init__(self, storage):
     self.m, self.n = 2, 3
     Deterministic_Wallet.__init__(self, storage)
     self.is_billing = False
     self.billing_info = None
     self._load_billing_addresses()
예제 #3
0
 def __init__(self, storage):
     self.m, self.n = 2, 3
     Deterministic_Wallet.__init__(self, storage)
     self.is_billing = False
     self.billing_info = None
예제 #4
0
 def __init__(self, db, *, config):
     self.m, self.n = 2, 3
     Deterministic_Wallet.__init__(self, db, config=config)
     self.is_billing = False
     self.billing_info = None
     self._load_billing_addresses()