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

Method createGenesisBlock

src/blockchain.js:152–154  ·  view source on GitHub ↗

* @returns {Block}

()

Source from the content-addressed store, hash-verified

150 * @returns {Block}
151 */
152 createGenesisBlock() {
153 return new Block(Date.parse('2017-01-01'), [], '0');
154 }
155
156 /**
157 * Returns the latest block on our chain. Useful when you want to create a

Callers 3

constructorMethod · 0.95
isChainValidMethod · 0.95
blockchain.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected