pub fn sign_p2pkh_input( tx: &Transaction, input_index: usize, prev_value: u64, priv_key: &XPrv, ) -> Vec<u8> ⓘ