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