macro_rules! parse_pending_transactions { ($res:ident, $txns:expr) => { ... }; }
Expand description
This macro iterates over each transaction, decodes the transaction key using variable-length integer encoding, and constructs a Transaction object with the decoded data.
Parameters:
$res
: A mutable reference to a collection where the parsed transactions will be stored.$txns
: A collection of transaction data to be parsed.