Skip to main content

Module transparent

Module transparent 

Source
Expand description

Types related to computation of fees and change related to the transparent components of a transaction.

Enums§

InputSize
The size of a transparent input, or the outpoint corresponding to the input if the size of the script required to spend that input is unknown.

Traits§

InputView
This trait provides a minimized view of a transparent input suitable for use in fee and change computation.
OutputView
This trait provides a minimized view of a transparent output suitable for use in fee and change computation.

Functions§

p2sh_input_serialized_lentransparent-inputs
Returns an upper bound, in bytes, on the serialized size of a P2SH input that spends via redeem_script, assuming signatures of the maximum length.