TransactionBody
empty
/// Creates a new empty transaction (no inputs or outputs, zero fee).
new
/// Creates a new transaction initialized with
/// the provided inputs, outputs, kernels
with_input
/// Builds a new body with the provided inputs added. Existing
/// inputs, if any, are kept intact.
with_output
/// Builds a new TransactionBody with the provided output added. Existing
/// outputs, if any, are kept intact.
fee
/// Total fee for a TransactionBody is the sum of fees of all kernels.
body_weight
/// Calculate transaction weight
weight
/// Calculate transaction weight from transaction details
lock_height
/// Lock height of a body is the max lock height of the kernels.
verify_features
/// Verify we have no invalid outputs or kernels in the transaction
/// due to invalid features.
/// Specifically, a transaction cannot contain a coinbase output or a coinbase kernel.
validate
/// Validates all relevant parts of a transaction body. Checks the
/// excess value against the signature as well as range proofs for each
/// output.
verify_weight
verify_sorted
verify_cut_through
verify_rangeproofs
verify_kernel_signatures