pub fn verify(&self) -> bool {
        match *self {
            Event::Transaction(ref tr) => tr.verify_sig(),
            Event::Signature { from, tx_sig, sig } => sig.verify(&from, &tx_sig),
            Event::Timestamp { from, dt, sig } => sig.verify(&from, &serialize(&dt).unwrap()),
        }
    }
/// Verify the Event's signature's are valid and if a transaction, that its
/// spending plan is valid.
Verify the Event's signature's are valid and if a transaction, that its
spending plan is valid.
Verify the Event ' s signature ' s are valid and if a transaction that its spending plan is valid .
pub fn verify(&self) -> bool {
        match *self {
            Event::Transaction(ref tr) => tr.verify_sig(),
            Event::Signature { from, tx_sig, sig } => sig.verify(&from, &tx_sig),
            Event::Timestamp { from, dt, sig } => sig.verify(&from, &serialize(&dt).unwrap()),
        }
    }
pub fn verify ( & self ) -> bool { match * self { Event :: Transaction ( ref tr ) => tr . verify_sig ( ) , Event :: Signature { from , tx_sig , sig } => sig . verify ( & from , & tx_sig ) , Event :: Timestamp { from , dt , sig } => sig . verify ( & from , & serialize ( & dt ) . unwrap ( ) ) , } }
Verify the Event's signature's are valid and if a transaction, that its
spending plan is valid.
Verify the Event ' s signature ' s are valid and if a transaction that its spending plan is valid .
&self
&self