Crate solana_transaction_metrics_tracker

Source

Functions§

get_signature_from_packet
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.
should_track_transaction
Check if a transaction given its signature matches the randomly selected mask. The signaure should be from the reference of Signature
signature_if_should_track_packet
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.