| 3 | // -------------------------------------------------------------------------------------------------- |
| 4 | |
| 5 | pub struct Block { |
| 6 | timestamp: i64, |
| 7 | pre_block_hash: String, |
| 8 | hash: String, |
| 9 | transactions: Vec<Transaction>, |
| 10 | nonce: i64, |
| 11 | height: usize, |
| 12 | } |
| 13 | |
| 14 | pub struct Transaction { |
| 15 | id: Vec<u8>, |
nothing calls this directly
no outgoing calls
no test coverage detected