Function grin_core::libtx::build::transaction_with_kernel

source ·
pub fn transaction_with_kernel<K, B>(
    elems: &[Box<Append<K, B>>],
    kernel: TxKernel,
    excess: BlindingFactor,
    keychain: &K,
    builder: &B
) -> Result<Transaction, Error>
where K: Keychain, B: ProofBuild,
Expand description

Build a complete transaction with the provided kernel and corresponding private excess. NOTE: Only used in tests (for convenience). Cannot recommend passing private excess around like this in the real world.