[bisq-network/bisq] [WIP] Segwit fee estimation (#4710)
Oscar Guindzberg
notifications at github.com
Wed Oct 28 21:21:05 UTC 2020
@oscarguindzberg commented on this pull request.
> int estimatedTxSize = TYPICAL_TX_WITH_1_INPUT_SIZE;
try {
estimatedTxSize = getEstimatedTxSize(List.of(tradeFee, amount), estimatedTxSize, txFeePerByte, btcWalletService);
} catch (InsufficientMoneyException e) {
if (isTaker) {
- // if we cannot do the estimation we use the payout tx size
- estimatedTxSize = PAYOUT_TX_SIZE;
+ // if we cannot do the estimation we use the deposit tx size
Done
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4710#discussion_r513768222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201028/7df019be/attachment.html>
More information about the bisq-github
mailing list