pub fn new(
        inputs: Vec<TransactionInput>,
        outputs: Vec<TransactionOutput>,
        kernels: Vec<TransactionKernel>,
        offset: BlindingFactor,
        script_offset: BlindingFactor,
    ) -> Transaction {
        let mut body = AggregateBody::new(inputs, outputs, kernels);
        body.sort();
        Transaction {
            offset,
            body,
            script_offset,
        }
    }
/// Create a new transaction from the provided inputs, outputs, kernels and offset
Create a new transaction from the provided inputs, outputs, kernels and offset
Create a new transaction from the provided inputs outputs kernels and offset
pub fn new(
        inputs: Vec<TransactionInput>,
        outputs: Vec<TransactionOutput>,
        kernels: Vec<TransactionKernel>,
        offset: BlindingFactor,
        script_offset: BlindingFactor,
    ) -> Transaction {
        let mut body = AggregateBody::new(inputs, outputs, kernels);
        body.sort();
        Transaction {
            offset,
            body,
            script_offset,
        }
    }
pub fn new ( inputs : Vec < TransactionInput > , outputs : Vec < TransactionOutput > , kernels : Vec < TransactionKernel > , offset : BlindingFactor , script_offset : BlindingFactor , ) -> Transaction { let mut body = AggregateBody :: new ( inputs , outputs , kernels ) ; body . sort ( ) ; Transaction { offset , body , script_offset , } }
Create a new transaction from the provided inputs, outputs, kernels and offset
Create a new transaction from the provided inputs outputs kernels and offset
inputs
Vec<TransactionInput>
outputs
Vec<TransactionOutput>
kernels
Vec<TransactionKernel>
offset
BlindingFactor
script_offset
BlindingFactor
inputs
Vec<TransactionInput>
outputs
Vec<TransactionOutput>
kernels
Vec<TransactionKernel>
offset
BlindingFactor
script_offset
BlindingFactor