libtxsize: a library for automated Bitcoin transaction-size estimates