|
|
@ -116,6 +116,9 @@ class PARTInterfaceBlind(PARTInterface): |
|
|
|
def balance_type(): |
|
|
|
def balance_type(): |
|
|
|
return BalanceTypes.BLIND |
|
|
|
return BalanceTypes.BLIND |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def coin_name(self): |
|
|
|
|
|
|
|
return super().coin_name() + ' Blind' |
|
|
|
|
|
|
|
|
|
|
|
def encodeSegwitP2WSH(self, p2wsh): |
|
|
|
def encodeSegwitP2WSH(self, p2wsh): |
|
|
|
return segwit_addr.encode(self.chainparams_network()['hrp'], 0, p2wsh[2:]) |
|
|
|
return segwit_addr.encode(self.chainparams_network()['hrp'], 0, p2wsh[2:]) |
|
|
|
|
|
|
|
|
|
|
@ -608,6 +611,9 @@ class PARTInterfaceAnon(PARTInterface): |
|
|
|
def balance_type(): |
|
|
|
def balance_type(): |
|
|
|
return BalanceTypes.ANON |
|
|
|
return BalanceTypes.ANON |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def coin_name(self): |
|
|
|
|
|
|
|
return super().coin_name() + ' Anon' |
|
|
|
|
|
|
|
|
|
|
|
def publishBLockTx(self, Kbv, Kbs, output_amount, feerate): |
|
|
|
def publishBLockTx(self, Kbv, Kbs, output_amount, feerate): |
|
|
|
sx_addr = self.formatStealthAddress(Kbv, Kbs) |
|
|
|
sx_addr = self.formatStealthAddress(Kbv, Kbs) |
|
|
|
self._log.debug('sx_addr: {}'.format(sx_addr)) |
|
|
|
self._log.debug('sx_addr: {}'.format(sx_addr)) |
|
|
|