| 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 | #[derive(Serialize, Debug)] |
| 17 | pub struct Block { |
nothing calls this directly
no outgoing calls
no test coverage detected