Given that TumbleBit constructs transactions that are locktimed at some future heights, the transaction fees should be adjusted accordingly so that miners don't ignore the transactions due to the low fee.
Generally it is challenging to have an accurate estimate of a transaction fee at a future height, so the approach we are using to solve that problem is amplify the current fee estimation by a factor of 5.
While this approach almost certainly over estimates the fee, it at least gurtantees that the transaction will not be rejected by miners when the locktime height is reached.
The transactions whose fees were amplified are the following:
T_cashout that Bob uses to spend the money in T_escrow of the Tumbler (TransactionType.TumblerCashout):
Given that TumbleBit constructs transactions that are locktimed at some future heights, the transaction fees should be adjusted accordingly so that miners don't ignore the transactions due to the low fee.
Generally it is challenging to have an accurate estimate of a transaction fee at a future height, so the approach we are using to solve that problem is amplify the current fee estimation by a factor of
5
. While this approach almost certainly over estimates the fee, it at least gurtantees that the transaction will not be rejected by miners when the locktime height is reached.The transactions whose fees were amplified are the following:
T_cashout that Bob uses to spend the money in T_escrow of the Tumbler (TransactionType.TumblerCashout):
T_Redeem for T_escrow of the Tumbler (TransactionType.TumblerRedeem):
T_Redeem for T_escrow of Alice (TransactionType.ClientRedeem):
T_cash that the Tumbler uses to spend money in T_escrow of Alice (TransactionType.ClientEscape):
T_puzzle (T_offer) that gurantees the payment to Tumbler if it can provide T_solve with the puzzle solutions (TransactionType.ClientOffer):
T_solve (T_fulfill) provides the solutions to the puzzles in T_puzzle (TransactionType.ClientFulfill):
T_Redeem for T_puzzle (T_offer) so that Alice can get back the money (TransactionType.ClientOfferRedeem):