[bisq-network/bisq] [WIP] Segwit fee estimation (#4710)
Oscar Guindzberg
notifications at github.com
Wed Oct 28 21:20:54 UTC 2020
@oscarguindzberg commented on this pull request.
> +// Size/vsize of typical trade txs
+// Real txs size/vsize may vary in 1 or 2 bytes from the estimated values.
+// Values calculated with https://gist.github.com/oscarguindzberg/3d1349cb65d9fd9af9de0feaa3fd27ac
+// legacy fee tx with 1 input, maker/taker fee paid in btc size/vsize = 258
+// legacy deposit tx without change size/vsize = 381
+// legacy deposit tx with change size/vsize = 414
+// legacy payout tx size/vsize = 337
+// legacy delayed payout tx size/vsize = 302
+// segwit fee tx with 1 input, maker/taker fee paid in btc vsize = 173
+// segwit deposit tx without change vsize = 232
+// segwit deposit tx with change vsize = 263
+// segwit payout tx vsize = 169
+// segwit delayed payout tx vsize = 139
+ public static int TYPICAL_TX_WITH_1_INPUT_SIZE = 175;
+ private static int DEPOSIT_TX_SIZE = 233;
+ private static int PAYOUT_TX_SIZE = 169;
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_r513768147
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201028/a087dc71/attachment.html>
More information about the bisq-github
mailing list