MCPcopy Index your code
hub / github.com/Savjee/SavjeeCoin / blockchain.test.js

File blockchain.test.js

tests/blockchain.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const assert = require('assert');
2const { Blockchain, Transaction } = require('../src/blockchain');
3const { createSignedTx, signingKey, createBlockchainWithTx, createBCWithMined } = require('./helpers');
4

Callers

nothing calls this directly

Calls 11

createBCWithMinedFunction · 0.85
createSignedTxFunction · 0.85
createBlockchainWithTxFunction · 0.85
addTransactionMethod · 0.80
getBalanceOfAddressMethod · 0.80
signMethod · 0.80
createGenesisBlockMethod · 0.80
isChainValidMethod · 0.80
calculateHashMethod · 0.45

Tested by

no test coverage detected