[bisq-network/bisq] reduce BSQ fee estimation constant for segwit (#5450)

sqrrm notifications at github.com
Fri Apr 30 10:32:19 CEST 2021


@sqrrm commented on this pull request.



> @@ -58,7 +58,7 @@
     public static int TYPICAL_TX_WITH_1_INPUT_VSIZE = 175;
     private static int DEPOSIT_TX_VSIZE = 233;
 
-    private static int BSQ_INPUT_INCREASE = 150;
+    private static int BSQ_INPUT_INCREASE = 65;

I think this might be too low. I just had a look at this and the table I came up with was, to be on the safe side

Tx size:
Element|size (vbyte)
--|--
Overhead|10
Inputs|41 * N
Outputs|31 * N_sw + 34 * N_p2pkh
Sig p2pkh|108
Sig SW|29

So I think the BSQ sw input should be counted as 41 + 29 = 70 vbytes extra, although it's sometimes a bit smaller.

-- 
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/5450#pullrequestreview-648998294
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210430/dc024fa5/attachment.htm>


More information about the bisq-github mailing list