Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Savjee/SavjeeCoin
/ block.test.js
File
block.test.js
tests/block.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
assert = require(
'assert'
);
2
const
{ Block } = require(
'../src/blockchain'
);
3
const
{ createSignedTx } = require(
'./helpers'
);
4
Callers
nothing calls this directly
Calls
4
createSignedTx
Function · 0.85
mineBlock
Method · 0.80
hasValidTransactions
Method · 0.80
calculateHash
Method · 0.45
Tested by
no test coverage detected