Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ block_info
Method
block_info
code/chapter09/blockchain/blockchain2/core/src/blockchain.rs:32–36 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
30
}
31
32
pub fn block_info(&self) {
33
for b in self.blocks.iter() {
34
println!(
"{:#?}"
, b);
35
}
36
}
37
}
Callers
1
main
Function · 0.45
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected