pub trait StaticMeta {
// Required methods
fn message_hash(&self) -> &Hash;
fn is_simple_vote_transaction(&self) -> bool;
fn signature_details(&self) -> &TransactionSignatureDetails;
fn compute_budget_limits(
&self,
feature_set: &FeatureSet,
) -> Result<ComputeBudgetLimits>;
}
Expand description
metadata can be extracted statically from sanitized transaction, for example: message hash, simple-vote-tx flag, limits set by instructions