Exemple #1
0
 def get_xpubkeys(self, for_change, n):
     # unsorted
     s = ''.join(map(lambda x: rubycoin.int_to_hex(x,2), (for_change,n)))
     xpubs = self.get_master_pubkeys()
     return map(lambda xpub: 'ff' + rubycoin.DecodeBase58Check(xpub).encode('hex') + s, xpubs)
Exemple #2
0
 def get_xpubkeys(self, for_change, n):
     s = ''.join(map(lambda x: rubycoin.int_to_hex(x,2), (for_change, n)))
     mpk = self.mpk.encode('hex')
     x_pubkey = 'fe' + mpk + s
     return [ x_pubkey ]