&self.mempool } pub(crate) fn get_confirmations(&self, tx: &Transaction) -> i32 { for (confirmations, hash) in self.hashes.iter().rev().enumerate() { if self.blocks.get(hash).unwrap().txdata.contains(tx) { return (confirmations + 1).try_into().unwrap(); } } 0 } }
Inscription number 44,975,069
Genesis block 819,043
File type text
File size 308 b
Creation date Nov 30,2023 11:6 am