MCPcopy
hub / github.com/lhartikk/naivechain / getGenesisBlock

Function getGenesisBlock

main.js:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26};
27
28var getGenesisBlock = () => {
29 return new Block(0, "0", 1465154705, "my genesis block!!", "816534932c2b7154836da6afc367695e6337db8a921823784c14378abed4f7d7");
30};
31
32var blockchain = [getGenesisBlock()];
33

Callers 2

main.jsFile · 0.85
isValidChainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected