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

Method minting

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

Generates a new minting task and registers it

()

Source from the content-addressed store, hash-verified

338 * Generates a new minting task and registers it
339 */
340 public void minting() {
341 AbstractMintingTask task = this.consensusAlgo.minting();
342 this.mintingTask = task;
343 if (task != null) {
344 putTask(task);
345 }
346 }
347
348 /**
349 * Send inv.

Callers 1

receiveBlockMethod · 0.95

Calls 1

putTaskMethod · 0.80

Tested by

no test coverage detected