From b5c0f8040c3904db09b904fb08b29a4efdff243a Mon Sep 17 00:00:00 2001 From: Linus Kendall Date: Thu, 27 Jul 2023 14:30:37 +0530 Subject: [PATCH] Adds new backfill stream constants These constants should be changed to config variables eventually but for now defining them here for a prospective patch. --- plerkle_messenger/src/plerkle_messenger.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plerkle_messenger/src/plerkle_messenger.rs b/plerkle_messenger/src/plerkle_messenger.rs index d455ae31..08a67c90 100644 --- a/plerkle_messenger/src/plerkle_messenger.rs +++ b/plerkle_messenger/src/plerkle_messenger.rs @@ -12,8 +12,10 @@ use crate::redis_messenger::RedisMessenger; /// Some constants that can be used as stream key values. pub const ACCOUNT_STREAM: &str = "ACC"; +pub const ACCOUNT_BACKFILL_STREAM: &str = "ACCFILL"; pub const SLOT_STREAM: &str = "SLT"; pub const TRANSACTION_STREAM: &str = "TXN"; +pub const TRANSACTION_BACKFILL_STREAM: &str = "TXNFILL"; pub const BLOCK_STREAM: &str = "BLK"; #[derive(Clone, Debug, PartialEq, Eq)]