MCPcopy Create free account
hub / github.com/dsg-titech/simblock / genesisBlock

Method genesisBlock

simulator/src/main/java/simblock/node/Node.java:275–278  ·  view source on GitHub ↗

Mint the genesis block.

()

Source from the content-addressed store, hash-verified

273 * Mint the genesis block.
274 */
275 public void genesisBlock() {
276 Block genesis = this.consensusAlgo.genesisBlock();
277 this.receiveBlock(genesis);
278 }
279
280 /**
281 * Adds a new block to the to chain. If node was minting that task instance is abandoned, and

Callers 1

Calls 1

receiveBlockMethod · 0.95

Tested by

no test coverage detected