Skip to content

Commit

Permalink
Adds new backfill stream constants
Browse files Browse the repository at this point in the history
These constants should be changed to config variables eventually but for now defining them here for a prospective patch.
  • Loading branch information
linuskendall authored Jul 27, 2023
1 parent 64c0a3f commit b5c0f80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plerkle_messenger/src/plerkle_messenger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit b5c0f80

Please sign in to comment.