fn handle_transfer_order()

in fastpay_core/src/authority.rs [49:80]


    fn handle_transfer_order(
        &mut self,
        order: TransferOrder,
    ) -> Result<AccountInfoResponse, FastPayError>;

    /// Confirm a transfer to a FastPay or Primary account.
    fn handle_confirmation_order(
        &mut self,
        order: ConfirmationOrder,
    ) -> Result<(AccountInfoResponse, Option<CrossShardUpdate>), FastPayError>;

    /// Force synchronization to finalize transfers from Primary to FastPay.
    fn handle_primary_synchronization_order(
        &mut self,
        order: PrimarySynchronizationOrder,
    ) -> Result<AccountInfoResponse, FastPayError>;

    /// Handle information requests for this account.
    fn handle_account_info_request(
        &self,
        request: AccountInfoRequest,
    ) -> Result<AccountInfoResponse, FastPayError>;

    /// Handle cross updates from another shard of the same authority.
    /// This relies on deliver-once semantics of a trusted channel between shards.
    fn handle_cross_shard_recipient_commit(
        &mut self,
        certificate: CertifiedTransferOrder,
    ) -> Result<(), FastPayError>;
}

impl Authority for AuthorityState {