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

Method run

simulator/src/main/java/simblock/task/MiningTask.java:44–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 }
43
44 @Override
45 public void run() {
46 ProofOfWorkBlock createdBlock = new ProofOfWorkBlock(
47 (ProofOfWorkBlock) this.getParent(), this.getMinter(), getCurrentTime(),
48 this.difficulty
49 );
50 this.getMinter().receiveBlock(createdBlock);
51 }
52}

Callers

nothing calls this directly

Calls 4

getCurrentTimeMethod · 0.80
receiveBlockMethod · 0.80
getParentMethod · 0.45
getMinterMethod · 0.45

Tested by

no test coverage detected