Enum saito_rust::consensus::SaitoMessage  [−][src]
pub enum SaitoMessage {
    MissingBlock {
        peer_id: SaitoHash,
        hash: SaitoHash,
    },
    BlockchainNewLongestChainBlock {
        hash: SaitoHash,
        difficulty: u64,
    },
    BlockchainAddBlockSuccess {
        hash: SaitoHash,
    },
    BlockchainAddBlockFailure {
        hash: SaitoHash,
    },
    MinerNewGoldenTicket {
        ticket: GoldenTicket,
    },
    BlockchainSavedBlock {
        hash: SaitoHash,
    },
    WalletNewTransaction {
        transaction: Transaction,
    },
}Expand description
Saito has the following system-wide messages which may be sent and received over the main broadcast channel. Convention has the message begin with the class that is broadcasting.
Variants
MissingBlock
BlockchainNewLongestChainBlock
BlockchainAddBlockSuccess
Fields
hash: SaitoHashBlockchainAddBlockFailure
Fields
hash: SaitoHashMinerNewGoldenTicket
Fields
ticket: GoldenTicketBlockchainSavedBlock
Fields
hash: SaitoHashWalletNewTransaction
Fields
transaction: TransactionTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SaitoMessage
impl Send for SaitoMessage
impl Sync for SaitoMessage
impl Unpin for SaitoMessage
impl UnwindSafe for SaitoMessage
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more