Ejemplo n.º 1
0
    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)
Ejemplo n.º 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()
Ejemplo n.º 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
Ejemplo n.º 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()