Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Rust-for-Blockchain-Application-Development
/ get_db
Method
get_db
chapter 4/blockchain.rs:67–69 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
65
}
66
67
pub fn get_db(&self) -> &Db {
68
&self.db
69
}
70
71
pub fn get_tip_hash(&self) -> String {
72
self.tip_hash.read().unwrap().clone()
Callers
5
find_spendable_outputs
Method · 0.45
find_utxo
Method · 0.45
count_transactions
Method · 0.45
reindex
Method · 0.45
update
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected