MCPcopy Index your code
hub / github.com/Savjee/SavjeeCoin / createBCWithMined

Function createBCWithMined

tests/helpers.js:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12}
13
14function createBCWithMined() {
15 const blockchain = new Blockchain();
16 blockchain.minePendingTransactions(signingKey.getPublic('hex'));
17
18 return blockchain;
19}
20
21function createBlockchainWithTx() {
22 const blockchain = new Blockchain();

Callers 1

blockchain.test.jsFile · 0.85

Calls 1

Tested by

no test coverage detected