Rusty Russell
1 min readMay 1, 2016

--

I’m assuming miners are taking every tx they can up to the limit, which used to be 1MB but in BIP141 is defined as a cost of 4,000,000. The cost for witness data is 1 per byte, non-witness is 4 per byte.

Thus, unless the estimatefee API changes, you should use the BIP141 cost divided by 4.

--

--

Rusty Russell
Rusty Russell

Written by Rusty Russell

Rusty is a Linux kernel dev who wandered into Blockstream, and is currently trying to produce a prototype and spec for bitcoin lightning. Hodls bitcoin (only).

No responses yet