solana_transaction_metrics_tracker

Function signature_if_should_track_packet

Source
pub fn signature_if_should_track_packet(
    packet: &Packet,
) -> Result<Option<&[u8; 64]>, PacketError>
Expand description

Check if a transaction packet’s signature matches the mask. This does a rudimentry verification to make sure the packet at least contains the signature data and it returns the reference to the signature.