Input
new
/// Build a new input from the data required to identify and verify an
/// output being spent.
// 创建
commitment
/// The input commitment which _partially_ identifies the output being
/// spent. In the presence of a fork we need additional info to uniquely
/// identify the output. Specifically the block hash (to correctly
/// calculate lock_height for coinbase outputs).
// 获取数据