| 6 | // 区块头 |
| 7 | #[derive(Serialize, Debug, PartialEq, Eq)] |
| 8 | pub struct BlockHeader { |
| 9 | pub nonce: u32, |
| 10 | pub bits: u32, |
| 11 | pub time: i64, |
| 12 | pub txs_hash: String, |
| 13 | pub pre_hash: String, |
| 14 | } |
| 15 | |
| 16 | // 区块 |
| 17 | #[derive(Debug)] |
nothing calls this directly
no outgoing calls
no test coverage detected