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