| 14 | |
| 15 | #[derive(Serialize, Debug)] |
| 16 | pub struct Block { |
| 17 | pub header: BlockHeader, |
| 18 | pub tranxs: String, |
| 19 | pub hash: String, |
| 20 | } |
| 21 | |
| 22 | impl Block { |
| 23 | pub fn new(txs: String, pre_hash: String, bits: u32) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected