Trait sapio_base::util::CTVHash [−][src]
Any type which can generate a CTVHash. Allows some decoupling in the future if some types will not be literal transactions. TODO: Rename to something like Transaction Extension Features
Required methods
fn get_ctv_hash(&self, input_index: u32) -> Hash
[src]
Uses BIP-119 Logic to compute a CTV Hash
fn total_amount(&self) -> Amount
[src]
Gets the total amount a transaction creates in outputs.