Enum silk::event::Event [] [src]

pub enum Event {
    Tick,
    Transaction(Transaction<i64>),
    Signature {
        from: PublicKey,
        tx_sig: Signature,
        sig: Signature,
    },
    Timestamp {
        from: PublicKey,
        dt: DateTime<Utc>,
        sig: Signature,
    },
}

When 'event' is Tick, the event represents a simple clock tick, and exists for the sole purpose of improving the performance of event log verification. A tick can be generated in 'num_hashes' hashes and verified in 'num_hashes' hashes. By logging a hash alongside the tick, each tick and be verified in parallel using the 'id' of the preceding tick to seed its hashing.

Variants

Fields of Signature

Fields of Timestamp

Methods

impl Event
[src]

[src]

[src]

[src]

Trait Implementations

impl Debug for Event
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Event
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Event
[src]

impl Clone for Event
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Event

impl Sync for Event