pub fn random_tx<R: Rng>(rng: &mut R) -> Transaction
Generates a random legacy [Transaction].
Every field is random, except: