lbcwallet/wallet/internal/txsizes
Johan T. Halseth f782f9dc68 wallet/size: add EstimateVirtualSize
This commit adds a new method EstimateVirtualSize that calculates
the worst case estimate vsize for a transaction with a given set
of inputs and outputs. This method is aware of P2PKH, P2WPKH and
P2SH-P2WPKH inputs, and caulculates the transaction vsize with
the witness data included.
2018-05-23 19:38:56 -07:00
..
size.go wallet/size: add EstimateVirtualSize 2018-05-23 19:38:56 -07:00
size_test.go multi: switch all imports to roasbeef's forks 2018-05-23 19:38:56 -07:00