Struct chain_impl_mockchain::testing::arbitrary::transaction::UtxoVerifier
source · pub struct UtxoVerifier(pub ArbitraryValidTransactionData);
Tuple Fields§
§0: ArbitraryValidTransactionData
Implementations§
source§impl UtxoVerifier
impl UtxoVerifier
pub fn new(transaction_data: ArbitraryValidTransactionData) -> Self
pub fn calculate_current_utxo(&self) -> Vec<AddressDataValue>
pub fn verify(&self, ledger: &TestLedger) -> Result<(), Error>
Auto Trait Implementations§
impl RefUnwindSafe for UtxoVerifier
impl Send for UtxoVerifier
impl Sync for UtxoVerifier
impl Unpin for UtxoVerifier
impl UnwindSafe for UtxoVerifier
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more