pub fn create_exit_tx( prevout: OutPoint, output: TxOut, signature: Option<&Signature>, ) -> Transaction
Create an exit tx.
When the signature argument is provided, it will be placed in the input witness.
signature