1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
crate::ix!();

#[derive(Default)]
pub struct BlockTransactions {

    /**
      | A BlockTransactions message
      |
      */
    pub blockhash: u256,

    pub txn:       Vec<TransactionRef>,

}

lazy_static!{
    /*
    SERIALIZE_METHODS(BlockTransactions, obj)
        {
            READWRITE(obj.blockhash, Using<VectorFormatter<TransactionCompression>>(obj.txn));
        }
    */
}

impl BlockTransactions {

    pub fn new(req: &BlockTransactionsRequest) -> Self {
    
        todo!();
        /*
        : blockhash(req.blockhash),
        : txn(req.indexes.size()),

        
        */
    }
}