TxKernel
excess
/// Return the excess commitment for this tx_kernel.
verify
非常标准的一个“验证”流程,提供原始消息、公钥、签名,即可进行验证。
/// Verify the transaction proof validity. Entails handling the commitment
/// as a public key and checking the signature verifies with the fee as
/// message.
empty
/// Build an empty tx kernel with zero values.
with_fee
/// Builds a new tx kernel with the provided fee.
with_lock_height
/// Builds a new tx kernel with the provided lock_height.