Пример #1
0
 def __init__(self, d):
     Hardware_KeyStore.__init__(self, d)
     #print_error("[satochip] Satochip_KeyStore: __init__():")#debugSatochip
     #print_error("[satochip] Satochip_KeyStore: __init__(): xpub:"+str(d.get('xpub')) )#debugSatochip
     #print_error("[satochip] Satochip_KeyStore: __init__(): derivation"+str(d.get('derivation')))#debugSatochip
     self.force_watching_only = False
     self.ux_busy = False
Пример #2
0
 def __init__(self, d):
     Hardware_KeyStore.__init__(self, d)
     # Errors and other user interaction is done through the wallet's
     # handler.  The handler is per-window and preserved across
     # device reconnects
     self.force_watching_only = False
     self.signing = False
     self.cfg = d.get('cfg', {'mode': 0, 'pair': ''})
Пример #3
0
 def dump(self):
     obj = Hardware_KeyStore.dump(self)
     obj['cfg'] = self.cfg
     return obj
Пример #4
0
 def __init__(self, d):
     Hardware_KeyStore.__init__(self, d)
     self.force_watching_only = False
     self.maxInputs = 14 # maximum inputs per single sign command
Пример #5
0
 def dump(self):
     # our additions to the stored data about keystore -- only during creation?
     d = Hardware_KeyStore.dump(self)
     return d