solana_transaction_metrics_tracker

Function get_signature_from_packet

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

Get the signature of the transaction packet This does a rudimentry verification to make sure the packet at least contains the signature data and it returns the reference to the signature.