| 9 | |
| 10 | #[derive(Clone, Serialize, Deserialize)] |
| 11 | pub struct Block { |
| 12 | timestamp: i64, |
| 13 | pre_block_hash: String, |
| 14 | hash: String, |
| 15 | transactions: Vec<Transaction>, |
| 16 | nonce: i64, |
| 17 | height: usize, |
| 18 | } |
| 19 | |
| 20 | impl Block { |
| 21 |
nothing calls this directly
no outgoing calls
no test coverage detected