Skip to content

Commit

Permalink
prefix PRUNE_DATA_PREFIX with 0xff
Browse files Browse the repository at this point in the history
  • Loading branch information
gregcusack committed Jun 4, 2024
1 parent ae889b9 commit acd8483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gossip/src/cluster_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub const MAX_INCREMENTAL_SNAPSHOT_HASHES: usize = 25;
/// serialized size of the PruneMessage stays below PACKET_DATA_SIZE.
const MAX_PRUNE_DATA_NODES: usize = 32;
/// Prune data prefix for PruneMessage
const PRUNE_DATA_PREFIX: &[u8] = "SOLANA_PRUNE_DATA".as_bytes();
const PRUNE_DATA_PREFIX: &[u8] = b"\xffSOLANA_PRUNE_DATA";
/// Number of bytes in the randomly generated token sent with ping messages.
const GOSSIP_PING_TOKEN_SIZE: usize = 32;
const GOSSIP_PING_CACHE_CAPACITY: usize = 65536;
Expand Down

0 comments on commit acd8483

Please sign in to comment.