librustzcash
librustzcash copied to clipboard
Bound transaction creation to a maximum size.
It's a rare corner case, but the zcash_primitives
transaction builder currently does not bound the transaction size at the time of transaction creation. It is possible for large spend requests that consume a large number of notes to exceed the block size limit, so we should bound the transaction size by making an estimate at the time of input selection.