]> Untitled Git - bdk/commit
Add Vbytes trait
authorTobin Harding <me@tobin.cc>
Thu, 8 Jul 2021 01:33:39 +0000 (11:33 +1000)
committerTobin Harding <me@tobin.cc>
Thu, 8 Jul 2021 01:33:39 +0000 (11:33 +1000)
commitc1077b95cf432ce1583713fe54fb36915c99a35f
tree22d3cee8fda7de20f11a4a8a6391308175a417a2
parente5d4994329a2ae403a07e68f17e80a0bc3c14ecc
Add Vbytes trait

We convert weight units into vbytes in various places. Lets add a trait
to do it, this makes the code slightly cleaner.
src/wallet/coin_selection.rs
src/wallet/mod.rs