pub fn transactions(&self, context: &Context) -> FieldResult<Vec<Transaction>> {
        Ok(self
            .get_explorer_block(&context.db)?
            .transactions
            .iter()
            .map(|(id, _tx)| Transaction {
                id: id.clone(),
                in_block: self.hash.clone(),
            })
            .collect())
    }
/// The transactions contained in the block
The transactions contained in the block
The transactions contained in the block
pub fn transactions(&self, context: &Context) -> FieldResult<Vec<Transaction>> {
        Ok(self
            .get_explorer_block(&context.db)?
            .transactions
            .iter()
            .map(|(id, _tx)| Transaction {
                id: id.clone(),
                in_block: self.hash.clone(),
            })
            .collect())
    }
pub fn transactions ( & self , context : & Context ) -> FieldResult < Vec < Transaction > > { Ok ( self . get_explorer_block ( & context . db ) ? . transactions . iter ( ) . map ( | ( id , _tx ) | Transaction { id : id . clone ( ) , in_block : self . hash . clone ( ) , } ) . collect ( ) ) }
The transactions contained in the block
The transactions contained in the block
&self
context
&Context
&self
context
&Context