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