MCPcopy Create free account
hub / github.com/ddimaria/rust-blockchain-tutorial / new_blockchain

Function new_blockchain

chain/src/blockchain.rs:293–295  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

291 };
292
293 pub(crate) fn new_blockchain() -> BlockChain {
294 BlockChain::new((*STORAGE).clone()).unwrap()
295 }
296
297 pub(crate) async fn new_transaction(
298 to: Account,

Callers 1

creates_a_blockchainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected