feat: automatically verify feerate

This commit is contained in:
tecnovert
2026-05-28 16:48:13 +02:00
parent 5099b9ebaa
commit 48ea745cc2
16 changed files with 230 additions and 38 deletions
+11 -2
View File
@@ -81,8 +81,17 @@ class PARTInterface(BTCInterface):
def txoType():
return CTxOutPart
def __init__(self, coin_settings, network, swap_client=None):
super().__init__(coin_settings, network, swap_client)
@staticmethod
def defaultMaxFeeRate() -> int:
return PARTInterface.COIN() // 2
def __init__(self, coin_settings, network, swap_client=None, **kwargs):
super().__init__(
coin_settings=coin_settings,
network=network,
swap_client=swap_client,
**kwargs,
)
self.setAnonTxRingSize(int(coin_settings.get("anon_tx_ring_size", 12)))
def use_tx_vsize(self) -> bool: